mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
5992 lines
381 KiB
HTML
5992 lines
381 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: menu YAHOO.widget.Menu (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>Menu <span class="subtitle">2.8.2r1</span></h3>
|
|
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a>
|
|
> <a href="./module_menu.html" title="menu">menu</a>
|
|
> YAHOO.widget.Menu
|
|
|
|
<form onsubmit="return false">
|
|
<div id="propertysearch">
|
|
Search: <input autocomplete="off" id="searchinput" />
|
|
<div id="searchresults">
|
|
|
|
</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.Menu</b>
|
|
<span class="extends">
|
|
- extends <a href="YAHOO.widget.Overlay.html" title="YAHOO.widget.Overlay">YAHOO.widget.Overlay</a>
|
|
</span>
|
|
|
|
</h2>
|
|
<!-- class tree goes here -->
|
|
|
|
<dl class="subclasses" rel="yui:subclasses">
|
|
<dt>Known Subclasses:</dt>
|
|
<dd>
|
|
<span rel="yui:subclass" resource="YAHOO.widget.MenuBar.html">
|
|
<a href="YAHOO.widget.MenuBar.html" property="yui:name" title="YAHOO.widget.MenuBar">YAHOO.widget.MenuBar</a>
|
|
</span>
|
|
<span rel="yui:subclass" resource="YAHOO.widget.ContextMenu.html">
|
|
<a href="YAHOO.widget.ContextMenu.html" property="yui:name" title="YAHOO.widget.ContextMenu">YAHOO.widget.ContextMenu</a>
|
|
</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<div class="summary description" property="yui:description">
|
|
The Menu class creates a container that holds a vertical list representing
|
|
a set of options or commands. Menu is the base class for all
|
|
menu containers.
|
|
</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.Menu</strong>
|
|
<code>
|
|
(
|
|
|
|
|
|
|
|
p_oElement
|
|
|
|
|
|
|
|
|
|
,
|
|
p_oConfig
|
|
)
|
|
</code>
|
|
<div class="description">
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oElement</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> String specifying the id attribute of the
|
|
<code><div></code> element of the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oElement</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> String specifying the id attribute of the
|
|
<code><select></code> element to be used as the data source
|
|
for the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oElement</span>
|
|
<<span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
|
|
level-one-html.html#ID-22445964">HTMLDivElement</a></span>>
|
|
</code>
|
|
<span property="yui:description"> Object
|
|
specifying the <code><div></code> element of the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oElement</span>
|
|
<<span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
|
|
level-one-html.html#ID-94282980">HTMLSelectElement</a></span>>
|
|
</code>
|
|
<span property="yui:description">
|
|
Object specifying the <code><select></code> element to be used as
|
|
the data source for the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oConfig</span>
|
|
<<span property="yui:type">Object</span>>
|
|
</code>
|
|
<span property="yui:description"> Optional. Object literal specifying the
|
|
configuration for the menu. See configuration class documentation for
|
|
more details.</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="private" rel="yui:property" resource="#property__aGroupTitleElements">
|
|
<h4><a name="property__aGroupTitleElements" property="yui:name">_aGroupTitleElements</a>
|
|
- <code>private <span property="yui:type">Array</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Array of HTML element used to title groups of menu items.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: []
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__aItemGroups">
|
|
<h4><a name="property__aItemGroups" property="yui:name">_aItemGroups</a>
|
|
- <code>private <span property="yui:type">Array</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Multi-dimensional Array representing the menu items as they
|
|
are grouped in the menu.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: []
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__aListElements">
|
|
<h4><a name="property__aListElements" property="yui:name">_aListElements</a>
|
|
- <code>private <span property="yui:type">Array</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Array of <code><ul></code> elements, each of which is
|
|
the parent node for each item's <code><li></code> element.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: []
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__bHandledMouseOutEvent">
|
|
<h4><a name="property__bHandledMouseOutEvent" property="yui:name">_bHandledMouseOutEvent</a>
|
|
- <code>private <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating the current state of the menu's
|
|
"mouseout" event.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: false
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__bHandledMouseOverEvent">
|
|
<h4><a name="property__bHandledMouseOverEvent" property="yui:name">_bHandledMouseOverEvent</a>
|
|
- <code>private <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating the current state of the menu's
|
|
"mouseover" event.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: false
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__bStopMouseEventHandlers">
|
|
<h4><a name="property__bStopMouseEventHandlers" property="yui:name">_bStopMouseEventHandlers</a>
|
|
- <code>private <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Stops "mouseover," "mouseout," and "mousemove" event handlers
|
|
from executing.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: false
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__nCurrentMouseX">
|
|
<h4><a name="property__nCurrentMouseX" property="yui:name">_nCurrentMouseX</a>
|
|
- <code>private <span property="yui:type">Number</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The current x coordinate of the mouse inside the area of
|
|
the menu.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: 0
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__sClassName">
|
|
<h4><a name="property__sClassName" property="yui:name">_sClassName</a>
|
|
- <code>private <span property="yui:type">String</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The current value of the "classname" configuration attribute.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: null
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__useHideDelay">
|
|
<h4><a name="property__useHideDelay" property="yui:name">_useHideDelay</a>
|
|
- <code>private <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating if the "mouseover" and "mouseout" event
|
|
handlers used for hiding the menu via a call to "YAHOO.lang.later" have
|
|
already been assigned.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: false
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_activeItem">
|
|
<h4><a name="property_activeItem" property="yui:name">activeItem</a>
|
|
- <code><span property="yui:type">YAHOO.widget.MenuItem</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Object reference to the item in the menu that has is selected.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: null
|
|
</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
|
|
menu's <code><div></code> element.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: "yuimenu"
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_GROUP_TITLE_TAG_NAME">
|
|
<h4><a name="property_GROUP_TITLE_TAG_NAME" property="yui:name">GROUP_TITLE_TAG_NAME</a>
|
|
- <code>final <span property="yui:type">String</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
String representing the tagname of the HTML element used to
|
|
title the menu's item groups.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: H6
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_ITEM_TYPE">
|
|
<h4><a name="property_ITEM_TYPE" property="yui:name">ITEM_TYPE</a>
|
|
- <code>final <span property="yui:type">YAHOO.widget.MenuItem</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Object representing the type of menu item to instantiate and
|
|
add when parsing the child nodes (either <code><li></code> element,
|
|
<code><optgroup></code> element or <code><option></code>)
|
|
of the menu's source HTML element.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: YAHOO.widget.MenuItem
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_itemData">
|
|
<h4><a name="property_itemData" property="yui:name">itemData</a>
|
|
- <code><span property="yui:type">Array</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Array of items to be added to the menu. The array can contain
|
|
strings representing the text for each item to be created, object literals
|
|
representing the menu item configuration properties, or MenuItem instances.
|
|
This property should be set via the constructor using the configuration
|
|
object literal.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: null
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_lazyLoad">
|
|
<h4><a name="property_lazyLoad" property="yui:name">lazyLoad</a>
|
|
- <code><span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating if the menu's "lazy load" feature is
|
|
enabled. If set to "true," initialization and rendering of the menu's
|
|
items will be deferred until the first time it is made visible. This
|
|
property should be set via the constructor using the configuration
|
|
object literal.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: false
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_OFF_SCREEN_POSITION">
|
|
<h4><a name="property_OFF_SCREEN_POSITION" property="yui:name">OFF_SCREEN_POSITION</a>
|
|
- <code>final <span property="yui:type">String</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Array representing the default x and y position that a menu
|
|
should have when it is positioned outside the viewport by the
|
|
"poistionOffScreen" method.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: "-999em"
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_parent">
|
|
<h4><a name="property_parent" property="yui:name">parent</a>
|
|
- <code><span property="yui:type">YAHOO.widget.MenuItem</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Object reference to the menu's parent menu or menu item.
|
|
This property can be set via the constructor using the configuration
|
|
object literal.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: null
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_srcElement">
|
|
<h4><a name="property_srcElement" property="yui:name">srcElement</a>
|
|
- <code><span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
|
|
level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
|
|
href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
|
|
html#ID-22445964">HTMLDivElement</a></span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Object reference to the HTML element (either
|
|
<code><select></code> or <code><div></code>) used to
|
|
create the menu.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: null
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div rel="yui:inheritance">
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.widget.Module.html">
|
|
<h4>Properties inherited from <a href="YAHOO.widget.Module.html" property="yui:name" title="YAHOO.widget.Module">YAHOO.widget.Module</a>:</h4>
|
|
<div class="content" rel="yui:properties">
|
|
<code>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_body">
|
|
<a class="" href="YAHOO.widget.Module.html#property_body" property="yui:name" title="body">body</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_browser">
|
|
<a class=" deprecated" href="YAHOO.widget.Module.html#property_browser" property="yui:name" title="browser">browser</a><span class=" deprecated">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_cfg">
|
|
<a class="" href="YAHOO.widget.Module.html#property_cfg" property="yui:name" title="cfg">cfg</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_contructor">
|
|
<a class="" href="YAHOO.widget.Module.html#property_contructor" property="yui:name" title="contructor">contructor</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_DEFAULT_CONFIG">
|
|
<a class="private" href="YAHOO.widget.Module.html#property_DEFAULT_CONFIG" property="yui:name" title="DEFAULT_CONFIG">DEFAULT_CONFIG</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_element">
|
|
<a class="" href="YAHOO.widget.Module.html#property_element" property="yui:name" title="element">element</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_EVENT_TYPES">
|
|
<a class="private" href="YAHOO.widget.Module.html#property_EVENT_TYPES" property="yui:name" title="EVENT_TYPES">EVENT_TYPES</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_footer">
|
|
<a class="" href="YAHOO.widget.Module.html#property_footer" property="yui:name" title="footer">footer</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_header">
|
|
<a class="" href="YAHOO.widget.Module.html#property_header" property="yui:name" title="header">header</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_id">
|
|
<a class="" href="YAHOO.widget.Module.html#property_id" property="yui:name" title="id">id</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_imageRoot">
|
|
<a class=" deprecated" href="YAHOO.widget.Module.html#property_imageRoot" property="yui:name" title="imageRoot">imageRoot</a><span class=" deprecated">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_isSecure">
|
|
<a class="" href="YAHOO.widget.Module.html#property_isSecure" property="yui:name" title="isSecure">isSecure</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Module.html#property_platform">
|
|
<a class="" href="YAHOO.widget.Module.html#property_platform" property="yui:name" title="platform">platform</a>
|
|
</span>
|
|
|
|
</code>
|
|
</div>
|
|
</div>
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.widget.Overlay.html">
|
|
<h4>Properties inherited from <a href="YAHOO.widget.Overlay.html" property="yui:name" title="YAHOO.widget.Overlay">YAHOO.widget.Overlay</a>:</h4>
|
|
<div class="content" rel="yui:properties">
|
|
<code>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Overlay.html#property_CONTEXT_TRIGGERS">
|
|
<a class="" href="YAHOO.widget.Overlay.html#property_CONTEXT_TRIGGERS" property="yui:name" title="CONTEXT_TRIGGERS">CONTEXT_TRIGGERS</a><span class="">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Overlay.html#property_DEFAULT_CONFIG">
|
|
<a class="private" href="YAHOO.widget.Overlay.html#property_DEFAULT_CONFIG" property="yui:name" title="DEFAULT_CONFIG">DEFAULT_CONFIG</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Overlay.html#property_EVENT_TYPES">
|
|
<a class="private" href="YAHOO.widget.Overlay.html#property_EVENT_TYPES" property="yui:name" title="EVENT_TYPES">EVENT_TYPES</a><span class="private">,</span>
|
|
</span>
|
|
|
|
<span rel="yui:property" resource="YAHOO.widget.Overlay.html#property_YAHOO.widget.Overlay._initialized">
|
|
<a class="private" href="YAHOO.widget.Overlay.html#property_YAHOO.widget.Overlay._initialized" property="yui:name" title="YAHOO.widget.Overlay._initialized">YAHOO.widget.Overlay._initialized</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="private" rel="yui:method" resource="#method__addItemToGroup">
|
|
<h4>
|
|
<a name="method__addItemToGroup">_addItemToGroup</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
YAHOO.widget.MenuItem
|
|
<strong property="yui:name">_addItemToGroup</strong>
|
|
(
|
|
|
|
|
|
p_nGroupIndex
|
|
|
|
|
|
,
|
|
p_oItem
|
|
|
|
|
|
|
|
|
|
|
|
|
|
,
|
|
p_nItemIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Adds a menu item to a group.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nGroupIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number indicating the group to which the
|
|
item belongs.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">YAHOO.widget.MenuItem</span>>
|
|
</code>
|
|
<span property="yui:description"> Object reference for the MenuItem
|
|
instance to be added to the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> String specifying the text of the item to be added
|
|
to the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">Object</span>>
|
|
</code>
|
|
<span property="yui:description"> Object literal containing a set of menu item
|
|
configuration properties.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nItemIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Optional. Number indicating the index at
|
|
which the menu item should be added.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__cancelHideDelay">
|
|
<h4>
|
|
<a name="method__cancelHideDelay">_cancelHideDelay</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_cancelHideDelay</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Cancels the call to "hideMenu."
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__cancelShowDelay">
|
|
<h4>
|
|
<a name="method__cancelShowDelay">_cancelShowDelay</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_cancelShowDelay</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Cancels the call to the "showMenu."
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__clearSetWidthFlag">
|
|
<h4>
|
|
<a name="method__clearSetWidthFlag">_clearSetWidthFlag</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_clearSetWidthFlag</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Change event listener for the "width" configuration property. This listener is
|
|
added when a Menu's "width" configuration property is set by the "_setScrollHeight" method, and
|
|
is used to set the "_widthSetForScroll" property to "false" if the "width" configuration property
|
|
is changed after it was set by the "_setScrollHeight" method. If the "_widthSetForScroll"
|
|
property is set to "false", and the "_setScrollHeight" method is in the process of tearing down
|
|
scrolling functionality, it will maintain the Menu's new width rather than reseting it.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__configureSubmenu">
|
|
<h4>
|
|
<a name="method__configureSubmenu">_configureSubmenu</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_configureSubmenu</strong>
|
|
(
|
|
|
|
|
|
p_oItem
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Subscribes the menu item's submenu to its parent menu's events.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">YAHOO.widget.MenuItem</span>>
|
|
</code>
|
|
<span property="yui:description"> Object reference for the MenuItem
|
|
instance with the submenu to be configured.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__createItemGroup">
|
|
<h4>
|
|
<a name="method__createItemGroup">_createItemGroup</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
Array
|
|
<strong property="yui:name">_createItemGroup</strong>
|
|
(
|
|
|
|
|
|
p_nIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Creates a new menu item group (array) and its associated
|
|
<code><ul></code> element. Returns an aray of menu item groups.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number indicating the group to create.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method__disableScrollFooter">
|
|
<h4>
|
|
<a name="method__disableScrollFooter">_disableScrollFooter</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_disableScrollFooter</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Disables the footer used for scrolling the body of the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method__disableScrollHeader">
|
|
<h4>
|
|
<a name="method__disableScrollHeader">_disableScrollHeader</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_disableScrollHeader</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Disables the header used for scrolling the body of the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method__enableScrollFooter">
|
|
<h4>
|
|
<a name="method__enableScrollFooter">_enableScrollFooter</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_enableScrollFooter</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Enables the footer used for scrolling the body of the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method__enableScrollHeader">
|
|
<h4>
|
|
<a name="method__enableScrollHeader">_enableScrollHeader</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_enableScrollHeader</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Enables the header used for scrolling the body of the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__execHideDelay">
|
|
<h4>
|
|
<a name="method__execHideDelay">_execHideDelay</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_execHideDelay</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Hides the menu after the number of milliseconds specified by
|
|
the "hidedelay" configuration property.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__execSubmenuHideDelay">
|
|
<h4>
|
|
<a name="method__execSubmenuHideDelay">_execSubmenuHideDelay</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_execSubmenuHideDelay</strong>
|
|
(
|
|
|
|
|
|
p_oSubmenu
|
|
|
|
|
|
,
|
|
p_nMouseX
|
|
|
|
|
|
,
|
|
p_nHideDelay
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Hides a submenu after the number of milliseconds specified by
|
|
the "submenuhidedelay" configuration property have ellapsed.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oSubmenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object specifying the submenu that
|
|
should be hidden.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nMouseX</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> The x coordinate of the mouse when it left
|
|
the specified submenu's parent menu item.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nHideDelay</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> The number of milliseconds that should ellapse
|
|
before the submenu is hidden.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__getFirstEnabledItem">
|
|
<h4>
|
|
<a name="method__getFirstEnabledItem">_getFirstEnabledItem</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
YAHOO.widget.MenuItem
|
|
<strong property="yui:name">_getFirstEnabledItem</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the first enabled item in the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__getItemGroup">
|
|
<h4>
|
|
<a name="method__getItemGroup">_getItemGroup</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
Array
|
|
<strong property="yui:name">_getItemGroup</strong>
|
|
(
|
|
|
|
|
|
p_nIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the menu item group at the specified index.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number indicating the index of the menu item group
|
|
to be retrieved.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__initSubTree">
|
|
<h4>
|
|
<a name="method__initSubTree">_initSubTree</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_initSubTree</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Iterates the childNodes of the source element to find nodes
|
|
used to instantiate menu and menu items.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__onBeforeHide">
|
|
<h4>
|
|
<a name="method__onBeforeHide">_onBeforeHide</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onBeforeHide</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"beforehide" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</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__onBeforeRender">
|
|
<h4>
|
|
<a name="method__onBeforeRender">_onBeforeRender</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onBeforeRender</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"beforerender" event handler for the menu. Appends all of the
|
|
<code><ul></code>, <code><li></code> and their accompanying
|
|
title elements to the body element of the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</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__onBeforeShow">
|
|
<h4>
|
|
<a name="method__onBeforeShow">_onBeforeShow</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onBeforeShow</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"beforeshow" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</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_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"blur" event handler for a Menu instance.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The name of the event that was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_aArgs</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Collection of arguments sent when the event
|
|
was fired.</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_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"click" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</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__onHide">
|
|
<h4>
|
|
<a name="method__onHide">_onHide</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onHide</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"hide" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</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__onInit">
|
|
<h4>
|
|
<a name="method__onInit">_onInit</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onInit</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"init" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</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__onItemAdded">
|
|
<h4>
|
|
<a name="method__onItemAdded">_onItemAdded</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onItemAdded</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"itemadded" event handler for a Menu instance.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The name of the event that was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_aArgs</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Collection of arguments sent when the event
|
|
was fired.</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_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"keydown" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method__onKeyPress">
|
|
<h4>
|
|
<a name="method__onKeyPress">_onKeyPress</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onKeyPress</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"keypress" event handler for a Menu instance.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The name of the event that was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_aArgs</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Collection of arguments sent when the event
|
|
was fired.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__onMenuItemConfigChange">
|
|
<h4>
|
|
<a name="method__onMenuItemConfigChange">_onMenuItemConfigChange</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onMenuItemConfigChange</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oItem
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"configchange" event handler for the menu's items.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">YAHOO.widget.MenuItem</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the menu item
|
|
that fired the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__onMenuItemDestroy">
|
|
<h4>
|
|
<a name="method__onMenuItemDestroy">_onMenuItemDestroy</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onMenuItemDestroy</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oItem
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"destroy" event handler for the menu's items.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">YAHOO.widget.MenuItem</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the menu item
|
|
that fired the 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
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"click" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oEvent</span>
|
|
<<span property="yui:type">Event</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the DOM event object passed
|
|
back by the event utility (YAHOO.util.Event).</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the menu that
|
|
fired the 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_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"mouseout" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</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_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"mouseover" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</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__onParentMenuConfigChange">
|
|
<h4>
|
|
<a name="method__onParentMenuConfigChange">_onParentMenuConfigChange</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onParentMenuConfigChange</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oSubmenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"configchange" event handler for a submenu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oSubmenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the submenu that
|
|
subscribed to the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__onParentMenuRender">
|
|
<h4>
|
|
<a name="method__onParentMenuRender">_onParentMenuRender</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onParentMenuRender</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oSubmenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"render" event handler for a submenu. Renders a
|
|
submenu in response to the firing of its parent's "render" event.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oSubmenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the submenu that
|
|
subscribed to the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__onRender">
|
|
<h4>
|
|
<a name="method__onRender">_onRender</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onRender</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"render" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method__onScrollTargetMouseOut">
|
|
<h4>
|
|
<a name="method__onScrollTargetMouseOut">_onScrollTargetMouseOut</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onScrollTargetMouseOut</strong>
|
|
(
|
|
|
|
|
|
p_oEvent
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"mouseout" event handler for the menu's "header" and "footer"
|
|
elements. Used to stop scrolling the body of the menu up and down when the
|
|
menu's "maxheight" configuration property is set to a value greater than 0.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oEvent</span>
|
|
<<span property="yui:type">Event</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the DOM event object passed
|
|
back by the event utility (YAHOO.util.Event).</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the menu that
|
|
fired the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method__onScrollTargetMouseOver">
|
|
<h4>
|
|
<a name="method__onScrollTargetMouseOver">_onScrollTargetMouseOver</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onScrollTargetMouseOver</strong>
|
|
(
|
|
|
|
|
|
p_oEvent
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"mouseover" event handler for the menu's "header" and "footer"
|
|
elements. Used to scroll the body of the menu up and down when the
|
|
menu's "maxheight" configuration property is set to a value greater than 0.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oEvent</span>
|
|
<<span property="yui:type">Event</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the DOM event object passed
|
|
back by the event utility (YAHOO.util.Event).</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the menu that
|
|
fired the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__onShow">
|
|
<h4>
|
|
<a name="method__onShow">_onShow</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onShow</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"show" event handler for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</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__onVisibleChange">
|
|
<h4>
|
|
<a name="method__onVisibleChange">_onVisibleChange</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onVisibleChange</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Change event handler for the the menu's "visible" configuration
|
|
property.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="protected" rel="yui:method" resource="#method__onYChange">
|
|
<h4>
|
|
<a name="method__onYChange">_onYChange</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
protected
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_onYChange</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"y" event handler for a Menu instance.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The name of the event that was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_aArgs</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Collection of arguments sent when the event
|
|
was fired.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__removeItemFromGroupByIndex">
|
|
<h4>
|
|
<a name="method__removeItemFromGroupByIndex">_removeItemFromGroupByIndex</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
YAHOO.widget.MenuItem
|
|
<strong property="yui:name">_removeItemFromGroupByIndex</strong>
|
|
(
|
|
|
|
|
|
p_nGroupIndex
|
|
|
|
|
|
,
|
|
p_nItemIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Removes a menu item from a group by index. Returns the menu
|
|
item that was removed.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nGroupIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number indicating the group to which the menu
|
|
item belongs.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nItemIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number indicating the index of the menu item
|
|
to be removed.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__removeItemFromGroupByValue">
|
|
<h4>
|
|
<a name="method__removeItemFromGroupByValue">_removeItemFromGroupByValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
YAHOO.widget.MenuItem
|
|
<strong property="yui:name">_removeItemFromGroupByValue</strong>
|
|
(
|
|
|
|
|
|
p_nGroupIndex
|
|
|
|
|
|
,
|
|
p_oItem
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Removes a menu item from a group by reference. Returns the
|
|
menu item that was removed.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nGroupIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number indicating the group to which the
|
|
menu item belongs.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">YAHOO.widget.MenuItem</span>>
|
|
</code>
|
|
<span property="yui:description"> Object reference for the MenuItem
|
|
instance to be removed.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__setMaxHeight">
|
|
<h4>
|
|
<a name="method__setMaxHeight">_setMaxHeight</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_setMaxHeight</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_nMaxHeight
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
"renderEvent" handler used to defer the setting of the
|
|
"maxheight" configuration property until the menu is rendered in lazy
|
|
load scenarios.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The name of the event that was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_aArgs</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Collection of arguments sent when the event
|
|
was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nMaxHeight</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number representing the value to set for the
|
|
"maxheight" configuration property.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__setScrollHeight">
|
|
<h4>
|
|
<a name="method__setScrollHeight">_setScrollHeight</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_setScrollHeight</strong>
|
|
(
|
|
|
|
|
|
p_nScrollHeight
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nScrollHeight</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> Number representing the scrolling height of the Menu.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__subscribeToItemEvents">
|
|
<h4>
|
|
<a name="method__subscribeToItemEvents">_subscribeToItemEvents</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_subscribeToItemEvents</strong>
|
|
(
|
|
|
|
|
|
p_oItem
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Subscribes a menu to a menu item's event.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">YAHOO.widget.MenuItem</span>>
|
|
</code>
|
|
<span property="yui:description"> Object reference for the MenuItem
|
|
instance whose events should be subscribed to.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__updateItemProperties">
|
|
<h4>
|
|
<a name="method__updateItemProperties">_updateItemProperties</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_updateItemProperties</strong>
|
|
(
|
|
|
|
|
|
p_nGroupIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Updates the "index," "groupindex," and "className" properties
|
|
of the menu items in the specified group.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nGroupIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number indicating the group of items to update.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_addItem">
|
|
<h4>
|
|
<a name="method_addItem">addItem</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
YAHOO.widget.MenuItem
|
|
<strong property="yui:name">addItem</strong>
|
|
(
|
|
|
|
|
|
p_oItem
|
|
|
|
|
|
|
|
|
|
|
|
|
|
,
|
|
p_nGroupIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Appends an item to the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">YAHOO.widget.MenuItem</span>>
|
|
</code>
|
|
<span property="yui:description"> Object reference for the MenuItem
|
|
instance to be added to the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> String specifying the text of the item to be added
|
|
to the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">Object</span>>
|
|
</code>
|
|
<span property="yui:description"> Object literal containing a set of menu item
|
|
configuration properties.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nGroupIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Optional. Number indicating the group to
|
|
which the item belongs.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_addItems">
|
|
<h4>
|
|
<a name="method_addItems">addItems</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
Array
|
|
<strong property="yui:name">addItems</strong>
|
|
(
|
|
|
|
|
|
p_aItems
|
|
|
|
|
|
,
|
|
p_nGroupIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Adds an array of items to the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_aItems</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of items to be added to the menu. The array
|
|
can contain strings specifying the text for each item to be created, object
|
|
literals specifying each of the menu item configuration properties,
|
|
or MenuItem instances.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nGroupIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Optional. Number specifying the group to
|
|
which the items belongs.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</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 menu to lose focus and fires the "blur" event.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_checkPosition">
|
|
<h4>
|
|
<a name="method_checkPosition">checkPosition</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
Boolean
|
|
<strong property="yui:name">checkPosition</strong>
|
|
(
|
|
|
|
|
|
p_sPosition
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Checks to make sure that the value of the "position" property
|
|
is one of the supported strings. Returns true if the position is supported.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sPosition</span>
|
|
<<span property="yui:type">Object</span>>
|
|
</code>
|
|
<span property="yui:description"> String specifying the position of the menu.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_clearActiveItem">
|
|
<h4>
|
|
<a name="method_clearActiveItem">clearActiveItem</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">clearActiveItem</strong>
|
|
(
|
|
|
|
|
|
p_bBlur
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Sets the "selected" configuration property of the menu's active
|
|
item to "false" and hides the item's submenu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_bBlur</span>
|
|
<<span property="yui:type">Boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> Boolean indicating if the menu's active item
|
|
should be blurred.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_clearContent">
|
|
<h4>
|
|
<a name="method_clearContent">clearContent</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">clearContent</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Removes all of the content from the menu, including the menu
|
|
items, group titles, header and footer.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_configClassName">
|
|
<h4>
|
|
<a name="method_configClassName">configClassName</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">configClassName</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event handler for when the "classname" configuration property of
|
|
a menu changes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The name of the event that was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_aArgs</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Collection of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> The Menu instance fired the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_configContainer">
|
|
<h4>
|
|
<a name="method_configContainer">configContainer</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">configContainer</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event handler for when the "container" configuration property
|
|
of the menu changes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the menu that
|
|
fired the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_configDisabled">
|
|
<h4>
|
|
<a name="method_configDisabled">configDisabled</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">configDisabled</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event handler for when the "disabled" configuration property of
|
|
a menu changes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The name of the event that was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_aArgs</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Collection of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> The Menu instance fired the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_configHideDelay">
|
|
<h4>
|
|
<a name="method_configHideDelay">configHideDelay</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">configHideDelay</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event handler for when the "hidedelay" configuration property
|
|
of the menu changes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the menu that
|
|
fired the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_configIframe">
|
|
<h4>
|
|
<a name="method_configIframe">configIframe</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">configIframe</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event handler for when the "iframe" configuration property of
|
|
the menu changes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the menu that
|
|
fired the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_configMaxHeight">
|
|
<h4>
|
|
<a name="method_configMaxHeight">configMaxHeight</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">configMaxHeight</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event handler for when the "maxheight" configuration property of
|
|
a Menu changes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The name of the event that was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_aArgs</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Collection of arguments sent when the event
|
|
was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> The Menu instance fired
|
|
the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_configPosition">
|
|
<h4>
|
|
<a name="method_configPosition">configPosition</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">configPosition</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event handler for when the "position" configuration property
|
|
of the menu changes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the menu that
|
|
fired the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_configShadow">
|
|
<h4>
|
|
<a name="method_configShadow">configShadow</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">configShadow</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event handler for when the "shadow" configuration property of
|
|
a menu changes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> The name of the event that was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_aArgs</span>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Collection of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> The Menu instance fired the event.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_configVisible">
|
|
<h4>
|
|
<a name="method_configVisible">configVisible</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">configVisible</strong>
|
|
(
|
|
|
|
|
|
p_sType
|
|
|
|
|
|
,
|
|
p_aArgs
|
|
|
|
|
|
,
|
|
p_oMenu
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Event handler for when the "visible" configuration property
|
|
the menu changes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sType</span>
|
|
<<span property="yui:type">String</span>>
|
|
</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>
|
|
<<span property="yui:type">Array</span>>
|
|
</code>
|
|
<span property="yui:description"> Array of arguments sent when the event was fired.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oMenu</span>
|
|
<<span property="yui:type">YAHOO.widget.Menu</span>>
|
|
</code>
|
|
<span property="yui:description"> Object representing the menu that
|
|
fired the event.</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 menu's <code><div></code> element
|
|
(and accompanying child nodes) from the document.
|
|
</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 menu to receive focus and fires the "focus" event.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getItem">
|
|
<h4>
|
|
<a name="method_getItem">getItem</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
YAHOO.widget.MenuItem
|
|
<strong property="yui:name">getItem</strong>
|
|
(
|
|
|
|
|
|
p_nItemIndex
|
|
|
|
|
|
,
|
|
p_nGroupIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the item at the specified index.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nItemIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number indicating the ordinal position of the
|
|
item to be retrieved.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nGroupIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Optional. Number indicating the group to which
|
|
the item belongs.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getItemGroups">
|
|
<h4>
|
|
<a name="method_getItemGroups">getItemGroups</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
Array
|
|
<strong property="yui:name">getItemGroups</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Multi-dimensional Array representing the menu items as they
|
|
are grouped in the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getItems">
|
|
<h4>
|
|
<a name="method_getItems">getItems</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
Array
|
|
<strong property="yui:name">getItems</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns an array of all of the items in the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getRoot">
|
|
<h4>
|
|
<a name="method_getRoot">getRoot</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">getRoot</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Finds the menu's root menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getSubmenus">
|
|
<h4>
|
|
<a name="method_getSubmenus">getSubmenus</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
Array
|
|
<strong property="yui:name">getSubmenus</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns an array of all of the submenus that are immediate
|
|
children of the 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 menu 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_oConfig
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
The Menu class's initialization method. This method is
|
|
automatically called by the constructor, and sets up all DOM references
|
|
for pre-existing markup, and creates required markup if it is not
|
|
already present.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oElement</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> String specifying the id attribute of the
|
|
<code><div></code> element of the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oElement</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> String specifying the id attribute of the
|
|
<code><select></code> element to be used as the data source
|
|
for the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oElement</span>
|
|
<<span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
|
|
level-one-html.html#ID-22445964">HTMLDivElement</a></span>>
|
|
</code>
|
|
<span property="yui:description"> Object
|
|
specifying the <code><div></code> element of the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oElement</span>
|
|
<<span property="yui:type"><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
|
|
level-one-html.html#ID-94282980">HTMLSelectElement</a></span>>
|
|
</code>
|
|
<span property="yui:description">
|
|
Object specifying the <code><select></code> element to be used as
|
|
the data source for the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oConfig</span>
|
|
<<span property="yui:type">Object</span>>
|
|
</code>
|
|
<span property="yui:description"> Optional. Object literal specifying the
|
|
configuration for the menu. See configuration class documentation for
|
|
more details.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_initDefaultConfig">
|
|
<h4>
|
|
<a name="method_initDefaultConfig">initDefaultConfig</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">initDefaultConfig</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Initializes the class's configurable properties which can be
|
|
changed using the menu's Config object ("cfg").
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_initEvents">
|
|
<h4>
|
|
<a name="method_initEvents">initEvents</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">initEvents</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Initializes the custom events for the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_insertItem">
|
|
<h4>
|
|
<a name="method_insertItem">insertItem</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
YAHOO.widget.MenuItem
|
|
<strong property="yui:name">insertItem</strong>
|
|
(
|
|
|
|
|
|
p_oItem
|
|
|
|
|
|
|
|
|
|
|
|
|
|
,
|
|
p_nItemIndex
|
|
|
|
|
|
,
|
|
p_nGroupIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Inserts an item into the menu at the specified index.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">YAHOO.widget.MenuItem</span>>
|
|
</code>
|
|
<span property="yui:description"> Object reference for the MenuItem
|
|
instance to be added to the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> String specifying the text of the item to be added
|
|
to the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oItem</span>
|
|
<<span property="yui:type">Object</span>>
|
|
</code>
|
|
<span property="yui:description"> Object literal containing a set of menu item
|
|
configuration properties.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nItemIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number indicating the ordinal position at which
|
|
the item should be added.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nGroupIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Optional. Number indicating the group to which
|
|
the item belongs.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_positionOffScreen">
|
|
<h4>
|
|
<a name="method_positionOffScreen">positionOffScreen</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">positionOffScreen</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Positions the menu outside of the boundaries of the browser's
|
|
viewport. Called automatically when a menu is hidden to ensure that
|
|
it doesn't force the browser to render uncessary scrollbars.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_removeItem">
|
|
<h4>
|
|
<a name="method_removeItem">removeItem</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
YAHOO.widget.MenuItem
|
|
<strong property="yui:name">removeItem</strong>
|
|
(
|
|
|
|
|
|
p_oObject
|
|
|
|
|
|
|
|
|
|
,
|
|
p_nGroupIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Removes the specified item from the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oObject</span>
|
|
<<span property="yui:type">YAHOO.widget.MenuItem</span>>
|
|
</code>
|
|
<span property="yui:description"> Object reference for the MenuItem
|
|
instance to be removed from the menu.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_oObject</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Number specifying the index of the item
|
|
to be removed.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nGroupIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Optional. Number specifying the group to
|
|
which the item belongs.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_setInitialFocus">
|
|
<h4>
|
|
<a name="method_setInitialFocus">setInitialFocus</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">setInitialFocus</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Sets focus to the menu's first enabled item.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_setInitialSelection">
|
|
<h4>
|
|
<a name="method_setInitialSelection">setInitialSelection</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">setInitialSelection</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Sets the "selected" configuration property of the menu's first
|
|
enabled item to "true."
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_setItemGroupTitle">
|
|
<h4>
|
|
<a name="method_setItemGroupTitle">setItemGroupTitle</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">setItemGroupTitle</strong>
|
|
(
|
|
|
|
|
|
p_sGroupTitle
|
|
|
|
|
|
,
|
|
p_nGroupIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Sets the title of a group of menu items.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_sGroupTitle</span>
|
|
<<span property="yui:type">String</span>>
|
|
</code>
|
|
<span property="yui:description"> String specifying the title of the group.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_nGroupIndex</span>
|
|
<<span property="yui:type">Number</span>>
|
|
</code>
|
|
<span property="yui:description"> Optional. Number specifying the group to which
|
|
the title belongs.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_subscribe">
|
|
<h4>
|
|
<a name="method_subscribe">subscribe</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">subscribe</strong>
|
|
(
|
|
|
|
|
|
p_type
|
|
|
|
|
|
,
|
|
p_fn
|
|
|
|
|
|
,
|
|
p_obj
|
|
|
|
|
|
,
|
|
p_override
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Adds the specified CustomEvent subscriber to the menu and each of
|
|
its submenus.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_type</span>
|
|
<<span property="yui:type">string</span>>
|
|
</code>
|
|
<span property="yui:description"> the type, or name of the event</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_fn</span>
|
|
<<span property="yui:type">function</span>>
|
|
</code>
|
|
<span property="yui:description"> the function to exectute when the event fires</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_obj</span>
|
|
<<span property="yui:type">Object</span>>
|
|
</code>
|
|
<span property="yui:description"> An object to be passed along when the event
|
|
fires</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">p_override</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> If true, the obj passed in becomes the
|
|
execution scope of the listener</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</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 menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div rel="yui:inheritance">
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.widget.Module.html">
|
|
<h4>Methods inherited from <a href="YAHOO.widget.Module.html" property="yui:name" title="YAHOO.widget.Module">YAHOO.widget.Module</a>:</h4>
|
|
<div class="content" rel="yui:methods">
|
|
<code>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method__addToParent">
|
|
<a class="protected" href="YAHOO.widget.Module.html#method__addToParent" property="yui:name" title="_addToParent">_addToParent</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method__initResizeMonitor">
|
|
<a class="protected" href="YAHOO.widget.Module.html#method__initResizeMonitor" property="yui:name" title="_initResizeMonitor">_initResizeMonitor</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method__renderBody">
|
|
<a class="protected" href="YAHOO.widget.Module.html#method__renderBody" property="yui:name" title="_renderBody">_renderBody</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method__renderFooter">
|
|
<a class="protected" href="YAHOO.widget.Module.html#method__renderFooter" property="yui:name" title="_renderFooter">_renderFooter</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method__renderHeader">
|
|
<a class="protected" href="YAHOO.widget.Module.html#method__renderHeader" property="yui:name" title="_renderHeader">_renderHeader</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method__supportsCWResize">
|
|
<a class="private" href="YAHOO.widget.Module.html#method__supportsCWResize" property="yui:name" title="_supportsCWResize">_supportsCWResize</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_appendToBody">
|
|
<a class="" href="YAHOO.widget.Module.html#method_appendToBody" property="yui:name" title="appendToBody">appendToBody</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_appendToFooter">
|
|
<a class="" href="YAHOO.widget.Module.html#method_appendToFooter" property="yui:name" title="appendToFooter">appendToFooter</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_appendToHeader">
|
|
<a class="" href="YAHOO.widget.Module.html#method_appendToHeader" property="yui:name" title="appendToHeader">appendToHeader</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_configMonitorResize">
|
|
<a class="" href="YAHOO.widget.Module.html#method_configMonitorResize" property="yui:name" title="configMonitorResize">configMonitorResize</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_configVisible">
|
|
<a class="" href="YAHOO.widget.Module.html#method_configVisible" property="yui:name" title="configVisible">configVisible</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_destroy">
|
|
<a class="" href="YAHOO.widget.Module.html#method_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_hide">
|
|
<a class="" href="YAHOO.widget.Module.html#method_hide" property="yui:name" title="hide">hide</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_init">
|
|
<a class="" href="YAHOO.widget.Module.html#method_init" property="yui:name" title="init">init</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_initDefaultConfig">
|
|
<a class="" href="YAHOO.widget.Module.html#method_initDefaultConfig" property="yui:name" title="initDefaultConfig">initDefaultConfig</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_initEvents">
|
|
<a class="" href="YAHOO.widget.Module.html#method_initEvents" property="yui:name" title="initEvents">initEvents</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_initResizeMonitor">
|
|
<a class="" href="YAHOO.widget.Module.html#method_initResizeMonitor" property="yui:name" title="initResizeMonitor">initResizeMonitor</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_onDomResize">
|
|
<a class="" href="YAHOO.widget.Module.html#method_onDomResize" property="yui:name" title="onDomResize">onDomResize</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_render">
|
|
<a class="" href="YAHOO.widget.Module.html#method_render" property="yui:name" title="render">render</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_setBody">
|
|
<a class="" href="YAHOO.widget.Module.html#method_setBody" property="yui:name" title="setBody">setBody</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_setFooter">
|
|
<a class="" href="YAHOO.widget.Module.html#method_setFooter" property="yui:name" title="setFooter">setFooter</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_setHeader">
|
|
<a class="" href="YAHOO.widget.Module.html#method_setHeader" property="yui:name" title="setHeader">setHeader</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_show">
|
|
<a class="" href="YAHOO.widget.Module.html#method_show" property="yui:name" title="show">show</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Module.html#method_toString">
|
|
<a class="" href="YAHOO.widget.Module.html#method_toString" property="yui:name" title="toString">toString</a>
|
|
</span>
|
|
</code>
|
|
</div>
|
|
</div>
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.widget.Overlay.html">
|
|
<h4>Methods inherited from <a href="YAHOO.widget.Overlay.html" property="yui:name" title="YAHOO.widget.Overlay">YAHOO.widget.Overlay</a>:</h4>
|
|
<div class="content" rel="yui:methods">
|
|
<code>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__alignOnTrigger">
|
|
<a class="protected" href="YAHOO.widget.Overlay.html#method__alignOnTrigger" property="yui:name" title="_alignOnTrigger">_alignOnTrigger</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__autoFillOnHeightChange">
|
|
<a class="protected" href="YAHOO.widget.Overlay.html#method__autoFillOnHeightChange" property="yui:name" title="_autoFillOnHeightChange">_autoFillOnHeightChange</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__findTriggerCE">
|
|
<a class="private" href="YAHOO.widget.Overlay.html#method__findTriggerCE" property="yui:name" title="_findTriggerCE">_findTriggerCE</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__getComputedHeight">
|
|
<a class="private" href="YAHOO.widget.Overlay.html#method__getComputedHeight" property="yui:name" title="_getComputedHeight">_getComputedHeight</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__getConstrainedPos">
|
|
<a class="protected" href="YAHOO.widget.Overlay.html#method__getConstrainedPos" property="yui:name" title="_getConstrainedPos">_getConstrainedPos</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__getPreciseHeight">
|
|
<a class="private" href="YAHOO.widget.Overlay.html#method__getPreciseHeight" property="yui:name" title="_getPreciseHeight">_getPreciseHeight</a><span class="private">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__preventOverlap">
|
|
<a class="protected" href="YAHOO.widget.Overlay.html#method__preventOverlap" property="yui:name" title="_preventOverlap">_preventOverlap</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__primeXYFromDOM">
|
|
<a class="protected" href="YAHOO.widget.Overlay.html#method__primeXYFromDOM" property="yui:name" title="_primeXYFromDOM">_primeXYFromDOM</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__processTriggers">
|
|
<a class="protected" href="YAHOO.widget.Overlay.html#method__processTriggers" property="yui:name" title="_processTriggers">_processTriggers</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__setDomVisibility">
|
|
<a class="protected" href="YAHOO.widget.Overlay.html#method__setDomVisibility" property="yui:name" title="_setDomVisibility">_setDomVisibility</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method__validateAutoFillHeight">
|
|
<a class="protected" href="YAHOO.widget.Overlay.html#method__validateAutoFillHeight" property="yui:name" title="_validateAutoFillHeight">_validateAutoFillHeight</a><span class="protected">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_align">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_align" property="yui:name" title="align">align</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_bringToTop">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_bringToTop" property="yui:name" title="bringToTop">bringToTop</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_center">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_center" property="yui:name" title="center">center</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configAutoFillHeight">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configAutoFillHeight" property="yui:name" title="configAutoFillHeight">configAutoFillHeight</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configConstrainToViewport">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configConstrainToViewport" property="yui:name" title="configConstrainToViewport">configConstrainToViewport</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configContext">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configContext" property="yui:name" title="configContext">configContext</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configFixedCenter">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configFixedCenter" property="yui:name" title="configFixedCenter">configFixedCenter</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configHeight">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configHeight" property="yui:name" title="configHeight">configHeight</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configIframe">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configIframe" property="yui:name" title="configIframe">configIframe</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configVisible">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configVisible" property="yui:name" title="configVisible">configVisible</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configWidth">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configWidth" property="yui:name" title="configWidth">configWidth</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configX">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configX" property="yui:name" title="configX">configX</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configXY">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configXY" property="yui:name" title="configXY">configXY</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configY">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configY" property="yui:name" title="configY">configY</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_configzIndex">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_configzIndex" property="yui:name" title="configzIndex">configzIndex</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_destroy">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_doCenterOnDOMEvent">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_doCenterOnDOMEvent" property="yui:name" title="doCenterOnDOMEvent">doCenterOnDOMEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_enforceConstraints">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_enforceConstraints" property="yui:name" title="enforceConstraints">enforceConstraints</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_fillHeight">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_fillHeight" property="yui:name" title="fillHeight">fillHeight</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_fitsInViewport">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_fitsInViewport" property="yui:name" title="fitsInViewport">fitsInViewport</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_forceContainerRedraw">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_forceContainerRedraw" property="yui:name" title="forceContainerRedraw">forceContainerRedraw</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_getConstrainedX">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_getConstrainedX" property="yui:name" title="getConstrainedX">getConstrainedX</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_getConstrainedXY">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_getConstrainedXY" property="yui:name" title="getConstrainedXY">getConstrainedXY</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_getConstrainedY">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_getConstrainedY" property="yui:name" title="getConstrainedY">getConstrainedY</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_hideIframe">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_hideIframe" property="yui:name" title="hideIframe">hideIframe</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_hideMacGeckoScrollbars">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_hideMacGeckoScrollbars" property="yui:name" title="hideMacGeckoScrollbars">hideMacGeckoScrollbars</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_init">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_init" property="yui:name" title="init">init</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_initDefaultConfig">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_initDefaultConfig" property="yui:name" title="initDefaultConfig">initDefaultConfig</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_initEvents">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_initEvents" property="yui:name" title="initEvents">initEvents</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_moveTo">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_moveTo" property="yui:name" title="moveTo">moveTo</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_onDomResize">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_onDomResize" property="yui:name" title="onDomResize">onDomResize</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_showIframe">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_showIframe" property="yui:name" title="showIframe">showIframe</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_showMacGeckoScrollbars">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_showMacGeckoScrollbars" property="yui:name" title="showMacGeckoScrollbars">showMacGeckoScrollbars</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_stackIframe">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_stackIframe" property="yui:name" title="stackIframe">stackIframe</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_syncIframe">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_syncIframe" property="yui:name" title="syncIframe">syncIframe</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_syncPosition">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_syncPosition" property="yui:name" title="syncPosition">syncPosition</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:method" resource="YAHOO.widget.Overlay.html#method_toString">
|
|
<a class="" href="YAHOO.widget.Overlay.html#method_toString" property="yui:name" title="toString">toString</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_clickEvent">
|
|
<h4>
|
|
<a name="event_clickEvent">clickEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">clickEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires when the user clicks the on the menu. Passes back the
|
|
DOM Event object as an argument.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_itemAddedEvent">
|
|
<h4>
|
|
<a name="event_itemAddedEvent">itemAddedEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">itemAddedEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires when an item is added to the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_itemRemovedEvent">
|
|
<h4>
|
|
<a name="event_itemRemovedEvent">itemRemovedEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">itemRemovedEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires when an item is removed to the menu.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_keyDownEvent">
|
|
<h4>
|
|
<a name="event_keyDownEvent">keyDownEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">keyDownEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires when the user presses a key when one of the menu's items
|
|
has focus. Passes back the DOM Event object as an argument.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_keyPressEvent">
|
|
<h4>
|
|
<a name="event_keyPressEvent">keyPressEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">keyPressEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires when the user presses an alphanumeric key when one of the
|
|
menu's items has focus. Passes back the DOM Event object as an argument.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_keyUpEvent">
|
|
<h4>
|
|
<a name="event_keyUpEvent">keyUpEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">keyUpEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires when the user releases a key when one of the menu's items
|
|
has focus. Passes back the DOM Event object as an argument.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_mouseDownEvent">
|
|
<h4>
|
|
<a name="event_mouseDownEvent">mouseDownEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">mouseDownEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires when the user mouses down on the menu. Passes back the
|
|
DOM Event object as an argument.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_mouseOutEvent">
|
|
<h4>
|
|
<a name="event_mouseOutEvent">mouseOutEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">mouseOutEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires when the mouse has left the menu. Passes back the DOM
|
|
Event object as an argument.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_mouseOverEvent">
|
|
<h4>
|
|
<a name="event_mouseOverEvent">mouseOverEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">mouseOverEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires when the mouse has entered the menu. Passes back
|
|
the DOM Event object as an argument.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:event" resource="#event_mouseUpEvent">
|
|
<h4>
|
|
<a name="event_mouseUpEvent">mouseUpEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">mouseUpEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Fires when the user releases a mouse button while the mouse is
|
|
over the menu. Passes back the DOM Event object as an argument.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div rel="yui:inheritance">
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.widget.Module.html">
|
|
<h4>Events inherited from <a href="YAHOO.widget.Module.html" property="yui:name" title="YAHOO.widget.Module">YAHOO.widget.Module</a>:</h4>
|
|
<div class="content" rel="yui:events">
|
|
<code>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_appendEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_appendEvent" property="yui:name" title="appendEvent">appendEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_beforeHideEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_beforeHideEvent" property="yui:name" title="beforeHideEvent">beforeHideEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_beforeInitEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_beforeInitEvent" property="yui:name" title="beforeInitEvent">beforeInitEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_beforeRenderEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_beforeRenderEvent" property="yui:name" title="beforeRenderEvent">beforeRenderEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_beforeShowEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_beforeShowEvent" property="yui:name" title="beforeShowEvent">beforeShowEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_changeBodyEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_changeBodyEvent" property="yui:name" title="changeBodyEvent">changeBodyEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_changeContentEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_changeContentEvent" property="yui:name" title="changeContentEvent">changeContentEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_changeFooterEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_changeFooterEvent" property="yui:name" title="changeFooterEvent">changeFooterEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_changeHeaderEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_changeHeaderEvent" property="yui:name" title="changeHeaderEvent">changeHeaderEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_destroyEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_destroyEvent" property="yui:name" title="destroyEvent">destroyEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_hideEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_hideEvent" property="yui:name" title="hideEvent">hideEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_initEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_initEvent" property="yui:name" title="initEvent">initEvent</a>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_renderEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_renderEvent" property="yui:name" title="renderEvent">renderEvent</a>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_showEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_showEvent" property="yui:name" title="showEvent">showEvent</a>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Module.html#event_YAHOO.widget.Module.textResizeEvent">
|
|
<a class="" href="YAHOO.widget.Module.html#event_YAHOO.widget.Module.textResizeEvent" property="yui:name" title="YAHOO.widget.Module.textResizeEvent">YAHOO.widget.Module.textResizeEvent</a>
|
|
</span>
|
|
|
|
</code>
|
|
</div>
|
|
</div>
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.widget.Overlay.html">
|
|
<h4>Events inherited from <a href="YAHOO.widget.Overlay.html" property="yui:name" title="YAHOO.widget.Overlay">YAHOO.widget.Overlay</a>:</h4>
|
|
<div class="content" rel="yui:events">
|
|
<code>
|
|
<span rel="yui:event" resource="YAHOO.widget.Overlay.html#event_beforeMoveEvent">
|
|
<a class="" href="YAHOO.widget.Overlay.html#event_beforeMoveEvent" property="yui:name" title="beforeMoveEvent">beforeMoveEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Overlay.html#event_moveEvent">
|
|
<a class="" href="YAHOO.widget.Overlay.html#event_moveEvent" property="yui:name" title="moveEvent">moveEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Overlay.html#event_YAHOO.widget.Overlay.windowResizeEvent">
|
|
<a class="" href="YAHOO.widget.Overlay.html#event_YAHOO.widget.Overlay.windowResizeEvent" property="yui:name" title="YAHOO.widget.Overlay.windowResizeEvent">YAHOO.widget.Overlay.windowResizeEvent</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:event" resource="YAHOO.widget.Overlay.html#event_YAHOO.widget.Overlay.windowScrollEvent">
|
|
<a class="" href="YAHOO.widget.Overlay.html#event_YAHOO.widget.Overlay.windowScrollEvent" property="yui:name" title="YAHOO.widget.Overlay.windowScrollEvent">YAHOO.widget.Overlay.windowScrollEvent</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_autosubmenudisplay">
|
|
<h4><a name="config_autosubmenudisplay">autosubmenudisplay</a>
|
|
<code>- <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating if submenus are automatically made
|
|
visible when the user mouses over the menu's items.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: true
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_classname">
|
|
<h4><a name="config_classname">classname</a>
|
|
<code>- <span property="yui:type">String</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
String representing the CSS class to be applied to the
|
|
menu's root <code><div></code> element. The specified class(es)
|
|
are appended in addition to the default class as specified by the menu's
|
|
CSS_CLASS_NAME constant. When set this property is automatically
|
|
applied to all submenus.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: null
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_clicktohide">
|
|
<h4><a name="config_clicktohide">clicktohide</a>
|
|
<code>- <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating if the menu will automatically be
|
|
hidden if the user clicks outside of it. This property is only
|
|
applied when the "position" configuration property is set to dynamic
|
|
and is automatically applied to all submenus.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: true
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_constraintoviewport">
|
|
<h4><a name="config_constraintoviewport">constraintoviewport</a>
|
|
<code>- <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating if the menu will try to remain inside
|
|
the boundaries of the size of viewport. This property is only applied
|
|
when the "position" configuration property is set to dynamic and is
|
|
automatically applied to all submenus.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: true
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_container">
|
|
<h4><a name="config_container">container</a>
|
|
<code>- <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 menu's markup should be
|
|
rendered into.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: document.body
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_context">
|
|
<h4><a name="config_context">context</a>
|
|
<code>- <span property="yui:type">Array</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Array of context arguments for context-sensitive positioning.
|
|
The format is: [id or element, element corner, context corner].
|
|
For example, setting this property to ["img1", "tl", "bl"] would
|
|
align the Menu's top left corner to the context element's
|
|
bottom left corner. This property is only applied when the "position"
|
|
configuration property is set to dynamic.
|
|
</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 menu should be disabled.
|
|
Disabling a menu disables each of its items. (Disabled menu items are
|
|
dimmed and will not respond to user input or fire events.) Disabled
|
|
menus have a corresponding "disabled" CSS class applied to their root
|
|
<code><div></code> element.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: false
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_effect">
|
|
<h4><a name="config_effect">effect</a>
|
|
<code>- <span property="yui:type">Object</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Object or array of objects representing the ContainerEffect
|
|
classes that are active for animating the container. When set this
|
|
property is automatically applied to all submenus.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: null
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_fixedcenter">
|
|
<h4><a name="config_fixedcenter">fixedcenter</a>
|
|
<code>- <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating if the Menu should be anchored to the
|
|
center of the viewport. This property is only applied when the
|
|
"position" configuration property is set to dynamic.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: false
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_hidedelay">
|
|
<h4><a name="config_hidedelay">hidedelay</a>
|
|
<code>- <span property="yui:type">Number</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Number indicating the time (in milliseconds) that should
|
|
expire before the menu is hidden. This property is only applied when
|
|
the "position" configuration property is set to dynamic and is
|
|
automatically applied to all submenus.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 0
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_iframe">
|
|
<h4><a name="config_iframe">iframe</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 Menu should
|
|
have an IFRAME shim; used to prevent SELECT elements from
|
|
poking through an Overlay instance in IE6. When set to "true",
|
|
the iframe shim is created when the Menu instance is intially
|
|
made visible. This property is only applied when the "position"
|
|
configuration property is set to dynamic and is automatically applied
|
|
to all submenus.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: true for IE6 and below, false for all other browsers.
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_keepopen">
|
|
<h4><a name="config_keepopen">keepopen</a>
|
|
<code>- <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating if the menu should remain open when clicked.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: false
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_maxheight">
|
|
<h4><a name="config_maxheight">maxheight</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><div class="bd"></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_minscrollheight">
|
|
<h4><a name="config_minscrollheight">minscrollheight</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 "maxheight"
|
|
configuration property. When set this property is automatically applied
|
|
to all submenus.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 90
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_position">
|
|
<h4><a name="config_position">position</a>
|
|
<code>- <span property="yui:type">String</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
String indicating how a menu should be positioned on the
|
|
screen. Possible values are "static" and "dynamic." Static menus are
|
|
visible by default and reside in the normal flow of the document
|
|
(CSS position: static). Dynamic menus are hidden by default, reside
|
|
out of the normal flow of the document (CSS position: absolute), and
|
|
can overlay other elements on the screen.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: dynamic
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_preventcontextoverlap">
|
|
<h4><a name="config_preventcontextoverlap">preventcontextoverlap</a>
|
|
<code>- <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating whether or not a submenu should overlap its parent MenuItem
|
|
when the "constraintoviewport" configuration property is set to "true".
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: true
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_scrollincrement">
|
|
<h4><a name="config_scrollincrement">scrollincrement</a>
|
|
<code>- <span property="yui:type">Number</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Number used to control the scroll speed of a menu. Used to
|
|
increment the "scrollTop" property of the menu's body by when a menu's
|
|
content is scrolling. When set this property is automatically applied
|
|
to all submenus.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 1
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_shadow">
|
|
<h4><a name="config_shadow">shadow</a>
|
|
<code>- <span property="yui:type">Boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Boolean indicating if the menu should have a shadow.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: true
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_showdelay">
|
|
<h4><a name="config_showdelay">showdelay</a>
|
|
<code>- <span property="yui:type">Number</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Number indicating the time (in milliseconds) that should
|
|
expire before a submenu is made visible when the user mouses over
|
|
the menu's items. This property is only applied when the "position"
|
|
configuration property is set to dynamic and is automatically applied
|
|
to all submenus.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 250
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_submenualignment">
|
|
<h4><a name="config_submenualignment">submenualignment</a>
|
|
<code>- <span property="yui:type">Array</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Array defining how submenus should be aligned to their
|
|
parent menu item. The format is: [itemCorner, submenuCorner]. By default
|
|
a submenu's top left corner is aligned to its parent menu item's top
|
|
right corner.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: ["tl","tr"]
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_submenuhidedelay">
|
|
<h4><a name="config_submenuhidedelay">submenuhidedelay</a>
|
|
<code>- <span property="yui:type">Number</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Number indicating the time (in milliseconds) that should
|
|
expire before a submenu is hidden when the user mouses out of a menu item
|
|
heading in the direction of a submenu. The value must be greater than or
|
|
equal to the value specified for the "showdelay" configuration property.
|
|
This property is only applied when the "position" configuration property
|
|
is set to dynamic and is automatically applied to all submenus.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 250
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_visible">
|
|
<h4><a name="config_visible">visible</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 menu is visible. If
|
|
the menu's "position" configuration property is set to "dynamic" (the
|
|
default), this property toggles the menu's <code><div></code>
|
|
element's "visibility" style property between "visible" (true) or
|
|
"hidden" (false). If the menu's "position" configuration property is
|
|
set to "static" this property toggles the menu's
|
|
<code><div></code> element's "display" style property
|
|
between "block" (true) or "none" (false).
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: false
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_x">
|
|
<h4><a name="config_x">x</a>
|
|
<code>- <span property="yui:type">Number</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Number representing the absolute x-coordinate position of
|
|
the Menu. This property is only applied when the "position"
|
|
configuration property is set to dynamic.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: null
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_xy">
|
|
<h4><a name="config_xy">xy</a>
|
|
<code>- <span property="yui:type">Number[]</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Array of the absolute x and y positions of the Menu. This
|
|
property is only applied when the "position" configuration property is
|
|
set to dynamic.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: null
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:attribute" resource="#config_y">
|
|
<h4><a name="config_y">y</a>
|
|
<code>- <span property="yui:type">Number</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Number representing the absolute y-coordinate position of
|
|
the Menu. This property is only applied when the "position"
|
|
configuration property is set to dynamic.
|
|
</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.widget.Module.html">
|
|
<h4>Configuration attributes inherited from <a href="YAHOO.widget.Module.html" property="yui:name" title="YAHOO.widget.Module">YAHOO.widget.Module</a>:</h4>
|
|
<div class="content" rel="yui:attributes">
|
|
<code>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Module.html#config_appendtodocumentbody">
|
|
<a class="" href="YAHOO.widget.Module.html#config_appendtodocumentbody" property="yui:name" title="appendtodocumentbody">appendtodocumentbody</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Module.html#config_effect">
|
|
<a class="" href="YAHOO.widget.Module.html#config_effect" property="yui:name" title="effect">effect</a>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Module.html#config_monitorresize">
|
|
<a class="" href="YAHOO.widget.Module.html#config_monitorresize" property="yui:name" title="monitorresize">monitorresize</a>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Module.html#config_visible">
|
|
<a class="" href="YAHOO.widget.Module.html#config_visible" property="yui:name" title="visible">visible</a>
|
|
</span>
|
|
|
|
</code>
|
|
</div>
|
|
</div>
|
|
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.widget.Overlay.html">
|
|
<h4>Configuration attributes inherited from <a href="YAHOO.widget.Overlay.html" property="yui:name" title="YAHOO.widget.Overlay">YAHOO.widget.Overlay</a>:</h4>
|
|
<div class="content" rel="yui:attributes">
|
|
<code>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_autofillheight">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_autofillheight" property="yui:name" title="autofillheight">autofillheight</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_constraintoviewport">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_constraintoviewport" property="yui:name" title="constraintoviewport">constraintoviewport</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_context">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_context" property="yui:name" title="context">context</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_fixedcenter">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_fixedcenter" property="yui:name" title="fixedcenter">fixedcenter</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_height">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_height" property="yui:name" title="height">height</a><span class="">,</span>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_iframe">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_iframe" property="yui:name" title="iframe">iframe</a>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_preventcontextoverlap">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_preventcontextoverlap" property="yui:name" title="preventcontextoverlap">preventcontextoverlap</a>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_width">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_width" property="yui:name" title="width">width</a>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_x">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_x" property="yui:name" title="x">x</a>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_xy">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_xy" property="yui:name" title="xy">xy</a>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_y">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_y" property="yui:name" title="y">y</a>
|
|
</span>
|
|
<span rel="yui:attribute" resource="YAHOO.widget.Overlay.html#config_zIndex">
|
|
<a class="" href="YAHOO.widget.Overlay.html#config_zIndex" property="yui:name" title="zIndex">zIndex</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=""><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="selected"><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=""><a href="YAHOO.widget.ContextMenu.html" title="YAHOO.widget.ContextMenu">YAHOO.widget.ContextMenu</a></li>
|
|
<li class=""><a href="YAHOO.widget.ContextMenuItem.html" title="YAHOO.widget.ContextMenuItem">YAHOO.widget.ContextMenuItem</a></li>
|
|
<li class="selected"><a href="YAHOO.widget.Menu.html" title="YAHOO.widget.Menu">YAHOO.widget.Menu</a></li>
|
|
<li class=""><a href="YAHOO.widget.MenuBar.html" title="YAHOO.widget.MenuBar">YAHOO.widget.MenuBar</a></li>
|
|
<li class=""><a href="YAHOO.widget.MenuBarItem.html" title="YAHOO.widget.MenuBarItem">YAHOO.widget.MenuBarItem</a></li>
|
|
<li class=""><a href="YAHOO.widget.MenuItem.html" title="YAHOO.widget.MenuItem">YAHOO.widget.MenuItem</a></li>
|
|
<li class=""><a href="YAHOO.widget.MenuManager.html" title="YAHOO.widget.MenuManager">YAHOO.widget.MenuManager</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="fileList" class="module">
|
|
<h4>Files</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="contextmenu.js.html" title="contextmenu.js">contextmenu.js</a></li>
|
|
<li class=""><a href="contextmenuitem.js.html" title="contextmenuitem.js">contextmenuitem.js</a></li>
|
|
<li class=""><a href="menu.js.html" title="menu.js">menu.js</a></li>
|
|
<li class=""><a href="menuariaplugin.js.html" title="menuariaplugin.js">menuariaplugin.js</a></li>
|
|
<li class=""><a href="menubar.js.html" title="menubar.js">menubar.js</a></li>
|
|
<li class=""><a href="menubaritem.js.html" title="menubaritem.js">menubaritem.js</a></li>
|
|
<li class=""><a href="menuitem.js.html" title="menuitem.js">menuitem.js</a></li>
|
|
<li class=""><a href="menumanager.js.html" title="menumanager.js">menumanager.js</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="propertyList" class="module">
|
|
<h4>Properties</h4>
|
|
<ul class="content">
|
|
<li class="private"><a href="#property__aGroupTitleElements" title="_aGroupTitleElements">_aGroupTitleElements</a></li>
|
|
<li class="private"><a href="#property__aItemGroups" title="_aItemGroups">_aItemGroups</a></li>
|
|
<li class="private"><a href="#property__aListElements" title="_aListElements">_aListElements</a></li>
|
|
<li class="private"><a href="#property__bHandledMouseOutEvent" title="_bHandledMouseOutEvent">_bHandledMouseOutEvent</a></li>
|
|
<li class="private"><a href="#property__bHandledMouseOverEvent" title="_bHandledMouseOverEvent">_bHandledMouseOverEvent</a></li>
|
|
<li class="private"><a href="#property__bStopMouseEventHandlers" title="_bStopMouseEventHandlers">_bStopMouseEventHandlers</a></li>
|
|
<li class="private"><a href="#property__nCurrentMouseX" title="_nCurrentMouseX">_nCurrentMouseX</a></li>
|
|
<li class="private"><a href="#property__sClassName" title="_sClassName">_sClassName</a></li>
|
|
<li class="private"><a href="#property__useHideDelay" title="_useHideDelay">_useHideDelay</a></li>
|
|
<li class=""><a href="#property_activeItem" title="activeItem">activeItem</a></li>
|
|
<li class=""><a href="#property_CSS_CLASS_NAME" title="CSS_CLASS_NAME">CSS_CLASS_NAME</a></li>
|
|
<li class=""><a href="#property_GROUP_TITLE_TAG_NAME" title="GROUP_TITLE_TAG_NAME">GROUP_TITLE_TAG_NAME</a></li>
|
|
<li class=""><a href="#property_ITEM_TYPE" title="ITEM_TYPE">ITEM_TYPE</a></li>
|
|
<li class=""><a href="#property_itemData" title="itemData">itemData</a></li>
|
|
<li class=""><a href="#property_lazyLoad" title="lazyLoad">lazyLoad</a></li>
|
|
<li class=""><a href="#property_OFF_SCREEN_POSITION" title="OFF_SCREEN_POSITION">OFF_SCREEN_POSITION</a></li>
|
|
<li class=""><a href="#property_parent" title="parent">parent</a></li>
|
|
<li class=""><a href="#property_srcElement" title="srcElement">srcElement</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="methodsList" class="module">
|
|
<h4>Methods</h4>
|
|
<ul class="content">
|
|
<li class="private"><a href="#method__addItemToGroup" title="_addItemToGroup">_addItemToGroup</a></li>
|
|
<li class="private"><a href="#method__cancelHideDelay" title="_cancelHideDelay">_cancelHideDelay</a></li>
|
|
<li class="private"><a href="#method__cancelShowDelay" title="_cancelShowDelay">_cancelShowDelay</a></li>
|
|
<li class="private"><a href="#method__clearSetWidthFlag" title="_clearSetWidthFlag">_clearSetWidthFlag</a></li>
|
|
<li class="private"><a href="#method__configureSubmenu" title="_configureSubmenu">_configureSubmenu</a></li>
|
|
<li class="private"><a href="#method__createItemGroup" title="_createItemGroup">_createItemGroup</a></li>
|
|
<li class="protected"><a href="#method__disableScrollFooter" title="_disableScrollFooter">_disableScrollFooter</a></li>
|
|
<li class="protected"><a href="#method__disableScrollHeader" title="_disableScrollHeader">_disableScrollHeader</a></li>
|
|
<li class="protected"><a href="#method__enableScrollFooter" title="_enableScrollFooter">_enableScrollFooter</a></li>
|
|
<li class="protected"><a href="#method__enableScrollHeader" title="_enableScrollHeader">_enableScrollHeader</a></li>
|
|
<li class="private"><a href="#method__execHideDelay" title="_execHideDelay">_execHideDelay</a></li>
|
|
<li class="private"><a href="#method__execSubmenuHideDelay" title="_execSubmenuHideDelay">_execSubmenuHideDelay</a></li>
|
|
<li class="private"><a href="#method__getFirstEnabledItem" title="_getFirstEnabledItem">_getFirstEnabledItem</a></li>
|
|
<li class="private"><a href="#method__getItemGroup" title="_getItemGroup">_getItemGroup</a></li>
|
|
<li class="private"><a href="#method__initSubTree" title="_initSubTree">_initSubTree</a></li>
|
|
<li class="private"><a href="#method__onBeforeHide" title="_onBeforeHide">_onBeforeHide</a></li>
|
|
<li class="private"><a href="#method__onBeforeRender" title="_onBeforeRender">_onBeforeRender</a></li>
|
|
<li class="private"><a href="#method__onBeforeShow" title="_onBeforeShow">_onBeforeShow</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="private"><a href="#method__onHide" title="_onHide">_onHide</a></li>
|
|
<li class="private"><a href="#method__onInit" title="_onInit">_onInit</a></li>
|
|
<li class="private"><a href="#method__onItemAdded" title="_onItemAdded">_onItemAdded</a></li>
|
|
<li class="protected"><a href="#method__onKeyDown" title="_onKeyDown">_onKeyDown</a></li>
|
|
<li class="protected"><a href="#method__onKeyPress" title="_onKeyPress">_onKeyPress</a></li>
|
|
<li class="private"><a href="#method__onMenuItemConfigChange" title="_onMenuItemConfigChange">_onMenuItemConfigChange</a></li>
|
|
<li class="private"><a href="#method__onMenuItemDestroy" title="_onMenuItemDestroy">_onMenuItemDestroy</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="private"><a href="#method__onParentMenuConfigChange" title="_onParentMenuConfigChange">_onParentMenuConfigChange</a></li>
|
|
<li class="private"><a href="#method__onParentMenuRender" title="_onParentMenuRender">_onParentMenuRender</a></li>
|
|
<li class="private"><a href="#method__onRender" title="_onRender">_onRender</a></li>
|
|
<li class="protected"><a href="#method__onScrollTargetMouseOut" title="_onScrollTargetMouseOut">_onScrollTargetMouseOut</a></li>
|
|
<li class="protected"><a href="#method__onScrollTargetMouseOver" title="_onScrollTargetMouseOver">_onScrollTargetMouseOver</a></li>
|
|
<li class="private"><a href="#method__onShow" title="_onShow">_onShow</a></li>
|
|
<li class="private"><a href="#method__onVisibleChange" title="_onVisibleChange">_onVisibleChange</a></li>
|
|
<li class="protected"><a href="#method__onYChange" title="_onYChange">_onYChange</a></li>
|
|
<li class="private"><a href="#method__removeItemFromGroupByIndex" title="_removeItemFromGroupByIndex">_removeItemFromGroupByIndex</a></li>
|
|
<li class="private"><a href="#method__removeItemFromGroupByValue" title="_removeItemFromGroupByValue">_removeItemFromGroupByValue</a></li>
|
|
<li class="private"><a href="#method__setMaxHeight" title="_setMaxHeight">_setMaxHeight</a></li>
|
|
<li class="private"><a href="#method__setScrollHeight" title="_setScrollHeight">_setScrollHeight</a></li>
|
|
<li class="private"><a href="#method__subscribeToItemEvents" title="_subscribeToItemEvents">_subscribeToItemEvents</a></li>
|
|
<li class="private"><a href="#method__updateItemProperties" title="_updateItemProperties">_updateItemProperties</a></li>
|
|
<li class=""><a href="#method_addItem" title="addItem">addItem</a></li>
|
|
<li class=""><a href="#method_addItems" title="addItems">addItems</a></li>
|
|
<li class=""><a href="#method_blur" title="blur">blur</a></li>
|
|
<li class="private"><a href="#method_checkPosition" title="checkPosition">checkPosition</a></li>
|
|
<li class=""><a href="#method_clearActiveItem" title="clearActiveItem">clearActiveItem</a></li>
|
|
<li class=""><a href="#method_clearContent" title="clearContent">clearContent</a></li>
|
|
<li class=""><a href="#method_configClassName" title="configClassName">configClassName</a></li>
|
|
<li class=""><a href="#method_configContainer" title="configContainer">configContainer</a></li>
|
|
<li class=""><a href="#method_configDisabled" title="configDisabled">configDisabled</a></li>
|
|
<li class=""><a href="#method_configHideDelay" title="configHideDelay">configHideDelay</a></li>
|
|
<li class=""><a href="#method_configIframe" title="configIframe">configIframe</a></li>
|
|
<li class=""><a href="#method_configMaxHeight" title="configMaxHeight">configMaxHeight</a></li>
|
|
<li class=""><a href="#method_configPosition" title="configPosition">configPosition</a></li>
|
|
<li class=""><a href="#method_configShadow" title="configShadow">configShadow</a></li>
|
|
<li class=""><a href="#method_configVisible" title="configVisible">configVisible</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_getItem" title="getItem">getItem</a></li>
|
|
<li class=""><a href="#method_getItemGroups" title="getItemGroups">getItemGroups</a></li>
|
|
<li class=""><a href="#method_getItems" title="getItems">getItems</a></li>
|
|
<li class=""><a href="#method_getRoot" title="getRoot">getRoot</a></li>
|
|
<li class=""><a href="#method_getSubmenus" title="getSubmenus">getSubmenus</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_initDefaultConfig" title="initDefaultConfig">initDefaultConfig</a></li>
|
|
<li class=""><a href="#method_initEvents" title="initEvents">initEvents</a></li>
|
|
<li class=""><a href="#method_insertItem" title="insertItem">insertItem</a></li>
|
|
<li class=""><a href="#method_positionOffScreen" title="positionOffScreen">positionOffScreen</a></li>
|
|
<li class=""><a href="#method_removeItem" title="removeItem">removeItem</a></li>
|
|
<li class=""><a href="#method_setInitialFocus" title="setInitialFocus">setInitialFocus</a></li>
|
|
<li class=""><a href="#method_setInitialSelection" title="setInitialSelection">setInitialSelection</a></li>
|
|
<li class=""><a href="#method_setItemGroupTitle" title="setItemGroupTitle">setItemGroupTitle</a></li>
|
|
<li class=""><a href="#method_subscribe" title="subscribe">subscribe</a></li>
|
|
<li class=""><a href="#method_toString" title="toString">toString</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="eventsList" class="module">
|
|
<h4>Events</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="#event_clickEvent" title="clickEvent">clickEvent</a></li>
|
|
<li class=""><a href="#event_itemAddedEvent" title="itemAddedEvent">itemAddedEvent</a></li>
|
|
<li class=""><a href="#event_itemRemovedEvent" title="itemRemovedEvent">itemRemovedEvent</a></li>
|
|
<li class=""><a href="#event_keyDownEvent" title="keyDownEvent">keyDownEvent</a></li>
|
|
<li class=""><a href="#event_keyPressEvent" title="keyPressEvent">keyPressEvent</a></li>
|
|
<li class=""><a href="#event_keyUpEvent" title="keyUpEvent">keyUpEvent</a></li>
|
|
<li class=""><a href="#event_mouseDownEvent" title="mouseDownEvent">mouseDownEvent</a></li>
|
|
<li class=""><a href="#event_mouseOutEvent" title="mouseOutEvent">mouseOutEvent</a></li>
|
|
<li class=""><a href="#event_mouseOverEvent" title="mouseOverEvent">mouseOverEvent</a></li>
|
|
<li class=""><a href="#event_mouseUpEvent" title="mouseUpEvent">mouseUpEvent</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="configList" class="module">
|
|
<h4>Configuration Attributes</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="#config_autosubmenudisplay" title="autosubmenudisplay">autosubmenudisplay</a></li>
|
|
<li class=""><a href="#config_classname" title="classname">classname</a></li>
|
|
<li class=""><a href="#config_clicktohide" title="clicktohide">clicktohide</a></li>
|
|
<li class=""><a href="#config_constraintoviewport" title="constraintoviewport">constraintoviewport</a></li>
|
|
<li class=""><a href="#config_container" title="container">container</a></li>
|
|
<li class=""><a href="#config_context" title="context">context</a></li>
|
|
<li class=""><a href="#config_disabled" title="disabled">disabled</a></li>
|
|
<li class=""><a href="#config_effect" title="effect">effect</a></li>
|
|
<li class=""><a href="#config_fixedcenter" title="fixedcenter">fixedcenter</a></li>
|
|
<li class=""><a href="#config_hidedelay" title="hidedelay">hidedelay</a></li>
|
|
<li class=""><a href="#config_iframe" title="iframe">iframe</a></li>
|
|
<li class=""><a href="#config_keepopen" title="keepopen">keepopen</a></li>
|
|
<li class=""><a href="#config_maxheight" title="maxheight">maxheight</a></li>
|
|
<li class=""><a href="#config_minscrollheight" title="minscrollheight">minscrollheight</a></li>
|
|
<li class=""><a href="#config_position" title="position">position</a></li>
|
|
<li class=""><a href="#config_preventcontextoverlap" title="preventcontextoverlap">preventcontextoverlap</a></li>
|
|
<li class=""><a href="#config_scrollincrement" title="scrollincrement">scrollincrement</a></li>
|
|
<li class=""><a href="#config_shadow" title="shadow">shadow</a></li>
|
|
<li class=""><a href="#config_showdelay" title="showdelay">showdelay</a></li>
|
|
<li class=""><a href="#config_submenualignment" title="submenualignment">submenualignment</a></li>
|
|
<li class=""><a href="#config_submenuhidedelay" title="submenuhidedelay">submenuhidedelay</a></li>
|
|
<li class=""><a href="#config_visible" title="visible">visible</a></li>
|
|
<li class=""><a href="#config_x" title="x">x</a></li>
|
|
<li class=""><a href="#config_xy" title="xy">xy</a></li>
|
|
<li class=""><a href="#config_y" title="y">y</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="ft">
|
|
<hr />
|
|
Copyright © 2010 Yahoo! Inc. All rights reserved.
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
|
|
var ALL_YUI_PROPS = [{"access": "", "host": "YAHOO.widget.Menu", "name": "activeItem", "url": "YAHOO.widget.Menu.html#property_activeItem", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "addItem", "url": "YAHOO.widget.Menu.html#method_addItem", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "addItems", "url": "YAHOO.widget.Menu.html#method_addItems", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_addItemToGroup", "url": "YAHOO.widget.Menu.html#method__addItemToGroup", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_aGroupTitleElements", "url": "YAHOO.widget.Menu.html#property__aGroupTitleElements", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_aItemGroups", "url": "YAHOO.widget.Menu.html#property__aItemGroups", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_aListElements", "url": "YAHOO.widget.Menu.html#property__aListElements", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "autosubmenudisplay", "url": "YAHOO.widget.Menu.html#config_autosubmenudisplay", "type": "config"}, {"access": "private", "host": "YAHOO.widget.ContextMenu", "name": "_bCancelled", "url": "YAHOO.widget.ContextMenu.html#property__bCancelled", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_bHandledMouseOutEvent", "url": "YAHOO.widget.Menu.html#property__bHandledMouseOutEvent", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_bHandledMouseOverEvent", "url": "YAHOO.widget.Menu.html#property__bHandledMouseOverEvent", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "blur", "url": "YAHOO.widget.Menu.html#method_blur", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_bStopMouseEventHandlers", "url": "YAHOO.widget.Menu.html#property__bStopMouseEventHandlers", "type": "property"}, {"access": "", "host": "YAHOO.widget.ContextMenu", "name": "cancel", "url": "YAHOO.widget.ContextMenu.html#method_cancel", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_cancelHideDelay", "url": "YAHOO.widget.Menu.html#method__cancelHideDelay", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_cancelShowDelay", "url": "YAHOO.widget.Menu.html#method__cancelShowDelay", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "checkPosition", "url": "YAHOO.widget.Menu.html#method_checkPosition", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "classname", "url": "YAHOO.widget.Menu.html#config_classname", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "clearActiveItem", "url": "YAHOO.widget.Menu.html#method_clearActiveItem", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "clearContent", "url": "YAHOO.widget.Menu.html#method_clearContent", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_clearSetWidthFlag", "url": "YAHOO.widget.Menu.html#method__clearSetWidthFlag", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "clickEvent", "url": "YAHOO.widget.Menu.html#event_clickEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "clicktohide", "url": "YAHOO.widget.Menu.html#config_clicktohide", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "configClassName", "url": "YAHOO.widget.Menu.html#method_configClassName", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "configContainer", "url": "YAHOO.widget.Menu.html#method_configContainer", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "configDisabled", "url": "YAHOO.widget.Menu.html#method_configDisabled", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "configHideDelay", "url": "YAHOO.widget.Menu.html#method_configHideDelay", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "configIframe", "url": "YAHOO.widget.Menu.html#method_configIframe", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "configMaxHeight", "url": "YAHOO.widget.Menu.html#method_configMaxHeight", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "configPosition", "url": "YAHOO.widget.Menu.html#method_configPosition", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "configShadow", "url": "YAHOO.widget.Menu.html#method_configShadow", "type": "method"}, {"access": "", "host": "YAHOO.widget.ContextMenu", "name": "configTrigger", "url": "YAHOO.widget.ContextMenu.html#method_configTrigger", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_configureSubmenu", "url": "YAHOO.widget.Menu.html#method__configureSubmenu", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "configVisible", "url": "YAHOO.widget.Menu.html#method_configVisible", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "constraintoviewport", "url": "YAHOO.widget.Menu.html#config_constraintoviewport", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "container", "url": "YAHOO.widget.Menu.html#config_container", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "context", "url": "YAHOO.widget.Menu.html#config_context", "type": "config"}, {"access": "", "host": "YAHOO.widget.ContextMenu", "name": "contextEventTarget", "url": "YAHOO.widget.ContextMenu.html#property_contextEventTarget", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_createItemGroup", "url": "YAHOO.widget.Menu.html#method__createItemGroup", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "CSS_CLASS_NAME", "url": "YAHOO.widget.Menu.html#property_CSS_CLASS_NAME", "type": "property"}, {"access": "private", "host": "YAHOO.widget.ContextMenu", "name": "DEFAULT_CONFIG", "url": "YAHOO.widget.ContextMenu.html#property_DEFAULT_CONFIG", "type": "property"}, {"access": "", "host": "YAHOO.widget.ContextMenu", "name": "destroy", "url": "YAHOO.widget.ContextMenu.html#method_destroy", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "destroy", "url": "YAHOO.widget.Menu.html#method_destroy", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "disabled", "url": "YAHOO.widget.Menu.html#config_disabled", "type": "config"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_disableScrollFooter", "url": "YAHOO.widget.Menu.html#method__disableScrollFooter", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_disableScrollHeader", "url": "YAHOO.widget.Menu.html#method__disableScrollHeader", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "effect", "url": "YAHOO.widget.Menu.html#config_effect", "type": "config"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_enableScrollFooter", "url": "YAHOO.widget.Menu.html#method__enableScrollFooter", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_enableScrollHeader", "url": "YAHOO.widget.Menu.html#method__enableScrollHeader", "type": "method"}, {"access": "private", "host": "YAHOO.widget.ContextMenu", "name": "EVENT_TYPES", "url": "YAHOO.widget.ContextMenu.html#property_EVENT_TYPES", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_execHideDelay", "url": "YAHOO.widget.Menu.html#method__execHideDelay", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_execSubmenuHideDelay", "url": "YAHOO.widget.Menu.html#method__execSubmenuHideDelay", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "fixedcenter", "url": "YAHOO.widget.Menu.html#config_fixedcenter", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "focus", "url": "YAHOO.widget.Menu.html#method_focus", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_getFirstEnabledItem", "url": "YAHOO.widget.Menu.html#method__getFirstEnabledItem", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "getItem", "url": "YAHOO.widget.Menu.html#method_getItem", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_getItemGroup", "url": "YAHOO.widget.Menu.html#method__getItemGroup", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "getItemGroups", "url": "YAHOO.widget.Menu.html#method_getItemGroups", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "getItems", "url": "YAHOO.widget.Menu.html#method_getItems", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "getRoot", "url": "YAHOO.widget.Menu.html#method_getRoot", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "getSubmenus", "url": "YAHOO.widget.Menu.html#method_getSubmenus", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "GROUP_TITLE_TAG_NAME", "url": "YAHOO.widget.Menu.html#property_GROUP_TITLE_TAG_NAME", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "hasFocus", "url": "YAHOO.widget.Menu.html#method_hasFocus", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "hidedelay", "url": "YAHOO.widget.Menu.html#config_hidedelay", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "iframe", "url": "YAHOO.widget.Menu.html#config_iframe", "type": "config"}, {"access": "", "host": "YAHOO.widget.ContextMenu", "name": "init", "url": "YAHOO.widget.ContextMenu.html#method_init", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "init", "url": "YAHOO.widget.Menu.html#method_init", "type": "method"}, {"access": "", "host": "YAHOO.widget.ContextMenu", "name": "initDefaultConfig", "url": "YAHOO.widget.ContextMenu.html#method_initDefaultConfig", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "initDefaultConfig", "url": "YAHOO.widget.Menu.html#method_initDefaultConfig", "type": "method"}, {"access": "", "host": "YAHOO.widget.ContextMenu", "name": "initEvents", "url": "YAHOO.widget.ContextMenu.html#method_initEvents", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "initEvents", "url": "YAHOO.widget.Menu.html#method_initEvents", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_initSubTree", "url": "YAHOO.widget.Menu.html#method__initSubTree", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "insertItem", "url": "YAHOO.widget.Menu.html#method_insertItem", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "itemAddedEvent", "url": "YAHOO.widget.Menu.html#event_itemAddedEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "itemData", "url": "YAHOO.widget.Menu.html#property_itemData", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "itemRemovedEvent", "url": "YAHOO.widget.Menu.html#event_itemRemovedEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "ITEM_TYPE", "url": "YAHOO.widget.Menu.html#property_ITEM_TYPE", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "keepopen", "url": "YAHOO.widget.Menu.html#config_keepopen", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "keyDownEvent", "url": "YAHOO.widget.Menu.html#event_keyDownEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "keyPressEvent", "url": "YAHOO.widget.Menu.html#event_keyPressEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "keyUpEvent", "url": "YAHOO.widget.Menu.html#event_keyUpEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "lazyLoad", "url": "YAHOO.widget.Menu.html#property_lazyLoad", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "maxheight", "url": "YAHOO.widget.Menu.html#config_maxheight", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "minscrollheight", "url": "YAHOO.widget.Menu.html#config_minscrollheight", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "mouseDownEvent", "url": "YAHOO.widget.Menu.html#event_mouseDownEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "mouseOutEvent", "url": "YAHOO.widget.Menu.html#event_mouseOutEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "mouseOverEvent", "url": "YAHOO.widget.Menu.html#event_mouseOverEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "mouseUpEvent", "url": "YAHOO.widget.Menu.html#event_mouseUpEvent", "type": "event"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_nCurrentMouseX", "url": "YAHOO.widget.Menu.html#property__nCurrentMouseX", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "OFF_SCREEN_POSITION", "url": "YAHOO.widget.Menu.html#property_OFF_SCREEN_POSITION", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onBeforeHide", "url": "YAHOO.widget.Menu.html#method__onBeforeHide", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onBeforeRender", "url": "YAHOO.widget.Menu.html#method__onBeforeRender", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onBeforeShow", "url": "YAHOO.widget.Menu.html#method__onBeforeShow", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_onBlur", "url": "YAHOO.widget.Menu.html#method__onBlur", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_onClick", "url": "YAHOO.widget.Menu.html#method__onClick", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onHide", "url": "YAHOO.widget.Menu.html#method__onHide", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onInit", "url": "YAHOO.widget.Menu.html#method__onInit", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onItemAdded", "url": "YAHOO.widget.Menu.html#method__onItemAdded", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_onKeyDown", "url": "YAHOO.widget.Menu.html#method__onKeyDown", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_onKeyPress", "url": "YAHOO.widget.Menu.html#method__onKeyPress", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onMenuItemConfigChange", "url": "YAHOO.widget.Menu.html#method__onMenuItemConfigChange", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onMenuItemDestroy", "url": "YAHOO.widget.Menu.html#method__onMenuItemDestroy", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_onMouseMove", "url": "YAHOO.widget.Menu.html#method__onMouseMove", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_onMouseOut", "url": "YAHOO.widget.Menu.html#method__onMouseOut", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_onMouseOver", "url": "YAHOO.widget.Menu.html#method__onMouseOver", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onParentMenuConfigChange", "url": "YAHOO.widget.Menu.html#method__onParentMenuConfigChange", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onParentMenuRender", "url": "YAHOO.widget.Menu.html#method__onParentMenuRender", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onRender", "url": "YAHOO.widget.Menu.html#method__onRender", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_onScrollTargetMouseOut", "url": "YAHOO.widget.Menu.html#method__onScrollTargetMouseOut", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_onScrollTargetMouseOver", "url": "YAHOO.widget.Menu.html#method__onScrollTargetMouseOver", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onShow", "url": "YAHOO.widget.Menu.html#method__onShow", "type": "method"}, {"access": "private", "host": "YAHOO.widget.ContextMenu", "name": "_onTriggerClick", "url": "YAHOO.widget.ContextMenu.html#method__onTriggerClick", "type": "method"}, {"access": "private", "host": "YAHOO.widget.ContextMenu", "name": "_onTriggerContextMenu", "url": "YAHOO.widget.ContextMenu.html#method__onTriggerContextMenu", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_onVisibleChange", "url": "YAHOO.widget.Menu.html#method__onVisibleChange", "type": "method"}, {"access": "protected", "host": "YAHOO.widget.Menu", "name": "_onYChange", "url": "YAHOO.widget.Menu.html#method__onYChange", "type": "method"}, {"access": "private", "host": "YAHOO.widget.ContextMenu", "name": "_oTrigger", "url": "YAHOO.widget.ContextMenu.html#property__oTrigger", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "parent", "url": "YAHOO.widget.Menu.html#property_parent", "type": "property"}, {"access": "private", "host": "YAHOO.widget.ContextMenu", "name": "position", "url": "YAHOO.widget.ContextMenu.html#method_position", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "position", "url": "YAHOO.widget.Menu.html#config_position", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "positionOffScreen", "url": "YAHOO.widget.Menu.html#method_positionOffScreen", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "preventcontextoverlap", "url": "YAHOO.widget.Menu.html#config_preventcontextoverlap", "type": "config"}, {"access": "private", "host": "YAHOO.widget.ContextMenu", "name": "_removeEventHandlers", "url": "YAHOO.widget.ContextMenu.html#method__removeEventHandlers", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "removeItem", "url": "YAHOO.widget.Menu.html#method_removeItem", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_removeItemFromGroupByIndex", "url": "YAHOO.widget.Menu.html#method__removeItemFromGroupByIndex", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_removeItemFromGroupByValue", "url": "YAHOO.widget.Menu.html#method__removeItemFromGroupByValue", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_sClassName", "url": "YAHOO.widget.Menu.html#property__sClassName", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "scrollincrement", "url": "YAHOO.widget.Menu.html#config_scrollincrement", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "setInitialFocus", "url": "YAHOO.widget.Menu.html#method_setInitialFocus", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "setInitialSelection", "url": "YAHOO.widget.Menu.html#method_setInitialSelection", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "setItemGroupTitle", "url": "YAHOO.widget.Menu.html#method_setItemGroupTitle", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_setMaxHeight", "url": "YAHOO.widget.Menu.html#method__setMaxHeight", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_setScrollHeight", "url": "YAHOO.widget.Menu.html#method__setScrollHeight", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "shadow", "url": "YAHOO.widget.Menu.html#config_shadow", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "showdelay", "url": "YAHOO.widget.Menu.html#config_showdelay", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "srcElement", "url": "YAHOO.widget.Menu.html#property_srcElement", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "submenualignment", "url": "YAHOO.widget.Menu.html#config_submenualignment", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "submenuhidedelay", "url": "YAHOO.widget.Menu.html#config_submenuhidedelay", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "subscribe", "url": "YAHOO.widget.Menu.html#method_subscribe", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_subscribeToItemEvents", "url": "YAHOO.widget.Menu.html#method__subscribeToItemEvents", "type": "method"}, {"access": "", "host": "YAHOO.widget.ContextMenu", "name": "toString", "url": "YAHOO.widget.ContextMenu.html#method_toString", "type": "method"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "toString", "url": "YAHOO.widget.Menu.html#method_toString", "type": "method"}, {"access": "", "host": "YAHOO.widget.ContextMenu", "name": "trigger", "url": "YAHOO.widget.ContextMenu.html#config_trigger", "type": "config"}, {"access": "", "host": "YAHOO.widget.ContextMenu", "name": "triggerContextMenuEvent", "url": "YAHOO.widget.ContextMenu.html#event_triggerContextMenuEvent", "type": "event"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_updateItemProperties", "url": "YAHOO.widget.Menu.html#method__updateItemProperties", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Menu", "name": "_useHideDelay", "url": "YAHOO.widget.Menu.html#property__useHideDelay", "type": "property"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "visible", "url": "YAHOO.widget.Menu.html#config_visible", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "x", "url": "YAHOO.widget.Menu.html#config_x", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "xy", "url": "YAHOO.widget.Menu.html#config_xy", "type": "config"}, {"access": "", "host": "YAHOO.widget.Menu", "name": "y", "url": "YAHOO.widget.Menu.html#config_y", "type": "config"}];
|
|
</script>
|
|
</body>
|
|
</html>
|