webgui/www/extras/yui/docs/YAHOO.widget.MenuItem.html
JT Smith 20f8df1291 upgrading to YUI 2.6
data tables are going to need some work yet, but the other stuff seems to be working 100%
2008-10-22 23:53:29 +00:00

2910 lines
139 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>API: menu YAHOO.widget.MenuItem (YUI Library)</title>
<link rel="stylesheet" type="text/css" href="assets/api.css">
<script type="text/javascript" src="assets/api-js"></script>
<script type="text/javascript" src="assets/ac-js"></script>
</head>
<body id="yahoo-com">
<div id="doc3" class="yui-t2">
<div id="hd">
<a href="http://developer.yahoo.com/yui/"><h1>Yahoo! UI Library</h1></a>
<h3>Menu&nbsp; <span class="subtitle">2.6.0</span></h3>
<p>
<a href="./index.html">Yahoo! UI Library</a>
&gt; <a href="./module_menu.html">menu</a>
&gt; YAHOO.widget.MenuItem
</p>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form name="yui-classopts-form">
<span id="classopts"><input type="checkbox" name="showprivate" id="showprivate" /> <label for="showprivate">Show Private</label></span>
<span id="classopts"><input type="checkbox" name="showprotected" id="showprotected" /> <label for="showprotected">Show Protected</label></span>
<span id="classopts"><input type="checkbox" name="showdeprecated" id="showdeprecated" /> <label for="showdeprecated">Show Deprecated</label></span>
</form>
<h2>
Class <b>YAHOO.widget.MenuItem</b>
<span class="extends">
</span>
<span class="extends">
</span>
</code>
</h2>
<!-- class tree goes here -->
<dl class="subclasses">
<dt>Known Subclasses:</dd>
<dd>
<a href="YAHOO.widget.MenuBarItem.html">YAHOO.widget.MenuBarItem</a>
<a href="YAHOO.widget.ContextMenuItem.html">YAHOO.widget.ContextMenuItem</a>
</dd>
</dl>
<div class="summary description">
Creates an item for a menu.
</div>
<div class="section constructor details">
<h3 id="constructor">Constructor</h3>
<div class="content">
<div class="detail">
<strong>YAHOO.widget.MenuItem</strong>
<code>
(
p_oObject
,
p_oConfig
)
</code>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_oObject
&lt;String&gt;
</code>
String specifying the text of the menu item.
</dd>
<dd>
<code>p_oObject
&lt;<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-74680021">HTMLLIElement</a>&gt;
</code>
Object specifying
the <code>&#60;li&#62;</code> element of the menu item.
</dd>
<dd>
<code>p_oObject
&lt;<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-38450247">HTMLOptGroupElement</a>&gt;
</code>
Object
specifying the <code>&#60;optgroup&#62;</code> element of the menu item.
</dd>
<dd>
<code>p_oObject
&lt;<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-70901257">HTMLOptionElement</a>&gt;
</code>
Object
specifying the <code>&#60;option&#62;</code> element of the menu item.
</dd>
<dd>
<code>p_oConfig
&lt;Object&gt;
</code>
Optional. Object literal specifying the
configuration for the menu item. See configuration class documentation
for more details.
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="section field details">
<h3 id="properties">Properties</h3>
<div class="content">
<div class="private">
<h4><a name="property__oAnchor">_oAnchor</a>
<code>- private <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-48250443">HTMLAnchorElement</a></code>
</h4>
<div class="detail">
<div class="description">
Object reference to the menu item's
<code>&#60;a&#62;</code> element.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="private">
<h4><a name="property__oHelpTextEM">_oHelpTextEM</a>
<code>- private <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-58190037">HTMLElement</a></code>
</h4>
<div class="detail">
<div class="description">
Object reference to the menu item's help text
<code>&#60;em&#62;</code> element.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="private">
<h4><a name="property__oOnclickAttributeValue">_oOnclickAttributeValue</a>
<code>- private Object</code>
</h4>
<div class="detail">
<div class="description">
Object reference to the menu item's current value for the
"onclick" configuration attribute.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="private">
<h4><a name="property__oSubmenu">_oSubmenu</a>
<code>- private YAHOO.widget.Menu</code>
</h4>
<div class="detail">
<div class="description">
Object reference to the menu item's submenu.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="private">
<h4><a name="property__sClassName">_sClassName</a>
<code>- private String</code>
</h4>
<div class="detail">
<div class="description">
The current value of the "classname" configuration attribute.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class=" deprecated">
<h4><a name="property_browser">browser</a>
<code>- String</code>
</h4>
<div class="detail">
<div class="description">
String representing the browser.
</div>
</div>
<div class="deprecated">
<strong>Deprecated:</strong> Use YAHOO.env.ua
</div>
<hr />
</div>
<div class="">
<h4><a name="property_constructor">constructor</a>
<code>- YAHOO.widget.MenuItem</code>
</h4>
<div class="detail">
<div class="description">
Object reference to the menu item's constructor function.
</div>
</div>
<div class="default">
Default Value: YAHOO.widget.MenuItem
</div>
<hr />
</div>
<div class="">
<h4><a name="property_CSS_CLASS_NAME">CSS_CLASS_NAME</a>
<code>- final String</code>
</h4>
<div class="detail">
<div class="description">
String representing the CSS class(es) to be applied to the
<code>&#60;li&#62;</code> element of the menu item.
</div>
</div>
<div class="default">
Default Value: "yuimenuitem"
</div>
<hr />
</div>
<div class="">
<h4><a name="property_CSS_LABEL_CLASS_NAME">CSS_LABEL_CLASS_NAME</a>
<code>- final String</code>
</h4>
<div class="detail">
<div class="description">
String representing the CSS class(es) to be applied to the
menu item's <code>&#60;a&#62;</code> element.
</div>
</div>
<div class="default">
Default Value: "yuimenuitemlabel"
</div>
<hr />
</div>
<div class="">
<h4><a name="property_element">element</a>
<code>- <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-74680021">HTMLLIElement</a></code>
</h4>
<div class="detail">
<div class="description">
Object reference to the menu item's
<code>&#60;li&#62;</code> element.
</div>
</div>
<div class="default">
Default Value: <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level
-one-html.html#ID-74680021">HTMLLIElement</a>
</div>
<hr />
</div>
<div class="">
<h4><a name="property_groupIndex">groupIndex</a>
<code>- Number</code>
</h4>
<div class="detail">
<div class="description">
Number indicating the index of the group to which the menu
item belongs.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="">
<h4><a name="property_id">id</a>
<code>- String</code>
</h4>
<div class="detail">
<div class="description">
Id of the menu item's root <code>&#60;li&#62;</code>
element. This property should be set via the constructor using the
configuration object literal. If an id is not specified, then one will
be created using the "generateId" method of the Dom utility.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="">
<h4><a name="property_index">index</a>
<code>- Number</code>
</h4>
<div class="detail">
<div class="description">
Number indicating the ordinal position of the menu item in
its group.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="">
<h4><a name="property_parent">parent</a>
<code>- YAHOO.widget.Menu</code>
</h4>
<div class="detail">
<div class="description">
Object reference to the menu item's parent menu.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="">
<h4><a name="property_srcElement">srcElement</a>
<code>- <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-74680021">HTMLLIElement</a>|<a href="http://www.w3.
org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-38450247">
HTMLOptGroupElement</a>|<a href="http://www.w3.org/TR/2000/WD-DOM-
Level-1-20000929/level-one-html.html#ID-70901257">HTMLOptionElement</a></code>
</h4>
<div class="detail">
<div class="description">
Object reference to the HTML element (either
<code>&#60;li&#62;</code>, <code>&#60;optgroup&#62;</code> or
<code>&#60;option&#62;</code>) used create the menu item.
</div>
</div>
<div class="default">
Default Value: <a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
level-one-html.html#ID-74680021">HTMLLIElement</a>|<a href="http://www.
w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-38450247"
>HTMLOptGroupElement</a>|<a href="http://www.w3.org/TR/2000/WD-DOM-
Level-1-20000929/level-one-html.html#ID-70901257">HTMLOptionElement</a>
</div>
<hr />
</div>
<div class="">
<h4><a name="property_SUBMENU_TYPE">SUBMENU_TYPE</a>
<code>- final YAHOO.widget.Menu</code>
</h4>
<div class="detail">
<div class="description">
Object representing the type of menu to instantiate and
add when parsing the child nodes of the menu item's source HTML element.
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="property_value">value</a>
<code>- Object</code>
</h4>
<div class="detail">
<div class="description">
Object reference to the menu item's value.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
</div>
</div>
<div class="section method details">
<h3 id="methods">Methods</h3>
<div class="content">
<div class="private">
<h4>
<a name="method__createRootNodeStructure">_createRootNodeStructure</a></h4>
<div class="detail">
<code>
private
void
<strong>_createRootNodeStructure</strong>
(
)
</code>
<div class="description">
Creates the core DOM structure for the menu item.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="method__initSubTree">_initSubTree</a></h4>
<div class="detail">
<code>
private
void
<strong>_initSubTree</strong>
(
)
</code>
<div class="description">
Iterates the source element's childNodes collection and uses
the child nodes to instantiate other menus.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="method__onSubmenuBeforeHide">_onSubmenuBeforeHide</a></h4>
<div class="detail">
<code>
private
void
<strong>_onSubmenuBeforeHide</strong>
(
p_sType
,
p_aArgs
)
</code>
<div class="description">
"beforehide" Custom Event handler for a submenu.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="method_addClassNameForState">addClassNameForState</a></h4>
<div class="detail">
<code>
private
void
<strong>addClassNameForState</strong>
(
state
)
</code>
<div class="description">
Applies a class name to a MenuItem instance's &#60;LI&#62; and &#60;A&#62; elements
that represents a MenuItem's state - "disabled," "checked," etc.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>state &lt;String&gt;</code>
String representing a state - "disabled," "checked," etc.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_blur">blur</a></h4>
<div class="detail">
<code>
void
<strong>blur</strong>
(
)
</code>
<div class="description">
Causes the menu item to lose focus and fires the
blur event.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configChecked">configChecked</a></h4>
<div class="detail">
<code>
void
<strong>configChecked</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "checked" configuration property
of the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configClassName">configClassName</a></h4>
<div class="detail">
<code>
void
<strong>configClassName</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "classname" configuration
property of a menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configDisabled">configDisabled</a></h4>
<div class="detail">
<code>
void
<strong>configDisabled</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "disabled" configuration property
of the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configEmphasis">configEmphasis</a></h4>
<div class="detail">
<code>
void
<strong>configEmphasis</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "emphasis" configuration property
of the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configHelpText">configHelpText</a></h4>
<div class="detail">
<code>
void
<strong>configHelpText</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "helptext" configuration property
of the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configOnClick">configOnClick</a></h4>
<div class="detail">
<code>
void
<strong>configOnClick</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "onclick" configuration property
of the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configSelected">configSelected</a></h4>
<div class="detail">
<code>
void
<strong>configSelected</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "selected" configuration property
of the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configStrongEmphasis">configStrongEmphasis</a></h4>
<div class="detail">
<code>
void
<strong>configStrongEmphasis</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "strongemphasis" configuration
property of the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configSubmenu">configSubmenu</a></h4>
<div class="detail">
<code>
void
<strong>configSubmenu</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "submenu" configuration property
of the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configTarget">configTarget</a></h4>
<div class="detail">
<code>
void
<strong>configTarget</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "target" configuration property
of the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configText">configText</a></h4>
<div class="detail">
<code>
void
<strong>configText</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "text" configuration property of
the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_configURL">configURL</a></h4>
<div class="detail">
<code>
void
<strong>configURL</strong>
(
p_sType
,
p_aArgs
,
p_oItem
)
</code>
<div class="description">
Event handler for when the "url" configuration property of
the menu item changes.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_sType &lt;String&gt;</code>
String representing the name of the event that
was fired.
</dd>
<dd>
<code>p_aArgs &lt;Array&gt;</code>
Array of arguments sent when the event was fired.
</dd>
<dd>
<code>p_oItem &lt;YAHOO.widget.MenuItem&gt;</code>
Object representing the menu item
that fired the event.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_destroy">destroy</a></h4>
<div class="detail">
<code>
void
<strong>destroy</strong>
(
)
</code>
<div class="description">
Removes the menu item's <code>&#60;li&#62;</code> element
from its parent <code>&#60;ul&#62;</code> element.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_focus">focus</a></h4>
<div class="detail">
<code>
void
<strong>focus</strong>
(
)
</code>
<div class="description">
Causes the menu item to receive the focus and fires the
focus event.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="method_getClassNameForState">getClassNameForState</a></h4>
<div class="detail">
<code>
private
void
<strong>getClassNameForState</strong>
(
prefix
,
state
)
</code>
<div class="description">
Returns a class name for the specified prefix and state. If the class name does not
yet exist, it is created and stored in the CLASS_NAMES object to increase performance.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>prefix &lt;String&gt;</code>
String representing the prefix for the class name
</dd>
<dd>
<code>state &lt;String&gt;</code>
String representing a state - "disabled," "checked," etc.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_getNextEnabledSibling">getNextEnabledSibling</a></h4>
<div class="detail">
<code>
<strong>getNextEnabledSibling</strong>
(
)
</code>
<div class="description">
Finds the menu item's next enabled sibling.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_getPreviousEnabledSibling">getPreviousEnabledSibling</a></h4>
<div class="detail">
<code>
YAHOO.widget.MenuItem
<strong>getPreviousEnabledSibling</strong>
(
)
</code>
<div class="description">
Finds the menu item's previous enabled sibling.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
YAHOO.widget.MenuItem
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_hasFocus">hasFocus</a></h4>
<div class="detail">
<code>
Boolean
<strong>hasFocus</strong>
(
)
</code>
<div class="description">
Returns a boolean indicating whether or not the menu item
has focus.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
Boolean
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_init">init</a></h4>
<div class="detail">
<code>
void
<strong>init</strong>
(
p_oObject
,
p_oConfig
)
</code>
<div class="description">
The MenuItem 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.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_oObject &lt;String&gt;</code>
String specifying the text of the menu item.
</dd>
<dd>
<code>p_oObject &lt;<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-74680021">HTMLLIElement</a>&gt;</code>
Object specifying
the <code>&#60;li&#62;</code> element of the menu item.
</dd>
<dd>
<code>p_oObject &lt;<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-38450247">HTMLOptGroupElement</a>&gt;</code>
Object
specifying the <code>&#60;optgroup&#62;</code> element of the menu item.
</dd>
<dd>
<code>p_oObject &lt;<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-70901257">HTMLOptionElement</a>&gt;</code>
Object
specifying the <code>&#60;option&#62;</code> element of the menu item.
</dd>
<dd>
<code>p_oConfig &lt;Object&gt;</code>
Optional. Object literal specifying the
configuration for the menu item. See configuration class documentation
for more details.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_initDefaultConfig">initDefaultConfig</a></h4>
<div class="detail">
<code>
void
<strong>initDefaultConfig</strong>
(
)
</code>
<div class="description">
Initializes an item's configurable properties.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private">
<h4>
<a name="method_removeClassNameForState">removeClassNameForState</a></h4>
<div class="detail">
<code>
private
void
<strong>removeClassNameForState</strong>
(
state
)
</code>
<div class="description">
Removes a class name from a MenuItem instance's &#60;LI&#62; and &#60;A&#62; elements
that represents a MenuItem's state - "disabled," "checked," etc.
</div>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>state &lt;String&gt;</code>
String representing a state - "disabled," "checked," etc.
</dd>
</dl>
<dl>
<dt>Returns:
<code>
void
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="method_toString">toString</a></h4>
<div class="detail">
<code>
String
<strong>toString</strong>
(
)
</code>
<div class="description">
Returns a string representing the menu item.
</div>
<div class="description">
<dl>
<dt>Returns:
<code>
String
</code></dt>
<dd></dd>
</dl>
</div>
</div>
<hr />
</div>
</div>
</div>
<div class="section method details">
<h3 id="events">Events</h3>
<div class="content">
<div class="">
<h4>
<a name="event_blurEvent">blurEvent</a></h4>
<div class="detail">
<code>
<strong>blurEvent</strong>
(
)
</code>
<div class="description">
Fires when the menu item loses the input focus.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="event_clickEvent">clickEvent</a></h4>
<div class="detail">
<code>
<strong>clickEvent</strong>
(
)
</code>
<div class="description">
Fires when the user clicks the on the menu item. Passes
back the DOM Event object as an argument.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="event_destroyEvent">destroyEvent</a></h4>
<div class="detail">
<code>
<strong>destroyEvent</strong>
(
)
</code>
<div class="description">
Fires when the menu item's <code>&#60;li&#62;</code>
element is removed from its parent <code>&#60;ul&#62;</code> element.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="event_focusEvent">focusEvent</a></h4>
<div class="detail">
<code>
<strong>focusEvent</strong>
(
)
</code>
<div class="description">
Fires when the menu item receives focus.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="event_keyDownEvent">keyDownEvent</a></h4>
<div class="detail">
<code>
<strong>keyDownEvent</strong>
(
)
</code>
<div class="description">
Fires when the user presses a key when the menu item has
focus. Passes back the DOM Event object as an argument.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="event_keyPressEvent">keyPressEvent</a></h4>
<div class="detail">
<code>
<strong>keyPressEvent</strong>
(
)
</code>
<div class="description">
Fires when the user presses an alphanumeric key when the
menu item has focus. Passes back the DOM Event object as an argument.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="event_keyUpEvent">keyUpEvent</a></h4>
<div class="detail">
<code>
<strong>keyUpEvent</strong>
(
)
</code>
<div class="description">
Fires when the user releases a key when the menu item has
focus. Passes back the DOM Event object as an argument.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="event_mouseDownEvent">mouseDownEvent</a></h4>
<div class="detail">
<code>
<strong>mouseDownEvent</strong>
(
)
</code>
<div class="description">
Fires when the user mouses down on the menu item. Passes
back the DOM Event object as an argument.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="event_mouseOutEvent">mouseOutEvent</a></h4>
<div class="detail">
<code>
<strong>mouseOutEvent</strong>
(
)
</code>
<div class="description">
Fires when the mouse has left the menu item. Passes back
the DOM Event object as an argument.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="event_mouseOverEvent">mouseOverEvent</a></h4>
<div class="detail">
<code>
<strong>mouseOverEvent</strong>
(
)
</code>
<div class="description">
Fires when the mouse has entered the menu item. Passes
back the DOM Event object as an argument.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="">
<h4>
<a name="event_mouseUpEvent">mouseUpEvent</a></h4>
<div class="detail">
<code>
<strong>mouseUpEvent</strong>
(
)
</code>
<div class="description">
Fires when the user releases a mouse button while the mouse
is over the menu item. Passes back the DOM Event object as an argument.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
</div>
</div>
<div class="section field details">
<h3 id="configattributes">Configuration Attributes</h3>
<div class="content">
<div class="">
<h4><a name="config_checked">checked</a>
<code>- Boolean</code>
</h4>
<div class="detail">
<div class="description">
Boolean indicating if the menu item should be rendered
with a checkmark.
</div>
</div>
<div class="default">
Default Value: false
</div>
<hr />
</div>
<div class="">
<h4><a name="config_classname">classname</a>
<code>- String</code>
</h4>
<div class="detail">
<div class="description">
CSS class to be applied to the menu item's root
<code>&#60;li&#62;</code> element. The specified class(es) are
appended in addition to the default class as specified by the menu
item's CSS_CLASS_NAME constant.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="">
<h4><a name="config_disabled">disabled</a>
<code>- Boolean</code>
</h4>
<div class="detail">
<div class="description">
Boolean indicating if the menu item should be disabled.
(Disabled menu items are dimmed and will not respond to user input
or fire events.)
</div>
</div>
<div class="default">
Default Value: false
</div>
<hr />
</div>
<div class=" deprecated">
<h4><a name="config_emphasis">emphasis</a>
<code>- Boolean</code>
</h4>
<div class="detail">
<div class="description">
Boolean indicating if the text of the menu item will be
rendered with emphasis.
</div>
</div>
<div class="deprecated">
<strong>Deprecated</strong> Use the "text" configuration property to add emphasis.
For example: <code>oMenuItem.cfg.setProperty("text", "&#60;em&#62;Some
Text&#60;/em&#62;");</code>
</div>
<div class="default">
Default Value: false
</div>
<hr />
</div>
<div class=" deprecated">
<h4><a name="config_helptext">helptext</a>
<code>- String|<a href="http://www.w3.org/TR/
2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-58190037">
HTMLElement</a></code>
</h4>
<div class="detail">
<div class="description">
String specifying additional instructional text to
accompany the text for the menu item.
</div>
</div>
<div class="deprecated">
<strong>Deprecated</strong> Use "text" configuration property to add help text markup.
For example: <code>oMenuItem.cfg.setProperty("text", "Copy &#60;em
class=\"helptext\"&#62;Ctrl + C&#60;/em&#62;");</code>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="">
<h4><a name="config_onclick">onclick</a>
<code>- Object</code>
</h4>
<div class="detail">
<div class="description">
Object literal representing the code to be executed when
the item is clicked. Format:<br> <code> {<br>
<strong>fn:</strong> Function, &#47;&#47; The handler to call when
the event fires.<br> <strong>obj:</strong> Object, &#47;&#47; An
object to pass back to the handler.<br> <strong>scope:</strong>
Object &#47;&#47; The object to use for the scope of the handler.
<br> } </code>
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="">
<h4><a name="config_selected">selected</a>
<code>- Boolean</code>
</h4>
<div class="detail">
<div class="description">
Boolean indicating if the menu item should
be highlighted.
</div>
</div>
<div class="default">
Default Value: false
</div>
<hr />
</div>
<div class=" deprecated">
<h4><a name="config_strongemphasis">strongemphasis</a>
<code>- Boolean</code>
</h4>
<div class="detail">
<div class="description">
Boolean indicating if the text of the menu item will be
rendered with strong emphasis.
</div>
</div>
<div class="deprecated">
<strong>Deprecated</strong> Use the "text" configuration property to add strong emphasis.
For example: <code>oMenuItem.cfg.setProperty("text", "&#60;strong&#62;
Some Text&#60;/strong&#62;");</code>
</div>
<div class="default">
Default Value: false
</div>
<hr />
</div>
<div class="">
<h4><a name="config_submenu">submenu</a>
<code>- Menu|String|Object|<a href="http://www.w3.org/TR/2000/
WD-DOM-Level-1-20000929/level-one-html.html#ID-58190037">
HTMLElement</a></code>
</h4>
<div class="detail">
<div class="description">
Object specifying the submenu to be appended to the
menu item. The value can be one of the following: <ul><li>Object
specifying a Menu instance.</li><li>Object literal specifying the
menu to be created. Format: <code>{ id: [menu id], itemdata:
[<a href="YAHOO.widget.Menu.html#itemData">array of values for
items</a>] }</code>.</li><li>String specifying the id attribute
of the <code>&#60;div&#62;</code> element of the menu.</li><li>
Object specifying the <code>&#60;div&#62;</code> element of the
menu.</li></ul>
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="">
<h4><a name="config_target">target</a>
<code>- String</code>
</h4>
<div class="detail">
<div class="description">
String specifying the value for the "target" attribute
of the menu item's anchor element. <strong>Specifying a target will
require the user to click directly on the menu item's anchor node in
order to cause the browser to navigate to the specified URL.</strong>
When building a menu from existing HTML the value of this property
will be interpreted from the menu's markup.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="">
<h4><a name="config_text">text</a>
<code>- String</code>
</h4>
<div class="detail">
<div class="description">
String specifying the text label for the menu item.
When building a menu from existing HTML the value of this property
will be interpreted from the menu's markup.
</div>
</div>
<div class="default">
Default Value: ""
</div>
<hr />
</div>
<div class="">
<h4><a name="config_url">url</a>
<code>- String</code>
</h4>
<div class="detail">
<div class="description">
String specifying the URL for the menu item's anchor's
"href" attribute. When building a menu from existing HTML the value
of this property will be interpreted from the menu's markup.
</div>
</div>
<div class="default">
Default Value: "#"
</div>
<hr />
</div>
</div>
</div>
</div>
</div>
<div class="yui-b">
<div class="nav">
<div class="module">
<h4>Modules</h4>
<ul class="content">
<li class=""><a href="module_animation.html">animation</a></li>
<li class=""><a href="module_autocomplete.html">autocomplete</a></li>
<li class=""><a href="module_button.html">button</a></li>
<li class=""><a href="module_calendar.html">calendar</a></li>
<li class=""><a href="module_carousel.html">carousel</a></li>
<li class=""><a href="module_charts.html">charts</a></li>
<li class=""><a href="module_colorpicker.html">colorpicker</a></li>
<li class=""><a href="module_connection.html">connection</a></li>
<li class=""><a href="module_container.html">container</a></li>
<li class=""><a href="module_cookie.html">cookie</a></li>
<li class=""><a href="module_datasource.html">datasource</a></li>
<li class=""><a href="module_datatable.html">datatable</a></li>
<li class=""><a href="module_dom.html">dom</a></li>
<li class=""><a href="module_dragdrop.html">dragdrop</a></li>
<li class=""><a href="module_editor.html">editor</a></li>
<li class=""><a href="module_element.html">element</a></li>
<li class=""><a href="module_event.html">event</a></li>
<li class=""><a href="module_get.html">get</a></li>
<li class=""><a href="module_history.html">history</a></li>
<li class=""><a href="module_imagecropper.html">imagecropper</a></li>
<li class=""><a href="module_imageloader.html">imageloader</a></li>
<li class=""><a href="module_json.html">json</a></li>
<li class=""><a href="module_layout.html">layout</a></li>
<li class=""><a href="module_logger.html">logger</a></li>
<li class="selected"><a href="module_menu.html">menu</a></li>
<li class=""><a href="module_paginator.html">paginator</a></li>
<li class=""><a href="module_profiler.html">profiler</a></li>
<li class=""><a href="module_profilerviewer.html">profilerviewer</a></li>
<li class=""><a href="module_resize.html">resize</a></li>
<li class=""><a href="module_selector.html">selector</a></li>
<li class=""><a href="module_slider.html">slider</a></li>
<li class=""><a href="module_tabview.html">tabview</a></li>
<li class=""><a href="module_treeview.html">treeview</a></li>
<li class=""><a href="module_uploader.html">uploader</a></li>
<li class=""><a href="module_yahoo.html">yahoo</a></li>
<li class=""><a href="module_yuiloader.html">yuiloader</a></li>
<li class=""><a href="module_yuitest.html">yuitest</a></li>
</ul>
</div>
<div class="module">
<h4>Classes</h4>
<ul class="content">
<li class=""><a href="YAHOO.widget.ContextMenu.html">YAHOO.widget.ContextMenu</a></li>
<li class=""><a href="YAHOO.widget.ContextMenuItem.html">YAHOO.widget.ContextMenuItem</a></li>
<li class=""><a href="YAHOO.widget.Menu.html">YAHOO.widget.Menu</a></li>
<li class=""><a href="YAHOO.widget.MenuBar.html">YAHOO.widget.MenuBar</a></li>
<li class=""><a href="YAHOO.widget.MenuBarItem.html">YAHOO.widget.MenuBarItem</a></li>
<li class="selected"><a href="YAHOO.widget.MenuItem.html">YAHOO.widget.MenuItem</a></li>
<li class=""><a href="YAHOO.widget.MenuManager.html">YAHOO.widget.MenuManager</a></li>
</ul>
</div>
<div class="module">
<h4>Files</h4>
<ul class="content">
<li class=""><a href="contextmenu.js.html">contextmenu.js</a></li>
<li class=""><a href="contextmenuitem.js.html">contextmenuitem.js</a></li>
<li class=""><a href="menu.js.html">menu.js</a></li>
<li class=""><a href="menubar.js.html">menubar.js</a></li>
<li class=""><a href="menubaritem.js.html">menubaritem.js</a></li>
<li class=""><a href="menuitem.js.html">menuitem.js</a></li>
<li class=""><a href="menumanager.js.html">menumanager.js</a></li>
</ul>
</div>
<div class="module">
<h4>Properties</h4>
<ul class="content">
<li class="private"><a href="#property__oAnchor">_oAnchor</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class="private"><a href="#property__oHelpTextEM">_oHelpTextEM</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class="private"><a href="#property__oOnclickAttributeValue">_oOnclickAttributeValue</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class="private"><a href="#property__oSubmenu">_oSubmenu</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class="private"><a href="#property__sClassName">_sClassName</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=" deprecated"><a href="#property_browser">browser</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_constructor">constructor</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_CSS_CLASS_NAME">CSS_CLASS_NAME</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_CSS_LABEL_CLASS_NAME">CSS_LABEL_CLASS_NAME</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_element">element</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_groupIndex">groupIndex</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_id">id</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_index">index</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_parent">parent</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_srcElement">srcElement</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_SUBMENU_TYPE">SUBMENU_TYPE</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
<li class=""><a href="#property_value">value</a>
<!--<code>&lt;Object&gt;</code>-->
</li>
</ul>
</div>
<div class="module">
<h4>Methods</h4>
<ul class="content">
<li class="private"><!--<code>void</code>-->
<a href="#method__createRootNodeStructure">_createRootNodeStructure</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#method__initSubTree">_initSubTree</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#method__onSubmenuBeforeHide">_onSubmenuBeforeHide</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#method_addClassNameForState">addClassNameForState</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_blur">blur</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configChecked">configChecked</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configClassName">configClassName</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configDisabled">configDisabled</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configEmphasis">configEmphasis</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configHelpText">configHelpText</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configOnClick">configOnClick</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configSelected">configSelected</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configStrongEmphasis">configStrongEmphasis</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configSubmenu">configSubmenu</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configTarget">configTarget</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configText">configText</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_configURL">configURL</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_destroy">destroy</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_focus">focus</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#method_getClassNameForState">getClassNameForState</a>
</li>
<li class=""><!--<code></code>-->
<a href="#method_getNextEnabledSibling">getNextEnabledSibling</a>
</li>
<li class=""><!--<code>YAHOO.widget.MenuItem</code>-->
<a href="#method_getPreviousEnabledSibling">getPreviousEnabledSibling</a>
</li>
<li class=""><!--<code>Boolean</code>-->
<a href="#method_hasFocus">hasFocus</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_init">init</a>
</li>
<li class=""><!--<code>void</code>-->
<a href="#method_initDefaultConfig">initDefaultConfig</a>
</li>
<li class="private"><!--<code>void</code>-->
<a href="#method_removeClassNameForState">removeClassNameForState</a>
</li>
<li class=""><!--<code>String</code>-->
<a href="#method_toString">toString</a>
</li>
</ul>
</div>
<div class="module">
<h4>Events</h4>
<ul class="content">
<li class="">
<a href="#event_blurEvent">blurEvent</a>
</li>
<li class="">
<a href="#event_clickEvent">clickEvent</a>
</li>
<li class="">
<a href="#event_destroyEvent">destroyEvent</a>
</li>
<li class="">
<a href="#event_focusEvent">focusEvent</a>
</li>
<li class="">
<a href="#event_keyDownEvent">keyDownEvent</a>
</li>
<li class="">
<a href="#event_keyPressEvent">keyPressEvent</a>
</li>
<li class="">
<a href="#event_keyUpEvent">keyUpEvent</a>
</li>
<li class="">
<a href="#event_mouseDownEvent">mouseDownEvent</a>
</li>
<li class="">
<a href="#event_mouseOutEvent">mouseOutEvent</a>
</li>
<li class="">
<a href="#event_mouseOverEvent">mouseOverEvent</a>
</li>
<li class="">
<a href="#event_mouseUpEvent">mouseUpEvent</a>
</li>
</ul>
</div>
<div class="module">
<h4>Configuration Attributes</h4>
<ul class="content">
<li class="">
<a href="#config_checked">checked</a>
</li>
<li class="">
<a href="#config_classname">classname</a>
</li>
<li class="">
<a href="#config_disabled">disabled</a>
</li>
<li class=" deprecated">
<a href="#config_emphasis">emphasis</a>
</li>
<li class=" deprecated">
<a href="#config_helptext">helptext</a>
</li>
<li class="">
<a href="#config_onclick">onclick</a>
</li>
<li class="">
<a href="#config_selected">selected</a>
</li>
<li class=" deprecated">
<a href="#config_strongemphasis">strongemphasis</a>
</li>
<li class="">
<a href="#config_submenu">submenu</a>
</li>
<li class="">
<a href="#config_target">target</a>
</li>
<li class="">
<a href="#config_text">text</a>
</li>
<li class="">
<a href="#config_url">url</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="ft">
<hr />
Copyright &copy; 2008 Yahoo! Inc. All rights reserved.
</div>
</div>
</body>
</html>