|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.3) E41654-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--oracle.adf.view.js.base.AdfObject | +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfMenuUtils
public class AdfMenuUtils extends AdfObject
Field Summary |
|
---|---|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
private static Object |
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Constructor Summary |
|
---|---|
public |
|
Method Summary |
|
---|---|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
protected static Object |
|
public static Object |
|
public static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
public static Object |
|
protected static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
private static Object |
|
private static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, Init, toDebugString, toString |
Field Detail |
---|
public static Object AFR_TARGETCOMPONENTID
public static Object AFR_TARGETROWCURRENCY
public static Object DEPRESSED_STYLE_CLASS
public static Object DETACHED_STYLE_CLASS
public static Object FOCUSED_STYLE_CLASS
public static Object HIGHLIGHTED_STYLE_CLASS
public static Object MENU_DEPTH_KEY
public static Object OVERFLOW_CELL_STYLE_CLASS
public static Object OVERFLOW_KEY
private static Object _sOpenedMenus
Constructor Detail |
---|
public AdfMenuUtils()
Method Detail |
---|
public static Object addOpenMenu(Object menuId)
menuId |
- | the client id for the menu popup |
Object
public static Object areMenusOpened()
Object
public static Object closeAllMenus(Object restoreFocus)
restoreFocus |
- | If true, the last opened root menu regains focus and highlighting after close |
Object
public static Object dismiss(Object element,
Object immediate,
Object keepOpen)
element
. In this way, you can close menus higher in the stack than a particular open menu.element |
- | The element to be found |
immediate |
- | When true, there's no delay before showing the menu. When false there is a 300ms delay before the menu is closed. Menus are delay closed when you mouseOver a different menu item, allowing you time to 'get back' to the menu before it closes. |
keepOpen |
- | When true, the menus removed from the stack but not closed. This is for when a menu becomes detached - we don't want it to close but it needs to be removed from the open menu stack. |
Object
public static Object getContextMenuItemTargetAttrs(Object menuItem)
menuItem |
- | the menuItem component |
Object
protected static Object GetLastOpenedRootMenuId()
Object
- the client id for the menu.public static Object getMenuItemSubIdDomElement(Object component,
Object domElement,
Object subElementId)
component |
||
domElement |
||
subElementId |
Object
- the DOM element for the subElementId (or null if invalid)public static Object handleArrowKeys(Object componentEvent,
Object rootElement,
Object component)
componentEvent |
- | the key press component event |
rootElement |
- | the peer's root dom element |
component |
- | the peer's component |
Object
private static Object _handleInMenuArrowKeys(Object componentEvent,
Object rootElement,
Object component)
componentEvent |
- | the key press component event |
rootElement |
- | the peer's root dom element |
component |
- | the peer's component |
Object
private static Object _handleInMenuBarArrowKeys(Object componentEvent,
Object rootElement,
Object component)
componentEvent |
- | the key press component event |
rootElement |
- | the peer's root dom element |
component |
- | the peer's component |
Object
private static Object _handleInMenuBarOverflowArrowKeys(Object componentEvent,
Object rootElement,
Object component)
componentEvent |
- | the key press component event |
rootElement |
- | the peer's root dom element |
component |
- | the peer's component |
Object
private static Object _handleMenuItemLeftArrowKey(Object parentMenuComponent)
parentMenuComponent |
- | the component's parent component |
Object
private static Object _handleMenuItemRightArrowKey(Object parentMenuComponent)
parentMenuComponent |
- | the component's parent component |
Object
public static Object highlightRootMenuItem(Object domElement)
domElement |
- | menu item dom element to be highlighted |
Object
protected static Object InitClass()
Object
public static Object isInMenu(Object component)
component |
- | the peer's component |
Object
public static Object isInOverflow(Object rootElement)
rootElement |
- | the peer's root dom element |
Object
public static Object isMenuBarAutoOpenMode()
Object
- boolean menubar auto open mode (may be null)public static Object isMenuOpen(Object menuId)
menuId |
- | the client id for the menu popup |
Object
public static Object isOnMenuBar(Object component)
component |
- | the peer's component |
Object
private static Object _moveHighlightToNextMenuItem(Object rootElement,
Object component)
rootElement |
- | the peer's root dom element |
component |
- | the peer's component |
Object
private static Object _moveHighlightToPreviousMenuItem(Object rootElement,
Object component)
rootElement |
- | the peer's root dom element |
component |
- | the peer's component |
Object
public static Object removeOpenMenu(Object menuId)
menuId |
- | the client id for the menu popup |
Object
public static Object restoreFocusToLastOpenedRootMenu()
Object
public static Object setContextMenuItemTargetAttrs(Object menuItem,
Object targetAttrs)
menuItem |
- | the menuItem component |
targetAttrs |
- | menu item's target attributes (see method above) |
Object
public static Object setLastOpenedRootMenuId(Object menuId)
menuId |
- | the client id for the menu. |
Object
public static Object setMenuBarAutoOpenMode(Object menuBarAutoOpenMode)
menuBarAutoOpenMode |
- | new boolean value |
Object
public static Object unhighlightRootMenuItem()
Object
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.3) E41654-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |