CHECKED_IMAGE_PATH, SELECTED_CHECKED_IMAGE_PATH, DISABLED_CHECKED_IMAGE_PATH, CHECKED_IMAGE_ALT_TEXT, DISABLED_CHECKED_IMAGE_ALT_TEXT
Class YAHOO.widget.ContextMenuItem
Object | +--YAHOO.widget.MenuModuleItem | +--YAHOO.widget.MenuItem | +--YAHOO.widget.ContextMenuItem
class
YAHOO.widget.ContextMenuItem
Fields inherited from class YAHOO.widget.MenuItem [top]
Fields inherited from class YAHOO.widget.MenuModuleItem [top]
SUBMENU_INDICATOR_IMAGE_PATH, SELECTED_SUBMENU_INDICATOR_IMAGE_PATH, DISABLED_SUBMENU_INDICATOR_IMAGE_PATH, COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT, EXPANDED_SUBMENU_INDICATOR_ALT_TEXT, DISABLED_SUBMENU_INDICATOR_ALT_TEXT, CSS_CLASS_NAME, SUBMENU_TYPE, SUBMENU_ITEM_TYPE, IMG_ROOT, IMG_ROOT_SSL, imageRoot, isSecure, index, groupIndex, parent, element, srcElement, value, submenuIndicator, browser, destroyEvent, mouseOverEvent, mouseOutEvent, mouseDownEvent, mouseUpEvent, clickEvent, keyPressEvent, keyDownEvent, keyUpEvent, focusEvent, blurEvent
Method Summary [top]
void |
init
(<String Id or HTMLElement> p_oObject, <Object> p_oConfig)
The ContextMenuItem class's initialization method.
|
Methods inherited from class YAHOO.widget.MenuItem
Methods inherited from class YAHOO.widget.MenuModuleItem
Constructor Detail [top]
YAHOO.widget.ContextMenuItem
YAHOO.widget.ContextMenuItem
()
- Parameters:
-
{String or HTMLElement} p_oObject
- String or HTMLElement (either HTMLLIElement, HTMLOptGroupElement or HTMLOptionElement) of the source HTMLElement node. -
p_oConfig
- The configuration object literal containing the configuration for a ContextMenuItem instance. See the configuration class documentation for more details.
Method Detail [top]
init
void
init
(<String Id or HTMLElement> p_oObject, <Object> p_oConfig)
The ContextMenuItem class's initialization method. This method is
automatically called by the constructor, and sets up all DOM references for
pre-existing markup, and creates required markup if it is not
already present.
- Parameters:
-
{String or HTMLElement} p_oObject
- String or HTMLElement (either HTMLLIElement, HTMLOptGroupElement or HTMLOptionElement) of the source HTMLElement node. -
p_oConfig
- The configuration object literal containing the configuration for a ContextMenuItem instance. See the configuration class documentation for more details.