Class YAHOO.widget.MenuBarItem

Object
   |
   +--YAHOO.widget.MenuModuleItem
         |
         +--YAHOO.widget.MenuBarItem

class YAHOO.widget.MenuBarItem

Field Summary [top]

String CSS_CLASS_NAME
Constant representing the CSS class(es) to be applied to the root HTMLLIElement of the MenuBarItem. 
String DISABLED_SUBMENU_INDICATOR_IMAGE_PATH
Constant representing the path to the image to be used for the submenu arrow indicator when a MenuBarItem instance is disabled. 
String SELECTED_SUBMENU_INDICATOR_IMAGE_PATH
Constant representing the path to the image to be used for the submenu arrow indicator when a MenuBarItem instance has focus. 
String SUBMENU_INDICATOR_IMAGE_PATH
Constant representing the path to the image to be used for the submenu arrow indicator. 
Object superclass
 

Method Summary [top]

void init (<String or HTMLElement> p_oObject, <Object> p_oUserConfig)
The MenuBarItem class's initialization method. 

Field Detail [top]

CSS_CLASS_NAME

String   CSS_CLASS_NAME
Constant representing the CSS class(es) to be applied to the root HTMLLIElement of the MenuBarItem.

DISABLED_SUBMENU_INDICATOR_IMAGE_PATH

String   DISABLED_SUBMENU_INDICATOR_IMAGE_PATH
Constant representing the path to the image to be used for the submenu arrow indicator when a MenuBarItem instance is disabled.

SELECTED_SUBMENU_INDICATOR_IMAGE_PATH

String   SELECTED_SUBMENU_INDICATOR_IMAGE_PATH
Constant representing the path to the image to be used for the submenu arrow indicator when a MenuBarItem instance has focus.

SUBMENU_INDICATOR_IMAGE_PATH

String   SUBMENU_INDICATOR_IMAGE_PATH
Constant representing the path to the image to be used for the submenu arrow indicator.

superclass

Object   superclass

Constructor Detail [top]

YAHOO.widget.MenuBarItem

YAHOO.widget.MenuBarItem ()
Parameters:
p_oObject - String or HTMLElement (either HTMLLIElement, HTMLOptGroupElement or HTMLOptionElement) of the source HTMLElement node.
p_oUserConfig - The configuration object literal containing the configuration for a MenuBarItem instance. See the configuration class documentation for more details.

Method Detail [top]

init

void init (<String or HTMLElement> p_oObject, <Object> p_oUserConfig)
The MenuBarItem 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:
p_oObject - String or HTMLElement (either HTMLLIElement, HTMLOptGroupElement or HTMLOptionElement) of the source HTMLElement node.
p_oUserConfig - The configuration object literal containing the configuration for a MenuBarItem instance. See the configuration class documentation for more details.