Creates an item for a context menu.
|
ContextMenuItem() |
ContextMenuItem |
|
|
blur() : void |
MenuItem |
Causes the menu item to lose focus and fires the
onblur event. |
|
configChecked(String p_sType , Array p_aArgs , YAHOO.widget.MenuItem p_oItem ) : void |
MenuItem |
Event handler for when the "checked" configuration property
of the menu item changes. |
|
configDisabled(String p_sType , Array p_aArgs , YAHOO.widget.MenuItem p_oItem ) : void |
MenuItem |
Event handler for when the "disabled" configuration property
of the menu item changes. |
|
configEmphasis(String p_sType , Array p_aArgs , YAHOO.widget.MenuItem p_oItem ) : void |
MenuItem |
Event handler for when the "emphasis" configuration property
of the menu item changes. |
|
configHelpText(String p_sType , Array p_aArgs , YAHOO.widget.MenuItem p_oItem ) : void |
MenuItem |
Event handler for when the "helptext" configuration property
of the menu item changes. |
|
configSelected(String p_sType , Array p_aArgs , YAHOO.widget.MenuItem p_oItem ) : void |
MenuItem |
Event handler for when the "selected" configuration property
of the menu item changes. |
|
configStrongEmphasis(String p_sType , Array p_aArgs , YAHOO.widget.MenuItem p_oItem ) : void |
MenuItem |
Event handler for when the "strongemphasis" configuration
property of the menu item changes. |
|
configSubmenu(String p_sType , Array p_aArgs , YAHOO.widget.MenuItem p_oItem ) : void |
MenuItem |
Event handler for when the "submenu" configuration property
of the menu item changes. |
|
configTarget(String p_sType , Array p_aArgs , YAHOO.widget.MenuItem p_oItem ) : void |
MenuItem |
Event handler for when the "target" configuration property
of the menu item changes. |
|
configText(String p_sType , Array p_aArgs , YAHOO.widget.MenuItem p_oItem ) : void |
MenuItem |
Event handler for when the "text" configuration property of
the menu item changes. |
|
configURL(String p_sType , Array p_aArgs , YAHOO.widget.MenuItem p_oItem ) : void |
MenuItem |
Event handler for when the "url" configuration property of
the menu item changes. |
|
destroy() : void |
MenuItem |
Removes the menu item's <li> element
from its parent <ul> element. |
|
focus() : void |
MenuItem |
Causes the menu item to receive the focus and fires the
focus event. |
|
getNextEnabledSibling() : YAHOO.widget.MenuItem |
MenuItem |
Finds the menu item's next enabled sibling. |
|
getPreviousEnabledSibling() : YAHOO.widget.MenuItem |
MenuItem |
Finds the menu item's previous enabled sibling. |
|
init(String p_oObject , , ContextMenuItem |
The ContextMenuItem class's initialization method. This method
is automatically called by the constructor, and sets u... |
|
initDefaultConfig() : void |
MenuItem |
Initializes an item's configurable properties. |
|
toString() : String |
ContextMenuItem |
Returns a string representing the context menu item. |
|
blurEvent : () |
MenuItem |
Fires when the menu item loses the input focus. |
|
clickEvent : () |
MenuItem |
Fires when the user clicks the on the menu item. Passes
back the DOM Event object as an argument. |
|
destroyEvent : () |
MenuItem |
Fires when the menu item's <li>
element is removed from its parent <ul> element. |
|
focusEvent : () |
MenuItem |
Fires when the menu item receives focus. |
|
keyDownEvent : () |
MenuItem |
Fires when the user presses a key when the menu item has
focus. Passes back the DOM Event object as an argument. |
|
keyPressEvent : () |
MenuItem |
Fires when the user presses an alphanumeric key when the
menu item has focus. Passes back the DOM Event object as an... |
|
keyUpEvent : () |
MenuItem |
Fires when the user releases a key when the menu item has
focus. Passes back the DOM Event object as an argument. |
|
mouseDownEvent : () |
MenuItem |
Fires when the user mouses down on the menu item. Passes
back the DOM Event object as an argument. |
|
mouseOutEvent : () |
MenuItem |
Fires when the mouse has left the menu item. Passes back
the DOM Event object as an argument. |
|
mouseOverEvent : () |
MenuItem |
Fires when the mouse has entered the menu item. Passes
back the DOM Event object as an argument. |
|
mouseUpEvent : () |
MenuItem |
Fires when the user releases a mouse button while the mouse
is over the menu item. Passes back the DOM Event object ... |
CHECKED_IMAGE_ALT_TEXT
public String CHECKED_IMAGE_ALT_TEXT
String representing the alt text for the image to be used
for the checked image.
CHECKED_IMAGE_PATH
public String CHECKED_IMAGE_PATH
String representing the path to the image to be used for
the checked state.
COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT
public String COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT
String representing the alt text for the image to be used
for the submenu arrow indicator.
CSS_CLASS_NAME
public String CSS_CLASS_NAME
String representing the CSS class(es) to be applied to the
<li>
element of the menu item.
DISABLED_CHECKED_IMAGE_ALT_TEXT
public String DISABLED_CHECKED_IMAGE_ALT_TEXT
String representing the alt text for the image to be used
for the checked image when the item is disabled.
DISABLED_CHECKED_IMAGE_PATH
public String DISABLED_CHECKED_IMAGE_PATH
String representing the path to the image to be used for
the disabled checked state.
DISABLED_SUBMENU_INDICATOR_ALT_TEXT
public String DISABLED_SUBMENU_INDICATOR_ALT_TEXT
String representing the alt text for the image to be used
for the submenu arrow indicator when the menu item is disabled.
DISABLED_SUBMENU_INDICATOR_IMAGE_PATH
public String DISABLED_SUBMENU_INDICATOR_IMAGE_PATH
String representing the path to the image to be used for the
submenu arrow indicator when the menu item is disabled.
EXPANDED_SUBMENU_INDICATOR_ALT_TEXT
public String EXPANDED_SUBMENU_INDICATOR_ALT_TEXT
String representing the alt text for the image to be used
for the submenu arrow indicator when the submenu is visible.
IMG_ROOT
public String IMG_ROOT
String representing the prefix path to use for
non-secure images.
IMG_ROOT_SSL
public String IMG_ROOT_SSL
String representing the prefix path to use for securely
served images.
SELECTED_CHECKED_IMAGE_PATH
public String SELECTED_CHECKED_IMAGE_PATH
String representing the path to the image to be used for
the selected checked state.
SELECTED_SUBMENU_INDICATOR_IMAGE_PATH
public String SELECTED_SUBMENU_INDICATOR_IMAGE_PATH
String representing the path to the image to be used for the
submenu arrow indicator when the menu item is selected.
SUBMENU_INDICATOR_IMAGE_PATH
public String SUBMENU_INDICATOR_IMAGE_PATH
String representing the path to the image to be used for the
menu item's submenu arrow indicator.
SUBMENU_TYPE
public YAHOO.widget.Menu SUBMENU_TYPE
Object representing the type of menu to instantiate and
add when parsing the child nodes of the menu item's source HTML element.
browser
public String browser
String representing the browser.
constructor
public YAHOO.widget.MenuItem constructor
Object reference to the menu item's constructor function.
groupIndex
public Number groupIndex
Number indicating the index of the group to which the menu
item belongs.
imageRoot
public String imageRoot
String representing the root path for all of the menu
item's images.
index
public Number index
Number indicating the ordinal position of the menu item in
its group.
isSecure
public Boolean isSecure
Boolean representing whether or not the current browsing
context is secure (HTTPS).
parent
public YAHOO.widget.Menu parent
Object reference to the menu item's parent menu.
value
public Object value
Object reference to the menu item's value.