JavaScript API Reference for Oracle ADF Faces
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1) E52772-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 |
|
protected 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 |
|
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_TARGETCOMPONENTIDpublic static Object AFR_TARGETROWCURRENCYpublic static Object DEPRESSED_STYLE_CLASSpublic static Object DETACHED_STYLE_CLASSpublic static Object FOCUSED_STYLE_CLASSpublic static Object HIGHLIGHTED_STYLE_CLASSpublic static Object MENU_DEPTH_KEYpublic static Object OVERFLOW_CELL_STYLE_CLASSpublic static Object OVERFLOW_KEYprivate static Object _sOpenedMenus
Constructor Detail |
|---|
public AdfMenuUtils()
Method Detail |
|---|
public static Object addOpenMenu(Object menuId)menuId |
- | the client id for the menu popup |
Objectpublic static Object areMenusOpened()Objectpublic static Object closeAllMenus(Object restoreFocus)restoreFocus |
- | If true, the last opened root menu regains focus and highlighting after close |
Objectpublic 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. |
Objectpublic static Object getContextMenuItemTargetAttrs(Object menuItem)menuItem |
- | the menuItem component |
Objectprotected static Object GetLastOpenedRootMenuId()Object - the client id for the menu.public static Object highlightRootMenuItem(Object domElement)domElement |
- | menu item dom element to be highlighted |
Objectprotected static Object InitClass()Objectpublic static Object isInMenu(Object component)component |
- | the peer's component |
Objectpublic static Object isInOverflow(Object rootElement)rootElement |
- | the peer's root dom element |
Objectpublic 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 |
Objectpublic static Object isOnMenuBar(Object component)component |
- | the peer's component |
Objectpublic static Object menuItemDisabledChanged(AdfUIComponent component,
Object domElement,
String newValue,
HTMLElement menuContainerElement)component |
- | the component |
domElement |
||
newValue |
- | new disabled value |
menuContainerElement |
- | for submenu's this is the submenu's menu container. Can be null. |
Objectpublic static Object menuItemVisibleChanged(AdfUIComponent component,
Object domElement,
String newValue,
HTMLElement menuContainerElement)component |
- | the component |
domElement |
||
newValue |
- | new disabled value |
menuContainerElement |
- | for submenu's this is the submenu's menu container. Can be null. |
Objectpublic static Object removeOpenMenu(Object menuId)menuId |
- | the client id for the menu popup |
Objectpublic static Object restoreFocusToLastOpenedRootMenu()Objectpublic static Object setContextMenuItemTargetAttrs(Object menuItem,
Object targetAttrs)menuItem |
- | the menuItem component |
targetAttrs |
- | menu item's target attributes (see method above) |
Objectpublic static Object setLastOpenedRootMenuId(Object menuId)menuId |
- | the client id for the menu. |
Objectpublic static Object setMenuBarAutoOpenMode(Object menuBarAutoOpenMode)menuBarAutoOpenMode |
- | new boolean value |
Objectpublic static Object unhighlightRootMenuItem()Object
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1) E52772-01 |
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||