| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.ui.breadcrumbs.PopupHandler
public class PopupHandler
Enables the breadcrumb separators in a JBreadcrumbs component to optionally popup a menu of items when clicked. A menu item can be clicked and an action performed. The items in the menu are of type PopupHandler.PopupItem The menu items and their actions are determined by a passed in PopupProvider
| Field Summary | |
|---|---|
protected static java.lang.String | 
KEY_POPUP_ITEM
 | 
| Constructor Summary | |
|---|---|
PopupHandler()
 | 
|
| Method Summary | |
|---|---|
 void | 
attach(JBreadcrumbs breadcrumbs,
       PopupProvider provider)
Attach the provider to the JBreadcrumbs and enable popups on aeprsators whose Breadcrumb.hasChildren() returns true  | 
 void | 
detatch()
Remove this handler from the JBreadcrumbs to which it was previously attached and perform any other additional cleanup  | 
protected  java.util.List<PopupItem> | 
getPopupItems(Breadcrumb breadcrumb)
 | 
protected  void | 
separatorClicked(Breadcrumb crumb,
                 java.awt.Rectangle separatorBounds)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static final java.lang.String KEY_POPUP_ITEM
| Constructor Detail | 
|---|
public PopupHandler()
| Method Detail | 
|---|
public void attach(JBreadcrumbs breadcrumbs,
                   PopupProvider provider)
breadcrumbs - the breadcrumbs to attach toprovider - the separator popup menu providerpublic void detatch()
protected void separatorClicked(Breadcrumb crumb,
                                java.awt.Rectangle separatorBounds)
protected java.util.List<PopupItem> getPopupItems(Breadcrumb breadcrumb)
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||