|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-06 |
||||||||
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 |
|
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 |
|
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 |
|
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, 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 HIGHLIGHTED_STYLE_CLASS
public static Object MENU_DEPTH_KEY
public static Object OVERFLOW_KEY
public static Object SELECTED_STYLE_CLASS
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
is found. This method is also called by AdfDhtmlCommandMenuItemPeer.element |
- | The element to be found |
immediate |
- | When true, there's no delay before showing the menu. |
keepOpen |
- | When true, the menus are not closed |
Object
public static Object getContextMenuItemTargetAttrs(Object menuItem)
menuItem |
- | the menuItem component |
Object
public static Object getLastOpenedRootMenuId()
Object
- the client id for the menu.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 isImmediate(Object depth)
depth |
- | The depth of the current higlighted item. |
Object
- true if the menu is to be shown immediatelypublic 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 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 unhighlightRootMenuItem()
Object
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-06 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |