JavaScript API Reference for Oracle ADF Faces
  | 
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-03  | 
||||||||
| 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_TARGETCOMPONENTIDpublic static Object AFR_TARGETROWCURRENCYpublic static Object DEPRESSED_STYLE_CLASSpublic static Object DETACHED_STYLE_CLASSpublic static Object HIGHLIGHTED_STYLE_CLASSpublic static Object MENU_DEPTH_KEYpublic static Object OVERFLOW_KEYpublic static Object SELECTED_STYLE_CLASSprivate 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 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 | 
Objectpublic static Object getContextMenuItemTargetAttrs(Object menuItem)menuItem | 
- | the menuItem component | 
Objectpublic 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 | 
Objectprivate 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 | 
Objectprivate 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 | 
Objectprivate 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 | 
Objectprivate static Object _handleMenuItemLeftArrowKey(Object parentMenuComponent)parentMenuComponent | 
- | the component's parent component | 
Objectprivate static Object _handleMenuItemRightArrowKey(Object parentMenuComponent)parentMenuComponent | 
- | the component's parent component | 
Objectpublic static Object highlightRootMenuItem(Object domElement)domElement | 
- | menu item dom element to be highlighted | 
Objectprotected static Object InitClass()Objectpublic 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 | 
Objectpublic static Object isInOverflow(Object rootElement)rootElement | 
- | the peer's root dom element | 
Objectpublic static Object isMenuOpen(Object menuId)menuId | 
- | the client id for the menu popup | 
Objectpublic static Object isOnMenuBar(Object component)component | 
- | the peer's component | 
Objectprivate static Object _moveHighlightToNextMenuItem(Object rootElement,
                                                   Object component)rootElement | 
- | the peer's root dom element | 
component | 
- | the peer's component | 
Objectprivate static Object _moveHighlightToPreviousMenuItem(Object rootElement,
                                                       Object component)rootElement | 
- | the peer's root dom element | 
component | 
- | the peer's component | 
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 unhighlightRootMenuItem()Object
  | 
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-03  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||