Files
Phraseanet/www/include/jslibs/yui2.8/docs/YAHOO.widget.Button.html
2011-02-16 16:09:48 +01:00

6253 lines
373 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>API: button YAHOO.widget.Button (YUI Library)</title>
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
<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">
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
<h3>Button&nbsp; <span class="subtitle">2.8.2r1</span></h3>
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a>
&gt; <a href="./module_button.html" title="button">button</a>
&gt; YAHOO.widget.Button
<form onsubmit="return false">
<div id="propertysearch">
Search: <input autocomplete="off" id="searchinput" />
<div id="searchresults">
&nbsp;
</div>
</div>
</form>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
<fieldset>
<legend>Filters</legend>
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
</fieldset>
</form>
<h2>
Class <b property="yui:name">YAHOO.widget.Button</b>
<span class="extends">
- extends <a href="YAHOO.util.Element.html" title="YAHOO.util.Element">YAHOO.util.Element</a>
</span>
</h2>
<!-- class tree goes here -->
<div class="summary description" property="yui:description">
The Button class creates a rich, graphical button.
</div>
<div class="section constructor details" rel="yui:constructor" resource="#constructor">
<h3 id="constructor">Constructor</h3>
<div class="content">
<div class="detail">
<strong property="yui:name">YAHOO.widget.Button</strong>
<code>
(
p_oElement
,
p_oAttributes
)
</code>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oElement</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String specifying the id attribute of the
<code>&#60;input&#62;</code>, <code>&#60;button&#62;</code>,
<code>&#60;a&#62;</code>, or <code>&#60;span&#62;</code> element to
be used to create the button.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oElement</span>
&lt;<span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-6043025">HTMLInputElement</a>|<a href="http://www.w3.org
/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-34812697">
HTMLButtonElement</a>|<a href="
http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#
ID-33759296">HTMLElement</a></span>&gt;
</code>
<span property="yui:description"> Object reference for the
<code>&#60;input&#62;</code>, <code>&#60;button&#62;</code>,
<code>&#60;a&#62;</code>, or <code>&#60;span&#62;</code> element to be
used to create the button.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oElement</span>
&lt;<span property="yui:type">Object</span>&gt;
</code>
<span property="yui:description"> Object literal specifying a set of
configuration attributes used to create the button.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oAttributes</span>
&lt;<span property="yui:type">Object</span>&gt;
</code>
<span property="yui:description"> Optional. Object literal specifying a set
of configuration attributes used to create the button.</span>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div rel="yui:properties" resource="#properties">
<div class="section field details">
<h3 id="properties">Properties</h3>
<div class="content">
<div class="protected" rel="yui:property" resource="#property__activationButtonPressed">
<h4><a name="property__activationButtonPressed" property="yui:name">_activationButtonPressed</a>
- <code>protected <span property="yui:type">Boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Boolean indicating if the mouse button that toggles
the button's "active" state has been pressed.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: false
</div>
<hr />
</div>
<div class="protected" rel="yui:property" resource="#property__activationKeyPressed">
<h4><a name="property__activationKeyPressed" property="yui:name">_activationKeyPressed</a>
- <code>protected <span property="yui:type">Boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Boolean indicating if the key(s) that toggle the button's
"active" state have been pressed.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: false
</div>
<hr />
</div>
<div class="protected" rel="yui:property" resource="#property__button">
<h4><a name="property__button" property="yui:name">_button</a>
- <code>protected <span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
level-one-html.html#ID-48250443">HTMLAnchorElement</a>|<a href="
http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html
#ID-34812697">HTMLButtonElement</a></span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Object reference to the button's internal
<code>&#60;a&#62;</code> or <code>&#60;button&#62;</code> element.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: null
</div>
<hr />
</div>
<div class="protected" rel="yui:property" resource="#property__hasKeyEventHandlers">
<h4><a name="property__hasKeyEventHandlers" property="yui:name">_hasKeyEventHandlers</a>
- <code>protected <span property="yui:type">Boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Boolean indicating if the button's "blur", "keydown" and
"keyup" event handlers are assigned
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: false
</div>
<hr />
</div>
<div class="protected" rel="yui:property" resource="#property__hasMouseEventHandlers">
<h4><a name="property__hasMouseEventHandlers" property="yui:name">_hasMouseEventHandlers</a>
- <code>protected <span property="yui:type">Boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Boolean indicating if the button's "mouseout,"
"mousedown," and "mouseup" event handlers are assigned
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: false
</div>
<hr />
</div>
<div class="protected" rel="yui:property" resource="#property__hiddenFields">
<h4><a name="property__hiddenFields" property="yui:name">_hiddenFields</a>
- <code>protected <span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
level-one-html.html#ID-6043025">HTMLInputElement</a>|Array</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Object reference to the <code>&#60;input&#62;</code>
element, or array of HTML form elements used to represent the button
when its parent form is submitted.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: null
</div>
<hr />
</div>
<div class="protected" rel="yui:property" resource="#property__menu">
<h4><a name="property__menu" property="yui:name">_menu</a>
- <code>protected <span property="yui:type">{<a href="YAHOO.widget.Overlay.html">YAHOO.widget.Overlay</a>|
<a href="YAHOO.widget.Menu.html">YAHOO.widget.Menu</a>}</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Object reference to the button's menu.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: null
</div>
<hr />
</div>
<div class="protected" rel="yui:property" resource="#property__nOptionRegionX">
<h4><a name="property__nOptionRegionX" property="yui:name">_nOptionRegionX</a>
- <code>protected <span property="yui:type">Number</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Number representing the X coordinate of the leftmost edge of the Button's
option region. Applies only to Buttons of type "split".
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: 0
</div>
<hr />
</div>
<div class="protected" rel="yui:property" resource="#property__onclickAttributeValue">
<h4><a name="property__onclickAttributeValue" property="yui:name">_onclickAttributeValue</a>
- <code>protected <span property="yui:type">Object</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Object reference to the button's current value for the
"onclick" configuration attribute.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: null
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_ACTIVATION_KEYS">
<h4><a name="property_ACTIVATION_KEYS" property="yui:name">ACTIVATION_KEYS</a>
- <code>final <span property="yui:type">Array</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Array of numbers representing keys that (when presed)
toggle the button's "active" state.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: [13, 32]
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_CHECK_ACTIVATION_KEYS">
<h4><a name="property_CHECK_ACTIVATION_KEYS" property="yui:name">CHECK_ACTIVATION_KEYS</a>
- <code>final <span property="yui:type">Array</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Array of numbers representing keys that (when pressed)
toggle the button's "checked" attribute.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: [32]
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_CLASS_NAME_PREFIX">
<h4><a name="property_CLASS_NAME_PREFIX" property="yui:name">CLASS_NAME_PREFIX</a>
- <code>final <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Prefix used for all class names applied to a Button.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: "yui-"
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_CSS_CLASS_NAME">
<h4><a name="property_CSS_CLASS_NAME" property="yui:name">CSS_CLASS_NAME</a>
- <code>final <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
String representing the CSS class(es) to be applied to
the button's root element.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: "button"
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_NODE_NAME">
<h4><a name="property_NODE_NAME" property="yui:name">NODE_NAME</a>
- <code>final <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
The name of the node to be used for the button's
root element.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: "SPAN"
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_OPTION_AREA_WIDTH">
<h4><a name="property_OPTION_AREA_WIDTH" property="yui:name">OPTION_AREA_WIDTH</a>
- <code>final <span property="yui:type">Number</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Width (in pixels) of the area of a split button that
when pressed will display a menu.
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: 20
</div>
<hr />
</div>
</div>
</div>
<div rel="yui:inheritance">
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.Element.html">
<h4>Properties inherited from <a href="YAHOO.util.Element.html" property="yui:name" title="YAHOO.util.Element">YAHOO.util.Element</a>:</h4>
<div class="content" rel="yui:properties">
<code>
<span rel="yui:property" resource="YAHOO.util.Element.html#property_DOM_EVENTS">
<a class="" href="YAHOO.util.Element.html#property_DOM_EVENTS" property="yui:name" title="DOM_EVENTS">DOM_EVENTS</a>
</span>
</code>
</div>
</div>
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.AttributeProvider.html">
<h4>Properties inherited from <a href="YAHOO.util.AttributeProvider.html" property="yui:name" title="YAHOO.util.AttributeProvider">YAHOO.util.AttributeProvider</a>:</h4>
<div class="content" rel="yui:properties">
<code>
<span rel="yui:property" resource="YAHOO.util.AttributeProvider.html#property__configs">
<a class="private" href="YAHOO.util.AttributeProvider.html#property__configs" property="yui:name" title="_configs">_configs</a>
</span>
</code>
</div>
</div>
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.EventProvider.html">
<h4>Properties inherited from <a href="YAHOO.util.EventProvider.html" property="yui:name" title="YAHOO.util.EventProvider">YAHOO.util.EventProvider</a>:</h4>
<div class="content" rel="yui:properties">
<code>
<span rel="yui:property" resource="YAHOO.util.EventProvider.html#property___yui_events">
<a class="private" href="YAHOO.util.EventProvider.html#property___yui_events" property="yui:name" title="__yui_events">__yui_events</a><span class="private">,</span>
</span>
<span rel="yui:property" resource="YAHOO.util.EventProvider.html#property___yui_subscribers">
<a class="private" href="YAHOO.util.EventProvider.html#property___yui_subscribers" property="yui:name" title="__yui_subscribers">__yui_subscribers</a>
</span>
</code>
</div>
</div>
</div>
</div>
<div rel="yui:methods" resource="#methods">
<div class="section method details">
<h3 id="methods">Methods</h3>
<div class="content">
<div class="protected" rel="yui:method" resource="#method__addListenersToForm">
<h4>
<a name="method__addListenersToForm">_addListenersToForm</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_addListenersToForm</strong>
(
)
</code>
<div class="description" property="yui:description">
Adds event handlers to the button's form.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__hideMenu">
<h4>
<a name="method__hideMenu">_hideMenu</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_hideMenu</strong>
(
)
</code>
<div class="description" property="yui:description">
Hides the button's menu.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__isActivationKey">
<h4>
<a name="method__isActivationKey">_isActivationKey</a></h4>
<div class="detail" >
<code>
protected
Boolean
<strong property="yui:name">_isActivationKey</strong>
(
p_nKeyCode
)
</code>
<div class="description" property="yui:description">
Determines if the specified keycode is one that toggles
the button's "active" state.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_nKeyCode</span>
&lt;<span property="yui:type">Number</span>&gt;
</code>
<span property="yui:description"> Number representing the keycode to
be evaluated.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__isSplitButtonOptionKey">
<h4>
<a name="method__isSplitButtonOptionKey">_isSplitButtonOptionKey</a></h4>
<div class="detail" >
<code>
protected
Boolean
<strong property="yui:name">_isSplitButtonOptionKey</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
Determines if the specified keycode is one that toggles
the display of the split button's menu.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onAppendTo">
<h4>
<a name="method__onAppendTo">_onAppendTo</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onAppendTo</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"appendTo" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onBlur">
<h4>
<a name="method__onBlur">_onBlur</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onBlur</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"blur" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onClick">
<h4>
<a name="method__onClick">_onClick</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onClick</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"click" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onDblClick">
<h4>
<a name="method__onDblClick">_onDblClick</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onDblClick</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"dblclick" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onDocumentKeyUp">
<h4>
<a name="method__onDocumentKeyUp">_onDocumentKeyUp</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onDocumentKeyUp</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"keyup" event handler for the document.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onDocumentMouseDown">
<h4>
<a name="method__onDocumentMouseDown">_onDocumentMouseDown</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onDocumentMouseDown</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"mousedown" event handler for the document.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onDocumentMouseUp">
<h4>
<a name="method__onDocumentMouseUp">_onDocumentMouseUp</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onDocumentMouseUp</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"mouseup" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onFocus">
<h4>
<a name="method__onFocus">_onFocus</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onFocus</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"focus" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onFormReset">
<h4>
<a name="method__onFormReset">_onFormReset</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onFormReset</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"reset" event handler for the button's form.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event
object passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onFormSubmit">
<h4>
<a name="method__onFormSubmit">_onFormSubmit</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onFormSubmit</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"submit" event handler for the button's form.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event
object passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onKeyDown">
<h4>
<a name="method__onKeyDown">_onKeyDown</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onKeyDown</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"keydown" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onKeyUp">
<h4>
<a name="method__onKeyUp">_onKeyUp</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onKeyUp</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"keyup" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method__onLabelClick">
<h4>
<a name="method__onLabelClick">_onLabelClick</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">_onLabelClick</strong>
(
event
)
</code>
<div class="description" property="yui:description">
"click" event handler for the Button's
<code>&#60;label&#62;</code> element.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__onMenuClick">
<h4>
<a name="method__onMenuClick">_onMenuClick</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_onMenuClick</strong>
(
p_sType
,
p_aArgs
)
</code>
<div class="description" property="yui:description">
"click" event handler for the button's menu.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sType</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String representing the name of the event
that was fired.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_aArgs</span>
&lt;<span property="yui:type">Array</span>&gt;
</code>
<span property="yui:description"> Array of arguments sent when the event
was fired.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__onMenuHide">
<h4>
<a name="method__onMenuHide">_onMenuHide</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_onMenuHide</strong>
(
p_sType
)
</code>
<div class="description" property="yui:description">
"hide" event handler for the button's menu.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sType</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String representing the name of the event
that was fired.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__onMenuKeyDown">
<h4>
<a name="method__onMenuKeyDown">_onMenuKeyDown</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_onMenuKeyDown</strong>
(
p_sType
,
p_aArgs
)
</code>
<div class="description" property="yui:description">
"keydown" event handler for the button's menu.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sType</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String representing the name of the event
that was fired.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_aArgs</span>
&lt;<span property="yui:type">Array</span>&gt;
</code>
<span property="yui:description"> Array of arguments sent when the event
was fired.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__onMenuRender">
<h4>
<a name="method__onMenuRender">_onMenuRender</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_onMenuRender</strong>
(
p_sType
)
</code>
<div class="description" property="yui:description">
"render" event handler for the button's menu.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sType</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String representing the name of the
event thatwas fired.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__onMenuShow">
<h4>
<a name="method__onMenuShow">_onMenuShow</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_onMenuShow</strong>
(
p_sType
)
</code>
<div class="description" property="yui:description">
"show" event handler for the button's menu.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sType</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String representing the name of the event
that was fired.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onMouseDown">
<h4>
<a name="method__onMouseDown">_onMouseDown</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onMouseDown</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"mousedown" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onMouseMove">
<h4>
<a name="method__onMouseMove">_onMouseMove</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onMouseMove</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"mousemove" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onMouseOut">
<h4>
<a name="method__onMouseOut">_onMouseOut</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onMouseOut</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"mouseout" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onMouseOver">
<h4>
<a name="method__onMouseOver">_onMouseOver</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onMouseOver</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"mouseover" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onMouseUp">
<h4>
<a name="method__onMouseUp">_onMouseUp</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onMouseUp</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"mouseup" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__onOption">
<h4>
<a name="method__onOption">_onOption</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_onOption</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"option" event handler for the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method__onSelectedMenuItemChange">
<h4>
<a name="method__onSelectedMenuItemChange">_onSelectedMenuItemChange</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">_onSelectedMenuItemChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
"selectedMenuItemChange" event handler for the Button's
"selectedMenuItem" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__setChecked">
<h4>
<a name="method__setChecked">_setChecked</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_setChecked</strong>
(
p_bChecked
)
</code>
<div class="description" property="yui:description">
Sets the value of the button's "target" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_bChecked</span>
&lt;<span property="yui:type">Boolean</span>&gt;
</code>
<span property="yui:description"> Boolean indicating the value for
the button's "checked" attribute.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__setDisabled">
<h4>
<a name="method__setDisabled">_setDisabled</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_setDisabled</strong>
(
p_bDisabled
)
</code>
<div class="description" property="yui:description">
Sets the value of the button's "disabled" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_bDisabled</span>
&lt;<span property="yui:type">Boolean</span>&gt;
</code>
<span property="yui:description"> Boolean indicating the value for
the button's "disabled" attribute.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__setHref">
<h4>
<a name="method__setHref">_setHref</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_setHref</strong>
(
p_sHref
)
</code>
<div class="description" property="yui:description">
Sets the value of the button's "href" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sHref</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String indicating the value for the button's
"href" attribute.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__setLabel">
<h4>
<a name="method__setLabel">_setLabel</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_setLabel</strong>
(
p_sLabel
)
</code>
<div class="description" property="yui:description">
Sets the value of the button's "label" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sLabel</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String indicating the value for the button's
"label" attribute.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__setMenu">
<h4>
<a name="method__setMenu">_setMenu</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_setMenu</strong>
(
p_oMenu
)
</code>
<div class="description" property="yui:description">
Sets the value of the button's "menu" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oMenu</span>
&lt;<span property="yui:type">Object</span>&gt;
</code>
<span property="yui:description"> Object indicating the value for the button's
"menu" attribute.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__setOnClick">
<h4>
<a name="method__setOnClick">_setOnClick</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_setOnClick</strong>
(
p_oObject
)
</code>
<div class="description" property="yui:description">
Sets the value of the button's "onclick" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oObject</span>
&lt;<span property="yui:type">Object</span>&gt;
</code>
<span property="yui:description"> Object indicating the value for the button's
"onclick" attribute.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__setTabIndex">
<h4>
<a name="method__setTabIndex">_setTabIndex</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_setTabIndex</strong>
(
p_nTabIndex
)
</code>
<div class="description" property="yui:description">
Sets the value of the button's "tabindex" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_nTabIndex</span>
&lt;<span property="yui:type">Number</span>&gt;
</code>
<span property="yui:description"> Number indicating the value for the
button's "tabindex" attribute.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__setTarget">
<h4>
<a name="method__setTarget">_setTarget</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_setTarget</strong>
(
p_sTarget
)
</code>
<div class="description" property="yui:description">
Sets the value of the button's "target" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sTarget</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String indicating the value for the button's
"target" attribute.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__setTitle">
<h4>
<a name="method__setTitle">_setTitle</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_setTitle</strong>
(
p_nTabIndex
)
</code>
<div class="description" property="yui:description">
Sets the value of the button's "title" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_nTabIndex</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> Number indicating the value for
the button's "title" attribute.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__setType">
<h4>
<a name="method__setType">_setType</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_setType</strong>
(
p_sType
)
</code>
<div class="description" property="yui:description">
Sets the value of the button's "type" attribute.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sType</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String indicating the value for the button's
"type" attribute.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method__showMenu">
<h4>
<a name="method__showMenu">_showMenu</a></h4>
<div class="detail" >
<code>
protected
void
<strong property="yui:name">_showMenu</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
Shows the button's menu.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object
passed back by the event utility (YAHOO.util.Event) that triggered
the display of the menu.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_addStateCSSClasses">
<h4>
<a name="method_addStateCSSClasses">addStateCSSClasses</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">addStateCSSClasses</strong>
(
)
</code>
<div class="description" property="yui:description">
Appends state-specific CSS classes to the button's root
DOM element.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_blur">
<h4>
<a name="method_blur">blur</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">blur</strong>
(
)
</code>
<div class="description" property="yui:description">
Causes the button to lose focus and fires the button's
"blur" event.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_createButtonElement">
<h4>
<a name="method_createButtonElement">createButtonElement</a></h4>
<div class="detail" >
<code>
<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
level-one-html.html#ID-58190037">HTMLElement</a>
<strong property="yui:name">createButtonElement</strong>
(
p_sType
)
</code>
<div class="description" property="yui:description">
Creates the button's HTML elements.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sType</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String indicating the type of element
to create.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_createHiddenFields">
<h4>
<a name="method_createHiddenFields">createHiddenFields</a></h4>
<div class="detail" >
<code>
<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
level-one-html.html#ID-6043025">HTMLInputElement</a>|Array
<strong property="yui:name">createHiddenFields</strong>
(
)
</code>
<div class="description" property="yui:description">
Creates the button's hidden form field and appends it
to its parent form.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method_createInputElement">
<h4>
<a name="method_createInputElement">createInputElement</a></h4>
<div class="detail" >
<code>
private
<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-6043025">HTMLInputElement</a>
<strong property="yui:name">createInputElement</strong>
(
p_sType
,
p_sName
,
p_sValue
,
p_bChecked
)
</code>
<div class="description" property="yui:description">
Creates an <code>&#60;input&#62;</code> element of the
specified type.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sType</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String specifying the type of
<code>&#60;input&#62;</code> element to create.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sName</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String specifying the name of
<code>&#60;input&#62;</code> element to create.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sValue</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String specifying the value of
<code>&#60;input&#62;</code> element to create.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_bChecked</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> Boolean specifying if the
<code>&#60;input&#62;</code> element is to be checked.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_destroy">
<h4>
<a name="method_destroy">destroy</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">destroy</strong>
(
)
</code>
<div class="description" property="yui:description">
Removes the button's element from its parent element and
removes all event handlers.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_focus">
<h4>
<a name="method_focus">focus</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">focus</strong>
(
)
</code>
<div class="description" property="yui:description">
Causes the button to receive the focus and fires the
button's "focus" event.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getForm">
<h4>
<a name="method_getForm">getForm</a></h4>
<div class="detail" >
<code>
<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-
20000929/level-one-html.html#ID-40002357">HTMLFormElement</a>
<strong property="yui:name">getForm</strong>
(
)
</code>
<div class="description" property="yui:description">
Returns a reference to the button's parent form.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getHiddenFields">
<h4>
<a name="method_getHiddenFields">getHiddenFields</a></h4>
<div class="detail" >
<code>
<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
level-one-html.html#ID-6043025">HTMLInputElement</a>|Array
<strong property="yui:name">getHiddenFields</strong>
(
)
</code>
<div class="description" property="yui:description">
Returns an <code>&#60;input&#62;</code> element or
array of form elements used to represent the button when its parent
form is submitted.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getMenu">
<h4>
<a name="method_getMenu">getMenu</a></h4>
<div class="detail" >
<code>
<a href="YAHOO.widget.Overlay.html">
YAHOO.widget.Overlay</a>|<a
href="YAHOO.widget.Menu.html">YAHOO.widget.Menu</a>
<strong property="yui:name">getMenu</strong>
(
)
</code>
<div class="description" property="yui:description">
Returns a reference to the button's menu.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_hasFocus">
<h4>
<a name="method_hasFocus">hasFocus</a></h4>
<div class="detail" >
<code>
Boolean
<strong property="yui:name">hasFocus</strong>
(
)
</code>
<div class="description" property="yui:description">
Returns a boolean indicating whether or not the button
has focus.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_init">
<h4>
<a name="method_init">init</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">init</strong>
(
p_oElement
,
p_oAttributes
)
</code>
<div class="description" property="yui:description">
The Button class's initialization method.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oElement</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String specifying the id attribute of the
<code>&#60;input&#62;</code>, <code>&#60;button&#62;</code>,
<code>&#60;a&#62;</code>, or <code>&#60;span&#62;</code> element to
be used to create the button.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oElement</span>
&lt;<span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
level-one-html.html#ID-6043025">HTMLInputElement</a>|<a href="http://
www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html
#ID-34812697">HTMLButtonElement</a>|<a href="http://www.w3.org/TR
/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-33759296">
HTMLElement</a></span>&gt;
</code>
<span property="yui:description"> Object reference for the
<code>&#60;input&#62;</code>, <code>&#60;button&#62;</code>,
<code>&#60;a&#62;</code>, or <code>&#60;span&#62;</code> element to be
used to create the button.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oElement</span>
&lt;<span property="yui:type">Object</span>&gt;
</code>
<span property="yui:description"> Object literal specifying a set of
configuration attributes used to create the button.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oAttributes</span>
&lt;<span property="yui:type">Object</span>&gt;
</code>
<span property="yui:description"> Optional. Object literal specifying a
set of configuration attributes used to create the button.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_initAttributes">
<h4>
<a name="method_initAttributes">initAttributes</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">initAttributes</strong>
(
p_oAttributes
)
</code>
<div class="description" property="yui:description">
Initializes all of the configuration attributes used to
create the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oAttributes</span>
&lt;<span property="yui:type">Object</span>&gt;
</code>
<span property="yui:description"> Object literal specifying a set of
configuration attributes used to create the button.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method_initConfig">
<h4>
<a name="method_initConfig">initConfig</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">initConfig</strong>
(
Object
)
</code>
<div class="description" property="yui:description">
Initializes the set of configuration attributes that are
used to instantiate the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">Object</span>
&lt;<span property="yui:type">Object</span>&gt;
</code>
<span property="yui:description"> representing the button's set of
configuration attributes.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_isActive">
<h4>
<a name="method_isActive">isActive</a></h4>
<div class="detail" >
<code>
Boolean
<strong property="yui:name">isActive</strong>
(
)
</code>
<div class="description" property="yui:description">
Returns a boolean indicating whether or not the button
is active.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_removeHiddenFields">
<h4>
<a name="method_removeHiddenFields">removeHiddenFields</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">removeHiddenFields</strong>
(
)
</code>
<div class="description" property="yui:description">
Removes the button's hidden form field(s) from its
parent form.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_removeStateCSSClasses">
<h4>
<a name="method_removeStateCSSClasses">removeStateCSSClasses</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">removeStateCSSClasses</strong>
(
)
</code>
<div class="description" property="yui:description">
Removes state-specific CSS classes to the button's root
DOM element.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method_setAttributeFromDOMAttribute">
<h4>
<a name="method_setAttributeFromDOMAttribute">setAttributeFromDOMAttribute</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">setAttributeFromDOMAttribute</strong>
(
p_sAttribute
)
</code>
<div class="description" property="yui:description">
Gets the value of the specified DOM attribute and sets it
into the collection of configuration attributes used to configure
the button.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sAttribute</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String representing the name of the
attribute to retrieve from the DOM element.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method_setAttributesFromSrcElement">
<h4>
<a name="method_setAttributesFromSrcElement">setAttributesFromSrcElement</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">setAttributesFromSrcElement</strong>
(
p_oElement
,
p_oAttributes
)
</code>
<div class="description" property="yui:description">
Gets the values for all the attributes of the source element
(either <code>&#60;input&#62;</code> or <code>&#60;a&#62;</code>) that
map to Button configuration attributes and sets them into a collection
that is passed to the Button constructor.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oElement</span>
&lt;<span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-6043025">HTMLInputElement</a>|<a href="http://www.w3.org/
TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-
48250443">HTMLAnchorElement</a></span>&gt;
</code>
<span property="yui:description"> Object reference to the HTML
element (either <code>&#60;input&#62;</code> or <code>&#60;span&#62;
</code>) used to create the button.</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oAttributes</span>
&lt;<span property="yui:type">Object</span>&gt;
</code>
<span property="yui:description"> Object reference for the collection of
configuration attributes used to create the button.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method_setFormElementProperties">
<h4>
<a name="method_setFormElementProperties">setFormElementProperties</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">setFormElementProperties</strong>
(
)
</code>
<div class="description" property="yui:description">
Gets the value of the attributes from the form element
and sets them into the collection of configuration attributes used to
configure the button.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="protected" rel="yui:method" resource="#method_submitForm">
<h4>
<a name="method_submitForm">submitForm</a></h4>
<div class="detail" >
<code>
protected
Boolean
<strong property="yui:name">submitForm</strong>
(
)
</code>
<div class="description" property="yui:description">
Submits the form to which the button belongs. Returns
true if the form was submitted successfully, false if the submission
was cancelled.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_toString">
<h4>
<a name="method_toString">toString</a></h4>
<div class="detail" >
<code>
String
<strong property="yui:name">toString</strong>
(
)
</code>
<div class="description" property="yui:description">
Returns a string representing the button.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_YAHOO.widget.Button.addHiddenFieldsToForm">
<h4>
<a name="method_YAHOO.widget.Button.addHiddenFieldsToForm">YAHOO.widget.Button.addHiddenFieldsToForm</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">YAHOO.widget.Button.addHiddenFieldsToForm</strong>
(
p_oForm
)
</code>
<div class="description" property="yui:description">
Searches the specified form and adds hidden fields for
instances of YAHOO.widget.Button that are of type "radio," "checkbox,"
"menu," and "split."
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oForm</span>
&lt;<span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-40002357">HTMLFormElement</a></span>&gt;
</code>
<span property="yui:description"> Object reference
for the form to search.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_YAHOO.widget.Button.getButton">
<h4>
<a name="method_YAHOO.widget.Button.getButton">YAHOO.widget.Button.getButton</a></h4>
<div class="detail" >
<code>
YAHOO.widget.Button
<strong property="yui:name">YAHOO.widget.Button.getButton</strong>
(
p_sId
)
</code>
<div class="description" property="yui:description">
Returns a button with the specified id.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_sId</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> String specifying the id of the root node of the
HTML element representing the button to be retrieved.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_YAHOO.widget.Button.onFormKeyPress">
<h4>
<a name="method_YAHOO.widget.Button.onFormKeyPress">YAHOO.widget.Button.onFormKeyPress</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">YAHOO.widget.Button.onFormKeyPress</strong>
(
p_oEvent
)
</code>
<div class="description" property="yui:description">
"keypress" event handler for the button's form.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">p_oEvent</span>
&lt;<span property="yui:type">Event</span>&gt;
</code>
<span property="yui:description"> Object representing the DOM event object passed
back by the event utility (YAHOO.util.Event).</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
</div>
</div>
<div rel="yui:inheritance">
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.Element.html">
<h4>Methods inherited from <a href="YAHOO.util.Element.html" property="yui:name" title="YAHOO.util.Element">YAHOO.util.Element</a>:</h4>
<div class="content" rel="yui:methods">
<code>
<span rel="yui:method" resource="YAHOO.util.Element.html#method__setHTMLAttrConfig">
<a class="private" href="YAHOO.util.Element.html#method__setHTMLAttrConfig" property="yui:name" title="_setHTMLAttrConfig">_setHTMLAttrConfig</a><span class="private">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_addClass">
<a class="" href="YAHOO.util.Element.html#method_addClass" property="yui:name" title="addClass">addClass</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_addListener">
<a class="" href="YAHOO.util.Element.html#method_addListener" property="yui:name" title="addListener">addListener</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_appendChild">
<a class="" href="YAHOO.util.Element.html#method_appendChild" property="yui:name" title="appendChild">appendChild</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_appendTo">
<a class="" href="YAHOO.util.Element.html#method_appendTo" property="yui:name" title="appendTo">appendTo</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_delegate">
<a class="" href="YAHOO.util.Element.html#method_delegate" property="yui:name" title="delegate">delegate</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_fireQueue">
<a class="" href="YAHOO.util.Element.html#method_fireQueue" property="yui:name" title="fireQueue">fireQueue</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_getElementsByClassName">
<a class="" href="YAHOO.util.Element.html#method_getElementsByClassName" property="yui:name" title="getElementsByClassName">getElementsByClassName</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_getElementsByTagName">
<a class="" href="YAHOO.util.Element.html#method_getElementsByTagName" property="yui:name" title="getElementsByTagName">getElementsByTagName</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_getStyle">
<a class="" href="YAHOO.util.Element.html#method_getStyle" property="yui:name" title="getStyle">getStyle</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_hasChildNodes">
<a class="" href="YAHOO.util.Element.html#method_hasChildNodes" property="yui:name" title="hasChildNodes">hasChildNodes</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_hasClass">
<a class="" href="YAHOO.util.Element.html#method_hasClass" property="yui:name" title="hasClass">hasClass</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_initAttributes">
<a class="" href="YAHOO.util.Element.html#method_initAttributes" property="yui:name" title="initAttributes">initAttributes</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_insertBefore">
<a class="" href="YAHOO.util.Element.html#method_insertBefore" property="yui:name" title="insertBefore">insertBefore</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_on">
<a class="" href="YAHOO.util.Element.html#method_on" property="yui:name" title="on">on</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_removeChild">
<a class="" href="YAHOO.util.Element.html#method_removeChild" property="yui:name" title="removeChild">removeChild</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_removeClass">
<a class="" href="YAHOO.util.Element.html#method_removeClass" property="yui:name" title="removeClass">removeClass</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_removeDelegate">
<a class="" href="YAHOO.util.Element.html#method_removeDelegate" property="yui:name" title="removeDelegate">removeDelegate</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_removeListener">
<a class="" href="YAHOO.util.Element.html#method_removeListener" property="yui:name" title="removeListener">removeListener</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_replaceChild">
<a class="" href="YAHOO.util.Element.html#method_replaceChild" property="yui:name" title="replaceChild">replaceChild</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_replaceClass">
<a class="" href="YAHOO.util.Element.html#method_replaceClass" property="yui:name" title="replaceClass">replaceClass</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_setStyle">
<a class="" href="YAHOO.util.Element.html#method_setStyle" property="yui:name" title="setStyle">setStyle</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.Element.html#method_subscribe">
<a class="" href="YAHOO.util.Element.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a>
</span>
</code>
</div>
</div>
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.AttributeProvider.html">
<h4>Methods inherited from <a href="YAHOO.util.AttributeProvider.html" property="yui:name" title="YAHOO.util.AttributeProvider">YAHOO.util.AttributeProvider</a>:</h4>
<div class="content" rel="yui:methods">
<code>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_configureAttribute">
<a class=" deprecated" href="YAHOO.util.AttributeProvider.html#method_configureAttribute" property="yui:name" title="configureAttribute">configureAttribute</a><span class=" deprecated">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_fireBeforeChangeEvent">
<a class="" href="YAHOO.util.AttributeProvider.html#method_fireBeforeChangeEvent" property="yui:name" title="fireBeforeChangeEvent">fireBeforeChangeEvent</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_fireChangeEvent">
<a class="" href="YAHOO.util.AttributeProvider.html#method_fireChangeEvent" property="yui:name" title="fireChangeEvent">fireChangeEvent</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_get">
<a class="" href="YAHOO.util.AttributeProvider.html#method_get" property="yui:name" title="get">get</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_getAttributeConfig">
<a class="private" href="YAHOO.util.AttributeProvider.html#method_getAttributeConfig" property="yui:name" title="getAttributeConfig">getAttributeConfig</a><span class="private">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_getAttributeKeys">
<a class="" href="YAHOO.util.AttributeProvider.html#method_getAttributeKeys" property="yui:name" title="getAttributeKeys">getAttributeKeys</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_refresh">
<a class="" href="YAHOO.util.AttributeProvider.html#method_refresh" property="yui:name" title="refresh">refresh</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_register">
<a class=" deprecated" href="YAHOO.util.AttributeProvider.html#method_register" property="yui:name" title="register">register</a><span class=" deprecated">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_resetAttributeConfig">
<a class="private" href="YAHOO.util.AttributeProvider.html#method_resetAttributeConfig" property="yui:name" title="resetAttributeConfig">resetAttributeConfig</a><span class="private">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_resetValue">
<a class="" href="YAHOO.util.AttributeProvider.html#method_resetValue" property="yui:name" title="resetValue">resetValue</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_set">
<a class="" href="YAHOO.util.AttributeProvider.html#method_set" property="yui:name" title="set">set</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_setAttributeConfig">
<a class="" href="YAHOO.util.AttributeProvider.html#method_setAttributeConfig" property="yui:name" title="setAttributeConfig">setAttributeConfig</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.AttributeProvider.html#method_setAttributes">
<a class="" href="YAHOO.util.AttributeProvider.html#method_setAttributes" property="yui:name" title="setAttributes">setAttributes</a>
</span>
</code>
</div>
</div>
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.EventProvider.html">
<h4>Methods inherited from <a href="YAHOO.util.EventProvider.html" property="yui:name" title="YAHOO.util.EventProvider">YAHOO.util.EventProvider</a>:</h4>
<div class="content" rel="yui:methods">
<code>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_createEvent">
<a class="" href="YAHOO.util.EventProvider.html#method_createEvent" property="yui:name" title="createEvent">createEvent</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_fireEvent">
<a class="" href="YAHOO.util.EventProvider.html#method_fireEvent" property="yui:name" title="fireEvent">fireEvent</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_hasEvent">
<a class="" href="YAHOO.util.EventProvider.html#method_hasEvent" property="yui:name" title="hasEvent">hasEvent</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_subscribe">
<a class="" href="YAHOO.util.EventProvider.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_unsubscribe">
<a class="" href="YAHOO.util.EventProvider.html#method_unsubscribe" property="yui:name" title="unsubscribe">unsubscribe</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_unsubscribeAll">
<a class="" href="YAHOO.util.EventProvider.html#method_unsubscribeAll" property="yui:name" title="unsubscribeAll">unsubscribeAll</a>
</span>
</code>
</div>
</div>
</div>
</div>
<div rel="yui:events" resource="#events">
<div class="section method details">
<h3 id="events">Events</h3>
<div class="content">
<div class="" rel="yui:event" resource="#event_beforeCheckedChange">
<h4>
<a name="event_beforeCheckedChange">beforeCheckedChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeCheckedChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'checked' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeContainerChange">
<h4>
<a name="event_beforeContainerChange">beforeContainerChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeContainerChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'container' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeDisabledChange">
<h4>
<a name="event_beforeDisabledChange">beforeDisabledChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeDisabledChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'disabled' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeFocusmenuChange">
<h4>
<a name="event_beforeFocusmenuChange">beforeFocusmenuChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeFocusmenuChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'focusmenu' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeHrefChange">
<h4>
<a name="event_beforeHrefChange">beforeHrefChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeHrefChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'href' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeLabelChange">
<h4>
<a name="event_beforeLabelChange">beforeLabelChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeLabelChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'label' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeLazyloadmenuChange">
<h4>
<a name="event_beforeLazyloadmenuChange">beforeLazyloadmenuChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeLazyloadmenuChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'lazyloadmenu' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeMenualignmentChange">
<h4>
<a name="event_beforeMenualignmentChange">beforeMenualignmentChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeMenualignmentChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'menualignment' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeMenuChange">
<h4>
<a name="event_beforeMenuChange">beforeMenuChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeMenuChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'menu' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeMenuclassnameChange">
<h4>
<a name="event_beforeMenuclassnameChange">beforeMenuclassnameChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeMenuclassnameChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'menuclassname' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeMenumaxheightChange">
<h4>
<a name="event_beforeMenumaxheightChange">beforeMenumaxheightChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeMenumaxheightChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'menumaxheight' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeMenuminscrollheightChange">
<h4>
<a name="event_beforeMenuminscrollheightChange">beforeMenuminscrollheightChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeMenuminscrollheightChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'menuminscrollheight' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeNameChange">
<h4>
<a name="event_beforeNameChange">beforeNameChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeNameChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'name' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeOnclickChange">
<h4>
<a name="event_beforeOnclickChange">beforeOnclickChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeOnclickChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'onclick' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeReplaceLabelChange">
<h4>
<a name="event_beforeReplaceLabelChange">beforeReplaceLabelChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeReplaceLabelChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'replaceLabel' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeSelectedMenuItemChange">
<h4>
<a name="event_beforeSelectedMenuItemChange">beforeSelectedMenuItemChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeSelectedMenuItemChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'selectedMenuItem' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeSrcelementChange">
<h4>
<a name="event_beforeSrcelementChange">beforeSrcelementChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeSrcelementChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'srcelement' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeTabindexChange">
<h4>
<a name="event_beforeTabindexChange">beforeTabindexChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeTabindexChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'tabindex' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeTargetChange">
<h4>
<a name="event_beforeTargetChange">beforeTargetChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeTargetChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'target' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeTitleChange">
<h4>
<a name="event_beforeTitleChange">beforeTitleChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeTitleChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'title' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeTypeChange">
<h4>
<a name="event_beforeTypeChange">beforeTypeChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeTypeChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'type' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_beforeValueChange">
<h4>
<a name="event_beforeValueChange">beforeValueChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">beforeValueChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires before the value for the configuration attribute 'value' changes. Return false to cancel the attribute change.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_blur">
<h4>
<a name="event_blur">blur</a></h4>
<div class="detail">
<code>
<strong property="yui:name">blur</strong>
(
)
</code>
<div class="description" property="yui:description">
Fires when the menu item loses the input focus. Passes back
a single object representing the original DOM event object passed back by
the event utility (YAHOO.util.Event) when the event was fired. See
<a href="YAHOO.util.Element.html#addListener">Element.addListener</a> for
more information on listening for this event.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_checkedChange">
<h4>
<a name="event_checkedChange">checkedChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">checkedChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'checked' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_containerChange">
<h4>
<a name="event_containerChange">containerChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">containerChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'container' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_disabledChange">
<h4>
<a name="event_disabledChange">disabledChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">disabledChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'disabled' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_focus">
<h4>
<a name="event_focus">focus</a></h4>
<div class="detail">
<code>
<strong property="yui:name">focus</strong>
(
)
</code>
<div class="description" property="yui:description">
Fires when the menu item receives focus. Passes back a
single object representing the original DOM event object passed back by
the event utility (YAHOO.util.Event) when the event was fired. See
<a href="YAHOO.util.Element.html#addListener">Element.addListener</a>
for more information on listening for this event.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_focusmenuChange">
<h4>
<a name="event_focusmenuChange">focusmenuChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">focusmenuChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'focusmenu' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_hrefChange">
<h4>
<a name="event_hrefChange">hrefChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">hrefChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'href' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_labelChange">
<h4>
<a name="event_labelChange">labelChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">labelChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'label' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_lazyloadmenuChange">
<h4>
<a name="event_lazyloadmenuChange">lazyloadmenuChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">lazyloadmenuChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'lazyloadmenu' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_menualignmentChange">
<h4>
<a name="event_menualignmentChange">menualignmentChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">menualignmentChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'menualignment' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_menuChange">
<h4>
<a name="event_menuChange">menuChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">menuChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'menu' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_menuclassnameChange">
<h4>
<a name="event_menuclassnameChange">menuclassnameChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">menuclassnameChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'menuclassname' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_menumaxheightChange">
<h4>
<a name="event_menumaxheightChange">menumaxheightChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">menumaxheightChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'menumaxheight' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_menuminscrollheightChange">
<h4>
<a name="event_menuminscrollheightChange">menuminscrollheightChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">menuminscrollheightChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'menuminscrollheight' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_nameChange">
<h4>
<a name="event_nameChange">nameChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">nameChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'name' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_onclickChange">
<h4>
<a name="event_onclickChange">onclickChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">onclickChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'onclick' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_option">
<h4>
<a name="event_option">option</a></h4>
<div class="detail">
<code>
<strong property="yui:name">option</strong>
(
)
</code>
<div class="description" property="yui:description">
Fires when the user invokes the button's option. Passes
back a single object representing the original DOM event (either
"mousedown" or "keydown") that caused the "option" event to fire. See
<a href="YAHOO.util.Element.html#addListener">Element.addListener</a>
for more information on listening for this event.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_replaceLabelChange">
<h4>
<a name="event_replaceLabelChange">replaceLabelChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">replaceLabelChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'replaceLabel' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_selectedMenuItemChange">
<h4>
<a name="event_selectedMenuItemChange">selectedMenuItemChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">selectedMenuItemChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'selectedMenuItem' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_srcelementChange">
<h4>
<a name="event_srcelementChange">srcelementChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">srcelementChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'srcelement' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_tabindexChange">
<h4>
<a name="event_tabindexChange">tabindexChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">tabindexChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'tabindex' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_targetChange">
<h4>
<a name="event_targetChange">targetChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">targetChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'target' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_titleChange">
<h4>
<a name="event_titleChange">titleChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">titleChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'title' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_typeChange">
<h4>
<a name="event_typeChange">typeChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">typeChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'type' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_valueChange">
<h4>
<a name="event_valueChange">valueChange</a></h4>
<div class="detail">
<code>
<strong property="yui:name">valueChange</strong>
(
event
)
</code>
<div class="description" property="yui:description">
Fires when the value for the configuration attribute 'value' changes.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">event</span>
&lt;<span property="yui:type">{oldValue: any, newValue: any}</span>&gt;
</code>
<span property="yui:description">An object containing the previous attribute value and the new value.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
</div>
</div>
<div rel="yui:inheritance">
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.Element.html">
<h4>Events inherited from <a href="YAHOO.util.Element.html" property="yui:name" title="YAHOO.util.Element">YAHOO.util.Element</a>:</h4>
<div class="content" rel="yui:events">
<code>
<span rel="yui:event" resource="YAHOO.util.Element.html#event_appendTo">
<a class="" href="YAHOO.util.Element.html#event_appendTo" property="yui:name" title="appendTo">appendTo</a><span class="">,</span>
</span>
<span rel="yui:event" resource="YAHOO.util.Element.html#event_available">
<a class="" href="YAHOO.util.Element.html#event_available" property="yui:name" title="available">available</a><span class="">,</span>
</span>
<span rel="yui:event" resource="YAHOO.util.Element.html#event_beforeAppendTo">
<a class="" href="YAHOO.util.Element.html#event_beforeAppendTo" property="yui:name" title="beforeAppendTo">beforeAppendTo</a><span class="">,</span>
</span>
<span rel="yui:event" resource="YAHOO.util.Element.html#event_beforeElementChange">
<a class="" href="YAHOO.util.Element.html#event_beforeElementChange" property="yui:name" title="beforeElementChange">beforeElementChange</a><span class="">,</span>
</span>
<span rel="yui:event" resource="YAHOO.util.Element.html#event_contentReady">
<a class="" href="YAHOO.util.Element.html#event_contentReady" property="yui:name" title="contentReady">contentReady</a><span class="">,</span>
</span>
<span rel="yui:event" resource="YAHOO.util.Element.html#event_elementChange">
<a class="" href="YAHOO.util.Element.html#event_elementChange" property="yui:name" title="elementChange">elementChange</a><span class="">,</span>
</span>
</code>
</div>
</div>
</div>
</div>
<div rel="yui:attributes" resource="#configattributes">
<div class="section field details">
<h3 id="configattributes">Configuration Attributes</h3>
<div class="content">
<div class="" rel="yui:attribute" resource="#config_checked">
<h4><a name="config_checked">checked</a>
<code>- <span property="yui:type">Boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Boolean indicating if the button is checked.
Applies only to buttons of type "radio" and "checkbox."
</div>
</div>
<div class="default">
Default Value: false
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_container">
<h4><a name="config_container">container</a>
<code>- writeonce <span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
level-one-html.html#ID-58190037">HTMLElement</a>|String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
HTML element reference or string specifying the id
attribute of the HTML element that the button's markup should be
rendered into.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_disabled">
<h4><a name="config_disabled">disabled</a>
<code>- <span property="yui:type">Boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Boolean indicating if the button should be disabled.
(Disabled buttons are dimmed and will not respond to user input
or fire events. Does not apply to button's of type "link.")
</div>
</div>
<div class="default">
Default Value: false
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_focusmenu">
<h4><a name="config_focusmenu">focusmenu</a>
<code>- <span property="yui:type">Boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Boolean indicating whether or not the button's menu
should be focused when it is made visible.
</div>
</div>
<div class="default">
Default Value: true
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_href">
<h4><a name="config_href">href</a>
<code>- <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
String specifying the href for the button. Applies
only to buttons of type "link."
</div>
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_label">
<h4><a name="config_label">label</a>
<code>- <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
String specifying the button's text label
or innerHTML.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_lazyloadmenu">
<h4><a name="config_lazyloadmenu">lazyloadmenu</a>
<code>- writeonce <span property="yui:type">Boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Boolean indicating the value to set for the
<a href="YAHOO.widget.Menu.html#lazyLoad">"lazyload"</a>
configuration property of the button's menu. Setting
"lazyloadmenu" to <code>true </code> will defer rendering of
the button's menu until the first time it is made visible.
If "lazyloadmenu" is set to <code>false</code>, the button's
menu will be rendered immediately if the button is in the
document, or in response to the button's "appendTo" event if
the button is not yet in the document. In either case, the
menu is rendered into the button's parent HTML element.
<em>This attribute does not apply if a
<a href="YAHOO.widget.Menu.html">YAHOO.widget.Menu</a> or
<a href="YAHOO.widget.Overlay.html">YAHOO.widget.Overlay</a>
instance is passed as the value of the button's "menu"
configuration attribute. <a href="YAHOO.widget.Menu.html">
YAHOO.widget.Menu</a> or <a href="YAHOO.widget.Overlay.html">
YAHOO.widget.Overlay</a> instances should be rendered before
being set as the value for the "menu" configuration
attribute.</em>
</div>
</div>
<div class="default">
Default Value: true
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_menu">
<h4><a name="config_menu">menu</a>
<code>- writeonce <span property="yui:type"><a href="YAHOO.widget.Menu.html">YAHOO.widget.Menu</a>|<a
href="YAHOO.widget.Overlay.html">YAHOO.widget.Overlay</a>|<a
href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
one-html.html#ID-58190037">HTMLElement</a>|String|Array</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Object specifying the menu for the button.
The value can be one of the following:
<ul>
<li>Object specifying a rendered <a href="YAHOO.widget.Menu.html">
YAHOO.widget.Menu</a> instance.</li>
<li>Object specifying a rendered <a href="YAHOO.widget.Overlay.html">
YAHOO.widget.Overlay</a> instance.</li>
<li>String specifying the id attribute of the <code>&#60;div&#62;
</code> element used to create the menu. By default the menu
will be created as an instance of
<a href="YAHOO.widget.Overlay.html">YAHOO.widget.Overlay</a>.
If the <a href="YAHOO.widget.Menu.html#CSS_CLASS_NAME">
default CSS class name for YAHOO.widget.Menu</a> is applied to
the <code>&#60;div&#62;</code> element, it will be created as an
instance of <a href="YAHOO.widget.Menu.html">YAHOO.widget.Menu
</a>.</li><li>String specifying the id attribute of the
<code>&#60;select&#62;</code> element used to create the menu.
</li><li>Object specifying the <code>&#60;div&#62;</code> element
used to create the menu.</li>
<li>Object specifying the <code>&#60;select&#62;</code> element
used to create the menu.</li>
<li>Array of object literals, each representing a set of
<a href="YAHOO.widget.MenuItem.html">YAHOO.widget.MenuItem</a>
configuration attributes.</li>
<li>Array of strings representing the text labels for each menu
item in the menu.</li>
</ul>
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_menualignment">
<h4><a name="config_menualignment">menualignment</a>
<code>- <span property="yui:type">Array</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Array defining how the Button's Menu is aligned to the Button.
The default value of ["tl", "bl"] aligns the Menu's top left corner to the Button's
bottom left corner.
</div>
</div>
<div class="default">
Default Value: ["tl", "bl"]
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_menuclassname">
<h4><a name="config_menuclassname">menuclassname</a>
<code>- writeonce <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
String representing the CSS class name to be
applied to the root element of the button's menu.
</div>
</div>
<div class="default">
Default Value: "yui-button-menu"
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_menumaxheight">
<h4><a name="config_menumaxheight">menumaxheight</a>
<code>- <span property="yui:type">Number</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Number defining the maximum height (in pixels) for a menu's
body element (<code>&#60;div class="bd"&#60;</code>). Once a menu's body
exceeds this height, the contents of the body are scrolled to maintain
this value. This value cannot be set lower than the value of the
"minscrollheight" configuration property.
</div>
</div>
<div class="default">
Default Value: 0
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_menuminscrollheight">
<h4><a name="config_menuminscrollheight">menuminscrollheight</a>
<code>- <span property="yui:type">Number</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Number defining the minimum threshold for the "menumaxheight"
configuration attribute. When set this attribute is automatically applied
to all submenus.
</div>
</div>
<div class="default">
Default Value: 90
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_name">
<h4><a name="config_name">name</a>
<code>- <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
String specifying the name for the button.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_onclick">
<h4><a name="config_onclick">onclick</a>
<code>- <span property="yui:type">Object</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Object literal representing the code to be executed
when the button 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="" rel="yui:attribute" resource="#config_replaceLabel">
<h4><a name="config_replaceLabel">replaceLabel</a>
<code>- <span property="yui:type">Boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Boolean indicating whether or not the text of the
button's <code>&#60;label&#62;</code> element should be used as
the source for the button's label configuration attribute and
removed from the DOM.
</div>
</div>
<div class="default">
Default Value: false
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_selectedMenuItem">
<h4><a name="config_selectedMenuItem">selectedMenuItem</a>
<code>- <span property="yui:type">YAHOO.widget.MenuItem</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Object representing the item in the button's menu
that is currently selected.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_srcelement">
<h4><a name="config_srcelement">srcelement</a>
<code>- writeonce <span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
level-one-html.html#ID-58190037">HTMLElement</a>|String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Object reference to the HTML element (either
<code>&#60;input&#62;</code> or <code>&#60;span&#62;</code>)
used to create the button.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_tabindex">
<h4><a name="config_tabindex">tabindex</a>
<code>- <span property="yui:type">Number</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Number specifying the tabindex for the button.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_target">
<h4><a name="config_target">target</a>
<code>- <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
String specifying the target for the button.
Applies only to buttons of type "link."
</div>
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_title">
<h4><a name="config_title">title</a>
<code>- <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
String specifying the title for the button.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_type">
<h4><a name="config_type">type</a>
<code>- writeonce <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
String specifying the button's type. Possible
values are: "push," "link," "submit," "reset," "checkbox,"
"radio," "menu," and "split."
</div>
</div>
<div class="default">
Default Value: "push"
</div>
<hr />
</div>
<div class="" rel="yui:attribute" resource="#config_value">
<h4><a name="config_value">value</a>
<code>- <span property="yui:type">Object</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Object specifying the value for the button.
</div>
</div>
<div class="default">
Default Value: null
</div>
<hr />
</div>
</div>
</div>
<div rel="yui:inheritance">
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.Element.html">
<h4>Configuration attributes inherited from <a href="YAHOO.util.Element.html" property="yui:name" title="YAHOO.util.Element">YAHOO.util.Element</a>:</h4>
<div class="content" rel="yui:attributes">
<code>
<span rel="yui:attribute" resource="YAHOO.util.Element.html#config_element">
<a class="" href="YAHOO.util.Element.html#config_element" property="yui:name" title="element">element</a>
</span>
</code>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="yui-b">
<div class="nav">
<div id="moduleList" class="module">
<h4>Modules</h4>
<ul class="content">
<li class=""><a href="module_animation.html" title="animation">animation</a></li>
<li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
<li class="selected"><a href="module_button.html" title="button">button</a></li>
<li class=""><a href="module_calendar.html" title="calendar">calendar</a></li>
<li class=""><a href="module_carousel.html" title="carousel">carousel</a></li>
<li class=""><a href="module_charts.html" title="charts">charts</a></li>
<li class=""><a href="module_colorpicker.html" title="colorpicker">colorpicker</a></li>
<li class=""><a href="module_connection.html" title="connection">connection</a></li>
<li class=""><a href="module_container.html" title="container">container</a></li>
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
<li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
<li class=""><a href="module_datemath.html" title="datemath">datemath</a></li>
<li class=""><a href="module_dom.html" title="dom">dom</a></li>
<li class=""><a href="module_dragdrop.html" title="dragdrop">dragdrop</a></li>
<li class=""><a href="module_editor.html" title="editor">editor</a></li>
<li class=""><a href="module_element.html" title="element">element</a></li>
<li class=""><a href="module_element-delegate.html" title="element-delegate">element-delegate</a></li>
<li class=""><a href="module_event.html" title="event">event</a></li>
<li class=""><a href="module_event-delegate.html" title="event-delegate">event-delegate</a></li>
<li class=""><a href="module_event-mouseenter.html" title="event-mouseenter">event-mouseenter</a></li>
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
<li class=""><a href="module_get.html" title="get">get</a></li>
<li class=""><a href="module_history.html" title="history">history</a></li>
<li class=""><a href="module_imagecropper.html" title="imagecropper">imagecropper</a></li>
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
<li class=""><a href="module_json.html" title="json">json</a></li>
<li class=""><a href="module_layout.html" title="layout">layout</a></li>
<li class=""><a href="module_logger.html" title="logger">logger</a></li>
<li class=""><a href="module_menu.html" title="menu">menu</a></li>
<li class=""><a href="module_paginator.html" title="paginator">paginator</a></li>
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
<li class=""><a href="module_profilerviewer.html" title="profilerviewer">profilerviewer</a></li>
<li class=""><a href="module_progressbar.html" title="progressbar">progressbar</a></li>
<li class=""><a href="module_resize.html" title="resize">resize</a></li>
<li class=""><a href="module_selector.html" title="selector">selector</a></li>
<li class=""><a href="module_slider.html" title="slider">slider</a></li>
<li class=""><a href="module_storage.html" title="Storage">Storage</a></li>
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
<li class=""><a href="module_swf.html" title="swf">swf</a></li>
<li class=""><a href="module_swfdetect.html" title="swfdetect">swfdetect</a></li>
<li class=""><a href="module_swfstore.html" title="swfstore">swfstore</a></li>
<li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
<li class=""><a href="module_treeview.html" title="treeview">treeview</a></li>
<li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
<li class=""><a href="module_yahoo.html" title="yahoo">yahoo</a></li>
<li class=""><a href="module_yuiloader.html" title="yuiloader">yuiloader</a></li>
<li class=""><a href="module_yuitest.html" title="yuitest">yuitest</a></li>
</ul>
</div>
<div id="classList" class="module">
<h4>Classes</h4>
<ul class="content">
<li class="selected"><a href="YAHOO.widget.Button.html" title="YAHOO.widget.Button">YAHOO.widget.Button</a></li>
<li class=""><a href="YAHOO.widget.ButtonGroup.html" title="YAHOO.widget.ButtonGroup">YAHOO.widget.ButtonGroup</a></li>
</ul>
</div>
<div id="fileList" class="module">
<h4>Files</h4>
<ul class="content">
<li class=""><a href="button.js.html" title="button.js">button.js</a></li>
<li class=""><a href="buttongroup.js.html" title="buttongroup.js">buttongroup.js</a></li>
</ul>
</div>
<div id="propertyList" class="module">
<h4>Properties</h4>
<ul class="content">
<li class="protected"><a href="#property__activationButtonPressed" title="_activationButtonPressed">_activationButtonPressed</a></li>
<li class="protected"><a href="#property__activationKeyPressed" title="_activationKeyPressed">_activationKeyPressed</a></li>
<li class="protected"><a href="#property__button" title="_button">_button</a></li>
<li class="protected"><a href="#property__hasKeyEventHandlers" title="_hasKeyEventHandlers">_hasKeyEventHandlers</a></li>
<li class="protected"><a href="#property__hasMouseEventHandlers" title="_hasMouseEventHandlers">_hasMouseEventHandlers</a></li>
<li class="protected"><a href="#property__hiddenFields" title="_hiddenFields">_hiddenFields</a></li>
<li class="protected"><a href="#property__menu" title="_menu">_menu</a></li>
<li class="protected"><a href="#property__nOptionRegionX" title="_nOptionRegionX">_nOptionRegionX</a></li>
<li class="protected"><a href="#property__onclickAttributeValue" title="_onclickAttributeValue">_onclickAttributeValue</a></li>
<li class=""><a href="#property_ACTIVATION_KEYS" title="ACTIVATION_KEYS">ACTIVATION_KEYS</a></li>
<li class=""><a href="#property_CHECK_ACTIVATION_KEYS" title="CHECK_ACTIVATION_KEYS">CHECK_ACTIVATION_KEYS</a></li>
<li class=""><a href="#property_CLASS_NAME_PREFIX" title="CLASS_NAME_PREFIX">CLASS_NAME_PREFIX</a></li>
<li class=""><a href="#property_CSS_CLASS_NAME" title="CSS_CLASS_NAME">CSS_CLASS_NAME</a></li>
<li class=""><a href="#property_NODE_NAME" title="NODE_NAME">NODE_NAME</a></li>
<li class=""><a href="#property_OPTION_AREA_WIDTH" title="OPTION_AREA_WIDTH">OPTION_AREA_WIDTH</a></li>
</ul>
</div>
<div id="methodsList" class="module">
<h4>Methods</h4>
<ul class="content">
<li class="protected"><a href="#method__addListenersToForm" title="_addListenersToForm">_addListenersToForm</a></li>
<li class="protected"><a href="#method__hideMenu" title="_hideMenu">_hideMenu</a></li>
<li class="protected"><a href="#method__isActivationKey" title="_isActivationKey">_isActivationKey</a></li>
<li class="protected"><a href="#method__isSplitButtonOptionKey" title="_isSplitButtonOptionKey">_isSplitButtonOptionKey</a></li>
<li class="protected"><a href="#method__onAppendTo" title="_onAppendTo">_onAppendTo</a></li>
<li class="protected"><a href="#method__onBlur" title="_onBlur">_onBlur</a></li>
<li class="protected"><a href="#method__onClick" title="_onClick">_onClick</a></li>
<li class="protected"><a href="#method__onDblClick" title="_onDblClick">_onDblClick</a></li>
<li class="protected"><a href="#method__onDocumentKeyUp" title="_onDocumentKeyUp">_onDocumentKeyUp</a></li>
<li class="protected"><a href="#method__onDocumentMouseDown" title="_onDocumentMouseDown">_onDocumentMouseDown</a></li>
<li class="protected"><a href="#method__onDocumentMouseUp" title="_onDocumentMouseUp">_onDocumentMouseUp</a></li>
<li class="protected"><a href="#method__onFocus" title="_onFocus">_onFocus</a></li>
<li class="protected"><a href="#method__onFormReset" title="_onFormReset">_onFormReset</a></li>
<li class="protected"><a href="#method__onFormSubmit" title="_onFormSubmit">_onFormSubmit</a></li>
<li class="protected"><a href="#method__onKeyDown" title="_onKeyDown">_onKeyDown</a></li>
<li class="protected"><a href="#method__onKeyUp" title="_onKeyUp">_onKeyUp</a></li>
<li class=""><a href="#method__onLabelClick" title="_onLabelClick">_onLabelClick</a></li>
<li class="private"><a href="#method__onMenuClick" title="_onMenuClick">_onMenuClick</a></li>
<li class="private"><a href="#method__onMenuHide" title="_onMenuHide">_onMenuHide</a></li>
<li class="private"><a href="#method__onMenuKeyDown" title="_onMenuKeyDown">_onMenuKeyDown</a></li>
<li class="private"><a href="#method__onMenuRender" title="_onMenuRender">_onMenuRender</a></li>
<li class="private"><a href="#method__onMenuShow" title="_onMenuShow">_onMenuShow</a></li>
<li class="protected"><a href="#method__onMouseDown" title="_onMouseDown">_onMouseDown</a></li>
<li class="protected"><a href="#method__onMouseMove" title="_onMouseMove">_onMouseMove</a></li>
<li class="protected"><a href="#method__onMouseOut" title="_onMouseOut">_onMouseOut</a></li>
<li class="protected"><a href="#method__onMouseOver" title="_onMouseOver">_onMouseOver</a></li>
<li class="protected"><a href="#method__onMouseUp" title="_onMouseUp">_onMouseUp</a></li>
<li class="protected"><a href="#method__onOption" title="_onOption">_onOption</a></li>
<li class=""><a href="#method__onSelectedMenuItemChange" title="_onSelectedMenuItemChange">_onSelectedMenuItemChange</a></li>
<li class="protected"><a href="#method__setChecked" title="_setChecked">_setChecked</a></li>
<li class="protected"><a href="#method__setDisabled" title="_setDisabled">_setDisabled</a></li>
<li class="protected"><a href="#method__setHref" title="_setHref">_setHref</a></li>
<li class="protected"><a href="#method__setLabel" title="_setLabel">_setLabel</a></li>
<li class="protected"><a href="#method__setMenu" title="_setMenu">_setMenu</a></li>
<li class="protected"><a href="#method__setOnClick" title="_setOnClick">_setOnClick</a></li>
<li class="protected"><a href="#method__setTabIndex" title="_setTabIndex">_setTabIndex</a></li>
<li class="protected"><a href="#method__setTarget" title="_setTarget">_setTarget</a></li>
<li class="protected"><a href="#method__setTitle" title="_setTitle">_setTitle</a></li>
<li class="protected"><a href="#method__setType" title="_setType">_setType</a></li>
<li class="protected"><a href="#method__showMenu" title="_showMenu">_showMenu</a></li>
<li class=""><a href="#method_addStateCSSClasses" title="addStateCSSClasses">addStateCSSClasses</a></li>
<li class=""><a href="#method_blur" title="blur">blur</a></li>
<li class=""><a href="#method_createButtonElement" title="createButtonElement">createButtonElement</a></li>
<li class=""><a href="#method_createHiddenFields" title="createHiddenFields">createHiddenFields</a></li>
<li class="private"><a href="#method_createInputElement" title="createInputElement">createInputElement</a></li>
<li class=""><a href="#method_destroy" title="destroy">destroy</a></li>
<li class=""><a href="#method_focus" title="focus">focus</a></li>
<li class=""><a href="#method_getForm" title="getForm">getForm</a></li>
<li class=""><a href="#method_getHiddenFields" title="getHiddenFields">getHiddenFields</a></li>
<li class=""><a href="#method_getMenu" title="getMenu">getMenu</a></li>
<li class=""><a href="#method_hasFocus" title="hasFocus">hasFocus</a></li>
<li class=""><a href="#method_init" title="init">init</a></li>
<li class=""><a href="#method_initAttributes" title="initAttributes">initAttributes</a></li>
<li class="private"><a href="#method_initConfig" title="initConfig">initConfig</a></li>
<li class=""><a href="#method_isActive" title="isActive">isActive</a></li>
<li class=""><a href="#method_removeHiddenFields" title="removeHiddenFields">removeHiddenFields</a></li>
<li class=""><a href="#method_removeStateCSSClasses" title="removeStateCSSClasses">removeStateCSSClasses</a></li>
<li class="private"><a href="#method_setAttributeFromDOMAttribute" title="setAttributeFromDOMAttribute">setAttributeFromDOMAttribute</a></li>
<li class="private"><a href="#method_setAttributesFromSrcElement" title="setAttributesFromSrcElement">setAttributesFromSrcElement</a></li>
<li class="private"><a href="#method_setFormElementProperties" title="setFormElementProperties">setFormElementProperties</a></li>
<li class="protected"><a href="#method_submitForm" title="submitForm">submitForm</a></li>
<li class=""><a href="#method_toString" title="toString">toString</a></li>
<li class=""><a href="#method_YAHOO.widget.Button.addHiddenFieldsToForm" title="YAHOO.widget.Button.addHiddenFieldsToForm">YAHOO.widget.Button.addHiddenFieldsToForm</a></li>
<li class=""><a href="#method_YAHOO.widget.Button.getButton" title="YAHOO.widget.Button.getButton">YAHOO.widget.Button.getButton</a></li>
<li class=""><a href="#method_YAHOO.widget.Button.onFormKeyPress" title="YAHOO.widget.Button.onFormKeyPress">YAHOO.widget.Button.onFormKeyPress</a></li>
</ul>
</div>
<div id="eventsList" class="module">
<h4>Events</h4>
<ul class="content">
<li class=""><a href="#event_beforeCheckedChange" title="beforeCheckedChange">beforeCheckedChange</a></li>
<li class=""><a href="#event_beforeContainerChange" title="beforeContainerChange">beforeContainerChange</a></li>
<li class=""><a href="#event_beforeDisabledChange" title="beforeDisabledChange">beforeDisabledChange</a></li>
<li class=""><a href="#event_beforeFocusmenuChange" title="beforeFocusmenuChange">beforeFocusmenuChange</a></li>
<li class=""><a href="#event_beforeHrefChange" title="beforeHrefChange">beforeHrefChange</a></li>
<li class=""><a href="#event_beforeLabelChange" title="beforeLabelChange">beforeLabelChange</a></li>
<li class=""><a href="#event_beforeLazyloadmenuChange" title="beforeLazyloadmenuChange">beforeLazyloadmenuChange</a></li>
<li class=""><a href="#event_beforeMenualignmentChange" title="beforeMenualignmentChange">beforeMenualignmentChange</a></li>
<li class=""><a href="#event_beforeMenuChange" title="beforeMenuChange">beforeMenuChange</a></li>
<li class=""><a href="#event_beforeMenuclassnameChange" title="beforeMenuclassnameChange">beforeMenuclassnameChange</a></li>
<li class=""><a href="#event_beforeMenumaxheightChange" title="beforeMenumaxheightChange">beforeMenumaxheightChange</a></li>
<li class=""><a href="#event_beforeMenuminscrollheightChange" title="beforeMenuminscrollheightChange">beforeMenuminscrollheightChange</a></li>
<li class=""><a href="#event_beforeNameChange" title="beforeNameChange">beforeNameChange</a></li>
<li class=""><a href="#event_beforeOnclickChange" title="beforeOnclickChange">beforeOnclickChange</a></li>
<li class=""><a href="#event_beforeReplaceLabelChange" title="beforeReplaceLabelChange">beforeReplaceLabelChange</a></li>
<li class=""><a href="#event_beforeSelectedMenuItemChange" title="beforeSelectedMenuItemChange">beforeSelectedMenuItemChange</a></li>
<li class=""><a href="#event_beforeSrcelementChange" title="beforeSrcelementChange">beforeSrcelementChange</a></li>
<li class=""><a href="#event_beforeTabindexChange" title="beforeTabindexChange">beforeTabindexChange</a></li>
<li class=""><a href="#event_beforeTargetChange" title="beforeTargetChange">beforeTargetChange</a></li>
<li class=""><a href="#event_beforeTitleChange" title="beforeTitleChange">beforeTitleChange</a></li>
<li class=""><a href="#event_beforeTypeChange" title="beforeTypeChange">beforeTypeChange</a></li>
<li class=""><a href="#event_beforeValueChange" title="beforeValueChange">beforeValueChange</a></li>
<li class=""><a href="#event_blur" title="blur">blur</a></li>
<li class=""><a href="#event_checkedChange" title="checkedChange">checkedChange</a></li>
<li class=""><a href="#event_containerChange" title="containerChange">containerChange</a></li>
<li class=""><a href="#event_disabledChange" title="disabledChange">disabledChange</a></li>
<li class=""><a href="#event_focus" title="focus">focus</a></li>
<li class=""><a href="#event_focusmenuChange" title="focusmenuChange">focusmenuChange</a></li>
<li class=""><a href="#event_hrefChange" title="hrefChange">hrefChange</a></li>
<li class=""><a href="#event_labelChange" title="labelChange">labelChange</a></li>
<li class=""><a href="#event_lazyloadmenuChange" title="lazyloadmenuChange">lazyloadmenuChange</a></li>
<li class=""><a href="#event_menualignmentChange" title="menualignmentChange">menualignmentChange</a></li>
<li class=""><a href="#event_menuChange" title="menuChange">menuChange</a></li>
<li class=""><a href="#event_menuclassnameChange" title="menuclassnameChange">menuclassnameChange</a></li>
<li class=""><a href="#event_menumaxheightChange" title="menumaxheightChange">menumaxheightChange</a></li>
<li class=""><a href="#event_menuminscrollheightChange" title="menuminscrollheightChange">menuminscrollheightChange</a></li>
<li class=""><a href="#event_nameChange" title="nameChange">nameChange</a></li>
<li class=""><a href="#event_onclickChange" title="onclickChange">onclickChange</a></li>
<li class=""><a href="#event_option" title="option">option</a></li>
<li class=""><a href="#event_replaceLabelChange" title="replaceLabelChange">replaceLabelChange</a></li>
<li class=""><a href="#event_selectedMenuItemChange" title="selectedMenuItemChange">selectedMenuItemChange</a></li>
<li class=""><a href="#event_srcelementChange" title="srcelementChange">srcelementChange</a></li>
<li class=""><a href="#event_tabindexChange" title="tabindexChange">tabindexChange</a></li>
<li class=""><a href="#event_targetChange" title="targetChange">targetChange</a></li>
<li class=""><a href="#event_titleChange" title="titleChange">titleChange</a></li>
<li class=""><a href="#event_typeChange" title="typeChange">typeChange</a></li>
<li class=""><a href="#event_valueChange" title="valueChange">valueChange</a></li>
</ul>
</div>
<div id="configList" class="module">
<h4>Configuration Attributes</h4>
<ul class="content">
<li class=""><a href="#config_checked" title="checked">checked</a></li>
<li class=""><a href="#config_container" title="container">container</a></li>
<li class=""><a href="#config_disabled" title="disabled">disabled</a></li>
<li class=""><a href="#config_focusmenu" title="focusmenu">focusmenu</a></li>
<li class=""><a href="#config_href" title="href">href</a></li>
<li class=""><a href="#config_label" title="label">label</a></li>
<li class=""><a href="#config_lazyloadmenu" title="lazyloadmenu">lazyloadmenu</a></li>
<li class=""><a href="#config_menu" title="menu">menu</a></li>
<li class=""><a href="#config_menualignment" title="menualignment">menualignment</a></li>
<li class=""><a href="#config_menuclassname" title="menuclassname">menuclassname</a></li>
<li class=""><a href="#config_menumaxheight" title="menumaxheight">menumaxheight</a></li>
<li class=""><a href="#config_menuminscrollheight" title="menuminscrollheight">menuminscrollheight</a></li>
<li class=""><a href="#config_name" title="name">name</a></li>
<li class=""><a href="#config_onclick" title="onclick">onclick</a></li>
<li class=""><a href="#config_replaceLabel" title="replaceLabel">replaceLabel</a></li>
<li class=""><a href="#config_selectedMenuItem" title="selectedMenuItem">selectedMenuItem</a></li>
<li class=""><a href="#config_srcelement" title="srcelement">srcelement</a></li>
<li class=""><a href="#config_tabindex" title="tabindex">tabindex</a></li>
<li class=""><a href="#config_target" title="target">target</a></li>
<li class=""><a href="#config_title" title="title">title</a></li>
<li class=""><a href="#config_type" title="type">type</a></li>
<li class=""><a href="#config_value" title="value">value</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="ft">
<hr />
Copyright &copy; 2010 Yahoo! Inc. All rights reserved.
</div>
</div>
<script type="text/javascript">
var ALL_YUI_PROPS = [{"access": "protected", "host": "YAHOO.widget.Button", "name": "_activationButtonPressed", "url": "YAHOO.widget.Button.html#property__activationButtonPressed", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_activationKeyPressed", "url": "YAHOO.widget.Button.html#property__activationKeyPressed", "type": "property"}, {"access": "", "host": "YAHOO.widget.Button", "name": "ACTIVATION_KEYS", "url": "YAHOO.widget.Button.html#property_ACTIVATION_KEYS", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_addListenersToForm", "url": "YAHOO.widget.Button.html#method__addListenersToForm", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "addStateCSSClasses", "url": "YAHOO.widget.Button.html#method_addStateCSSClasses", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeCheckedChange", "url": "YAHOO.widget.Button.html#event_beforeCheckedChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeContainerChange", "url": "YAHOO.widget.Button.html#event_beforeContainerChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeDisabledChange", "url": "YAHOO.widget.Button.html#event_beforeDisabledChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeFocusmenuChange", "url": "YAHOO.widget.Button.html#event_beforeFocusmenuChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeHrefChange", "url": "YAHOO.widget.Button.html#event_beforeHrefChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeLabelChange", "url": "YAHOO.widget.Button.html#event_beforeLabelChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeLazyloadmenuChange", "url": "YAHOO.widget.Button.html#event_beforeLazyloadmenuChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeMenualignmentChange", "url": "YAHOO.widget.Button.html#event_beforeMenualignmentChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeMenuChange", "url": "YAHOO.widget.Button.html#event_beforeMenuChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeMenuclassnameChange", "url": "YAHOO.widget.Button.html#event_beforeMenuclassnameChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeMenumaxheightChange", "url": "YAHOO.widget.Button.html#event_beforeMenumaxheightChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeMenuminscrollheightChange", "url": "YAHOO.widget.Button.html#event_beforeMenuminscrollheightChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeNameChange", "url": "YAHOO.widget.Button.html#event_beforeNameChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeOnclickChange", "url": "YAHOO.widget.Button.html#event_beforeOnclickChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeReplaceLabelChange", "url": "YAHOO.widget.Button.html#event_beforeReplaceLabelChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeSelectedMenuItemChange", "url": "YAHOO.widget.Button.html#event_beforeSelectedMenuItemChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeSrcelementChange", "url": "YAHOO.widget.Button.html#event_beforeSrcelementChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeTabindexChange", "url": "YAHOO.widget.Button.html#event_beforeTabindexChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeTargetChange", "url": "YAHOO.widget.Button.html#event_beforeTargetChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeTitleChange", "url": "YAHOO.widget.Button.html#event_beforeTitleChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeTypeChange", "url": "YAHOO.widget.Button.html#event_beforeTypeChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "beforeValueChange", "url": "YAHOO.widget.Button.html#event_beforeValueChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "blur", "url": "YAHOO.widget.Button.html#method_blur", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "blur", "url": "YAHOO.widget.Button.html#event_blur", "type": "event"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_button", "url": "YAHOO.widget.Button.html#property__button", "type": "property"}, {"access": "", "host": "YAHOO.widget.Button", "name": "CHECK_ACTIVATION_KEYS", "url": "YAHOO.widget.Button.html#property_CHECK_ACTIVATION_KEYS", "type": "property"}, {"access": "", "host": "YAHOO.widget.Button", "name": "checked", "url": "YAHOO.widget.Button.html#config_checked", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "checkedChange", "url": "YAHOO.widget.Button.html#event_checkedChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "CLASS_NAME_PREFIX", "url": "YAHOO.widget.Button.html#property_CLASS_NAME_PREFIX", "type": "property"}, {"access": "", "host": "YAHOO.widget.Button", "name": "container", "url": "YAHOO.widget.Button.html#config_container", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "containerChange", "url": "YAHOO.widget.Button.html#event_containerChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "createButtonElement", "url": "YAHOO.widget.Button.html#method_createButtonElement", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "createHiddenFields", "url": "YAHOO.widget.Button.html#method_createHiddenFields", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Button", "name": "createInputElement", "url": "YAHOO.widget.Button.html#method_createInputElement", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "CSS_CLASS_NAME", "url": "YAHOO.widget.Button.html#property_CSS_CLASS_NAME", "type": "property"}, {"access": "", "host": "YAHOO.widget.Button", "name": "destroy", "url": "YAHOO.widget.Button.html#method_destroy", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "disabled", "url": "YAHOO.widget.Button.html#config_disabled", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "disabledChange", "url": "YAHOO.widget.Button.html#event_disabledChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "focus", "url": "YAHOO.widget.Button.html#method_focus", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "focus", "url": "YAHOO.widget.Button.html#event_focus", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "focusmenu", "url": "YAHOO.widget.Button.html#config_focusmenu", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "focusmenuChange", "url": "YAHOO.widget.Button.html#event_focusmenuChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "getForm", "url": "YAHOO.widget.Button.html#method_getForm", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "getHiddenFields", "url": "YAHOO.widget.Button.html#method_getHiddenFields", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "getMenu", "url": "YAHOO.widget.Button.html#method_getMenu", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "hasFocus", "url": "YAHOO.widget.Button.html#method_hasFocus", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_hasKeyEventHandlers", "url": "YAHOO.widget.Button.html#property__hasKeyEventHandlers", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_hasMouseEventHandlers", "url": "YAHOO.widget.Button.html#property__hasMouseEventHandlers", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_hiddenFields", "url": "YAHOO.widget.Button.html#property__hiddenFields", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_hideMenu", "url": "YAHOO.widget.Button.html#method__hideMenu", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "href", "url": "YAHOO.widget.Button.html#config_href", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "hrefChange", "url": "YAHOO.widget.Button.html#event_hrefChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "init", "url": "YAHOO.widget.Button.html#method_init", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "initAttributes", "url": "YAHOO.widget.Button.html#method_initAttributes", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Button", "name": "initConfig", "url": "YAHOO.widget.Button.html#method_initConfig", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_isActivationKey", "url": "YAHOO.widget.Button.html#method__isActivationKey", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "isActive", "url": "YAHOO.widget.Button.html#method_isActive", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_isSplitButtonOptionKey", "url": "YAHOO.widget.Button.html#method__isSplitButtonOptionKey", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "label", "url": "YAHOO.widget.Button.html#config_label", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "labelChange", "url": "YAHOO.widget.Button.html#event_labelChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "lazyloadmenu", "url": "YAHOO.widget.Button.html#config_lazyloadmenu", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "lazyloadmenuChange", "url": "YAHOO.widget.Button.html#event_lazyloadmenuChange", "type": "event"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_menu", "url": "YAHOO.widget.Button.html#property__menu", "type": "property"}, {"access": "", "host": "YAHOO.widget.Button", "name": "menu", "url": "YAHOO.widget.Button.html#config_menu", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "menualignment", "url": "YAHOO.widget.Button.html#config_menualignment", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "menualignmentChange", "url": "YAHOO.widget.Button.html#event_menualignmentChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "menuChange", "url": "YAHOO.widget.Button.html#event_menuChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "menuclassname", "url": "YAHOO.widget.Button.html#config_menuclassname", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "menuclassnameChange", "url": "YAHOO.widget.Button.html#event_menuclassnameChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "menumaxheight", "url": "YAHOO.widget.Button.html#config_menumaxheight", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "menumaxheightChange", "url": "YAHOO.widget.Button.html#event_menumaxheightChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "menuminscrollheight", "url": "YAHOO.widget.Button.html#config_menuminscrollheight", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "menuminscrollheightChange", "url": "YAHOO.widget.Button.html#event_menuminscrollheightChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "name", "url": "YAHOO.widget.Button.html#config_name", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "nameChange", "url": "YAHOO.widget.Button.html#event_nameChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "NODE_NAME", "url": "YAHOO.widget.Button.html#property_NODE_NAME", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_nOptionRegionX", "url": "YAHOO.widget.Button.html#property__nOptionRegionX", "type": "property"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onAppendTo", "url": "YAHOO.widget.Button.html#method__onAppendTo", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onBlur", "url": "YAHOO.widget.Button.html#method__onBlur", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onClick", "url": "YAHOO.widget.Button.html#method__onClick", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "onclick", "url": "YAHOO.widget.Button.html#config_onclick", "type": "config"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onclickAttributeValue", "url": "YAHOO.widget.Button.html#property__onclickAttributeValue", "type": "property"}, {"access": "", "host": "YAHOO.widget.Button", "name": "onclickChange", "url": "YAHOO.widget.Button.html#event_onclickChange", "type": "event"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onDblClick", "url": "YAHOO.widget.Button.html#method__onDblClick", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onDocumentKeyUp", "url": "YAHOO.widget.Button.html#method__onDocumentKeyUp", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onDocumentMouseDown", "url": "YAHOO.widget.Button.html#method__onDocumentMouseDown", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onDocumentMouseUp", "url": "YAHOO.widget.Button.html#method__onDocumentMouseUp", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onFocus", "url": "YAHOO.widget.Button.html#method__onFocus", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onFormReset", "url": "YAHOO.widget.Button.html#method__onFormReset", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onFormSubmit", "url": "YAHOO.widget.Button.html#method__onFormSubmit", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onKeyDown", "url": "YAHOO.widget.Button.html#method__onKeyDown", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onKeyUp", "url": "YAHOO.widget.Button.html#method__onKeyUp", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "_onLabelClick", "url": "YAHOO.widget.Button.html#method__onLabelClick", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Button", "name": "_onMenuClick", "url": "YAHOO.widget.Button.html#method__onMenuClick", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Button", "name": "_onMenuHide", "url": "YAHOO.widget.Button.html#method__onMenuHide", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Button", "name": "_onMenuKeyDown", "url": "YAHOO.widget.Button.html#method__onMenuKeyDown", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Button", "name": "_onMenuRender", "url": "YAHOO.widget.Button.html#method__onMenuRender", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Button", "name": "_onMenuShow", "url": "YAHOO.widget.Button.html#method__onMenuShow", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onMouseDown", "url": "YAHOO.widget.Button.html#method__onMouseDown", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onMouseMove", "url": "YAHOO.widget.Button.html#method__onMouseMove", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onMouseOut", "url": "YAHOO.widget.Button.html#method__onMouseOut", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onMouseOver", "url": "YAHOO.widget.Button.html#method__onMouseOver", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onMouseUp", "url": "YAHOO.widget.Button.html#method__onMouseUp", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_onOption", "url": "YAHOO.widget.Button.html#method__onOption", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "_onSelectedMenuItemChange", "url": "YAHOO.widget.Button.html#method__onSelectedMenuItemChange", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "option", "url": "YAHOO.widget.Button.html#event_option", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "OPTION_AREA_WIDTH", "url": "YAHOO.widget.Button.html#property_OPTION_AREA_WIDTH", "type": "property"}, {"access": "", "host": "YAHOO.widget.Button", "name": "removeHiddenFields", "url": "YAHOO.widget.Button.html#method_removeHiddenFields", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "removeStateCSSClasses", "url": "YAHOO.widget.Button.html#method_removeStateCSSClasses", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "replaceLabel", "url": "YAHOO.widget.Button.html#config_replaceLabel", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "replaceLabelChange", "url": "YAHOO.widget.Button.html#event_replaceLabelChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "selectedMenuItem", "url": "YAHOO.widget.Button.html#config_selectedMenuItem", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "selectedMenuItemChange", "url": "YAHOO.widget.Button.html#event_selectedMenuItemChange", "type": "event"}, {"access": "private", "host": "YAHOO.widget.Button", "name": "setAttributeFromDOMAttribute", "url": "YAHOO.widget.Button.html#method_setAttributeFromDOMAttribute", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Button", "name": "setAttributesFromSrcElement", "url": "YAHOO.widget.Button.html#method_setAttributesFromSrcElement", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_setChecked", "url": "YAHOO.widget.Button.html#method__setChecked", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_setDisabled", "url": "YAHOO.widget.Button.html#method__setDisabled", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Button", "name": "setFormElementProperties", "url": "YAHOO.widget.Button.html#method_setFormElementProperties", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_setHref", "url": "YAHOO.widget.Button.html#method__setHref", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_setLabel", "url": "YAHOO.widget.Button.html#method__setLabel", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_setMenu", "url": "YAHOO.widget.Button.html#method__setMenu", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_setOnClick", "url": "YAHOO.widget.Button.html#method__setOnClick", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_setTabIndex", "url": "YAHOO.widget.Button.html#method__setTabIndex", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_setTarget", "url": "YAHOO.widget.Button.html#method__setTarget", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_setTitle", "url": "YAHOO.widget.Button.html#method__setTitle", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_setType", "url": "YAHOO.widget.Button.html#method__setType", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "_showMenu", "url": "YAHOO.widget.Button.html#method__showMenu", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "srcelement", "url": "YAHOO.widget.Button.html#config_srcelement", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "srcelementChange", "url": "YAHOO.widget.Button.html#event_srcelementChange", "type": "event"}, {"access": "protected", "host": "YAHOO.widget.Button", "name": "submitForm", "url": "YAHOO.widget.Button.html#method_submitForm", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "tabindex", "url": "YAHOO.widget.Button.html#config_tabindex", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "tabindexChange", "url": "YAHOO.widget.Button.html#event_tabindexChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "target", "url": "YAHOO.widget.Button.html#config_target", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "targetChange", "url": "YAHOO.widget.Button.html#event_targetChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "title", "url": "YAHOO.widget.Button.html#config_title", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "titleChange", "url": "YAHOO.widget.Button.html#event_titleChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "toString", "url": "YAHOO.widget.Button.html#method_toString", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "type", "url": "YAHOO.widget.Button.html#config_type", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "typeChange", "url": "YAHOO.widget.Button.html#event_typeChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "value", "url": "YAHOO.widget.Button.html#config_value", "type": "config"}, {"access": "", "host": "YAHOO.widget.Button", "name": "valueChange", "url": "YAHOO.widget.Button.html#event_valueChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.Button", "name": "YAHOO.widget.Button.addHiddenFieldsToForm", "url": "YAHOO.widget.Button.html#method_YAHOO.widget.Button.addHiddenFieldsToForm", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "YAHOO.widget.Button.getButton", "url": "YAHOO.widget.Button.html#method_YAHOO.widget.Button.getButton", "type": "method"}, {"access": "", "host": "YAHOO.widget.Button", "name": "YAHOO.widget.Button.onFormKeyPress", "url": "YAHOO.widget.Button.html#method_YAHOO.widget.Button.onFormKeyPress", "type": "method"}];
</script>
</body>
</html>