OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adfinternal.view.js.laf.dhtml.rich.subids
Class AdfMenuSubIdUtils

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adfinternal.view.js.laf.dhtml.rich.subids.AdfMenuSubIdUtils

public class AdfMenuSubIdUtils
extends Object
SubId Utility class used by various menu peers - menu, commandMenuItem, and goMenuItem



Field Summary


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfMenuSubIdUtils()
SubId Utility class used by various menu peers - menu, commandMenuItem, and goMenuItem


Method Summary

private static HTMLElement
_getBarItemIconElement(HTMLElement rootElement)
For a menuBar item, get the icon element.
private static HTMLElement
_getBarItemTextElement(HTMLElement rootElement)
For a menuBar item, get the text element.
public static HTMLElement
getMenuItemBestMatchSubId(AdfUIComponent component, HTMLElement rootElement, HTMLElement childElement)
Menu items all have some shared dom structure and some shared subids.
public static HTMLElement
getMenuItemElement(AdfUIComponent component, HTMLElement rootElement, String subElementId)
Menu items all have some shared dom structure and some shared subids.
private static HTMLElement
_getMenuItemIconElement(HTMLElement rootElement)
For a menu item, get the icon element.
private static HTMLElement
_getMenuItemTextElement(HTMLElement rootElement)
For a menu item, get the text element.


Field Detail


Constructor Detail


AdfMenuSubIdUtils

public AdfMenuSubIdUtils()

SubId Utility class used by various menu peers - menu, commandMenuItem, and goMenuItem

Method Detail


_getBarItemIconElement

private static HTMLElement _getBarItemIconElement(HTMLElement rootElement)

For a menuBar item, get the icon element.

Parameters:
rootElement  -  the root element of the menu bar item
Return:
HTMLElement - child icon element, if found

_getBarItemTextElement

private static HTMLElement _getBarItemTextElement(HTMLElement rootElement)

For a menuBar item, get the text element.

Parameters:
rootElement  -  the root element of the menu bar item
Return:
HTMLElement - child text element, if found

getMenuItemBestMatchSubId

public static HTMLElement getMenuItemBestMatchSubId(AdfUIComponent component,
                                                    HTMLElement rootElement,
                                                    HTMLElement childElement)

Menu items all have some shared dom structure and some shared subids. This method will return the best match subid for a menu item childElement, if found

Parameters:
component  -  the menu item component
rootElement  -  the root element of the menu item
childElement  -  the child element we are searching on
Return:
HTMLElement - child text element, if found

getMenuItemElement

public static HTMLElement getMenuItemElement(AdfUIComponent component,
                                             HTMLElement rootElement,
                                             String subElementId)

Menu items all have some shared dom structure and some shared subids. This method will return a menu item element for a subElementId, if found. of these shared element

Parameters:
component  -  the menu item component
rootElement  -  the root element of the menu item
subElementId  -  the subElementId
Return:
HTMLElement - child text element, if found

_getMenuItemIconElement

private static HTMLElement _getMenuItemIconElement(HTMLElement rootElement)

For a menu item, get the icon element.

Parameters:
rootElement  -  the root element of the menu item
Return:
HTMLElement - child iconelement, if found

_getMenuItemTextElement

private static HTMLElement _getMenuItemTextElement(HTMLElement rootElement)

For a menu item, get the text element.

Parameters:
rootElement  -  the root element of the menu item
Return:
HTMLElement - child text element, if found

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2015.07.15 10:12 UTC
Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.