JavaScript is disabled on your browser.
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.1.3) E41664-01
java.lang.Object
oracle.javatools.ui.breadcrumbs.PopupHandler
public class PopupHandler
extends java.lang.Object
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
Fields
Modifier and Type
Field and Description
protected static java.lang.String
KEY_POPUP_ITEM
Method Summary
Methods
Modifier and Type
Method and Description
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
Constructor Detail
PopupHandler
public PopupHandler()
Method Detail
attach
public void attach(JBreadcrumbs breadcrumbs,
PopupProvider provider)
Attach the provider to the JBreadcrumbs and enable popups
on aeprsators whose Breadcrumb.hasChildren() returns true
Parameters: breadcrumbs
- the breadcrumbs to attach toprovider
- the separator popup menu provider
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.1.3) E41664-01
Copyright © 1997, 2014, Oracle. All rights reserved.