webgui/www/extras/yui/docs/menu/YAHOO.widget.MenuBar.html
JT Smith 4f68a0933c added YUI and YUI-ext
fixed the resizable text area with IE problem
fixed the ad space with IE problem
merged the 7.2.0 and 7.1.4 change logs
2006-11-07 23:15:57 +00:00

447 lines
13 KiB
HTML

<html>
<head>
<title>JavaScript Documentation - </title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<h1>JavaScript Documentation</h1>
<h3><a href="./index.html">Yahoo! Menuing Library</a></h3>
<div class="breadcrumbs">
<a href="./index.html">Yahoo! Menuing Library</a>
&gt;
<strong>YAHOO.widget.MenuBar</strong>
</div>
</div>
<div id="body">
<div class="nav">
<div class="module resources">
<ul class="content">
<li><a href="overview-tree.html">Tree View</a></li>
<li><a href="index-all.html">Element Index</a></li>
</ul>
</div>
<div class="module">
<h4><a href="./allclasses-noframe.html">Classes</a></h4>
<ul class="content">
<li>
<a href="YAHOO.widget.ContextMenu.html">
YAHOO.widget.ContextMenu</a>
</li>
<li>
<a href="YAHOO.widget.ContextMenuItem.html">
YAHOO.widget.ContextMenuItem</a>
</li>
<li>
<a href="YAHOO.widget.Menu.html">
YAHOO.widget.Menu</a>
</li>
<li>
<a href="YAHOO.widget.MenuBar.html">
YAHOO.widget.MenuBar</a>
</li>
<li>
<a href="YAHOO.widget.MenuBarItem.html">
YAHOO.widget.MenuBarItem</a>
</li>
<li>
<a href="YAHOO.widget.MenuItem.html">
YAHOO.widget.MenuItem</a>
</li>
<li>
<a href="YAHOO.widget.MenuModule.html">
YAHOO.widget.MenuModule</a>
</li>
<li>
<a href="YAHOO.widget.MenuModuleItem.html">
YAHOO.widget.MenuModuleItem</a>
</li>
</ul>
</div>
<div class="module">
<h4><a href="./overview-summary.html">Files</a></h4>
<ul class="content">
<li>
<a href="overview-summary-contextmenu.js.html">
contextmenu.js</a>
</li>
<li>
<a href="overview-summary-contextmenuitem.js.html">
contextmenuitem.js</a>
</li>
<li>
<a href="overview-summary-menu.js.html">
menu.js</a>
</li>
<li>
<a href="overview-summary-menubar.js.html">
menubar.js</a>
</li>
<li>
<a href="overview-summary-menubaritem.js.html">
menubaritem.js</a>
</li>
<li>
<a href="overview-summary-menuitem.js.html">
menuitem.js</a>
</li>
<li>
<a href="overview-summary-menumodule.js.html">
menumodule.js</a>
</li>
<li>
<a href="overview-summary-menumoduleitem.js.html">
menumoduleitem.js</a>
</li>
</ul>
</div>
</div>
<div id="pri">
<div class="main">
<h2>Class YAHOO.widget.MenuBar</h2>
<pre>Object
|
+--YAHOO.widget.Overlay
|
+--<a href='YAHOO.widget.MenuModule.html'>YAHOO.widget.MenuModule</a>
|
+--<b>YAHOO.widget.MenuBar</b>
</pre>
<hr />
<!-- Class definition -->
<div class="class-def">
<div class="class-name">
<span class="class-attribs">
</span>
<span class="class-type">class</span>
<b>YAHOO.widget.MenuBar</b>
</div>
<div class="class-extends">
<dd>extends <a href='YAHOO.widget.MenuModule.html'>YAHOO.widget.MenuModule</a></dd>
</div>
</div>
<div class="meta">
</div>
<!-- ======== QUICK LINKS ======== -->
<div class="quick-links">
<strong>Quick Links:</strong>&nbsp;
<a href="#field_summary">Field Summary</a>
|
<a href="#constructor_summary">Constructor Summary</a>
|
<a href="#methodSummary">Method Summary</a> |
<a href="#methodDetails">Method Details</a>
</div>
<!-- ======== END QUICK LINKS ======== -->
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- ======== END NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<div class="section field summaries">
<h3><a name="field_summary">Field Summary</a> <span class="top">[<a href="#top">top</a>]</span></h3>
<div class="content">
<table border="1" cellpadding="3" cellspacing="0">
<tr>
<td class="flags">String</td>
<td class="spec">
<code>
<a href="#CSS_CLASS_NAME">CSS_CLASS_NAME</a>
</code>
<div class="description">
Constant representing the CSS class(es) to be applied to the root
HTMLDivElement of the MenuBar instance.&nbsp;
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="section field inheritance">
<h3>Fields inherited from class <a href="YAHOO.widget.MenuModule.html">YAHOO.widget.MenuModule</a> <span class="top">[<a href="#top">top</a>]</span></h3>
<div class="content">
<code><a href="YAHOO.widget.MenuModule.html#CSS_CLASS_NAME">CSS_CLASS_NAME</a>, <a href="YAHOO.widget.MenuModule.html#ITEM_TYPE">ITEM_TYPE</a>, <a href="YAHOO.widget.MenuModule.html#GROUP_TITLE_TAG_NAME">GROUP_TITLE_TAG_NAME</a>, <a href="YAHOO.widget.MenuModule.html#parent">parent</a>, <a href="YAHOO.widget.MenuModule.html#srcElement">srcElement</a>, <a href="YAHOO.widget.MenuModule.html#mouseOverEvent">mouseOverEvent</a>, <a href="YAHOO.widget.MenuModule.html#mouseOutEvent">mouseOutEvent</a>, <a href="YAHOO.widget.MenuModule.html#mouseDownEvent">mouseDownEvent</a>, <a href="YAHOO.widget.MenuModule.html#mouseUpEvent">mouseUpEvent</a>, <a href="YAHOO.widget.MenuModule.html#clickEvent">clickEvent</a>, <a href="YAHOO.widget.MenuModule.html#keyPressEvent">keyPressEvent</a>, <a href="YAHOO.widget.MenuModule.html#keyDownEvent">keyDownEvent</a>, <a href="YAHOO.widget.MenuModule.html#keyUpEvent">keyUpEvent</a></code>
</div>
</div>
<!-- =========== END FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<div class="section contructor summaries">
<h3><a name="constructor_summary">Constructor Summary</a> <span class="top">[<a href="#top">top</a>]</span></h3>
<div class="content">
<code class="spec">
<a href="YAHOO.widget.MenuBar.html#YAHOO.widget.MenuBar()">YAHOO.widget.MenuBar</a>
</code>
<div class="description">
&nbsp;
</div>
</div>
</div>
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<div class="section method summaries">
<h3><a name="methodSummary">Method Summary</a> <span class="top">[<a href="#top">top</a>]</span></h3>
<div class="content">
<table border="1" cellpadding="3" cellspacing="0">
<tr>
<td class="flags">void</td>
<td class="spec">
<code>
<a href="#init">init</a>
(&lt;String Id or HTMLElement&gt; p_oElement, &lt;Object&gt; p_oConfig)
</code>
<div class="description">
The MenuBar class's initialization method.&nbsp;
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="section method inheritance">
<h3>Methods inherited from class <a href="YAHOO.widget.MenuModule.html">YAHOO.widget.MenuModule</a></h3>
<div class="content">
<code><a href="YAHOO.widget.MenuModule.html#enforceConstraints">enforceConstraints</a>, <a href="YAHOO.widget.MenuModule.html#configPosition">configPosition</a>, <a href="YAHOO.widget.MenuModule.html#configIframe">configIframe</a>, <a href="YAHOO.widget.MenuModule.html#toString">toString</a>, <a href="YAHOO.widget.MenuModule.html#setItemGroupTitle">setItemGroupTitle</a>, <a href="YAHOO.widget.MenuModule.html#addItem">addItem</a>, <a href="YAHOO.widget.MenuModule.html#insertItem">insertItem</a>, <a href="YAHOO.widget.MenuModule.html#removeItem">removeItem</a>, <a href="YAHOO.widget.MenuModule.html#getItemGroups">getItemGroups</a>, <a href="YAHOO.widget.MenuModule.html#getItem">getItem</a>, <a href="YAHOO.widget.MenuModule.html#destroy">destroy</a>, <a href="YAHOO.widget.MenuModule.html#setInitialFocus">setInitialFocus</a>, <a href="YAHOO.widget.MenuModule.html#setInitialSelection">setInitialSelection</a>, <a href="YAHOO.widget.MenuModule.html#clearActiveItem">clearActiveItem</a>, <a href="YAHOO.widget.MenuModule.html#initDefaultConfig">initDefaultConfig</a></code>
</div>
</div>
<!-- ========== END METHOD SUMMARY =========== -->
<!-- ============ FIELD DETAIL START =========== -->
<div class="section field details">
<h3><a name="field_detail">Field Detail</a> <span class="top">[<a href="#top">top</a>]</span></h3>
<div class="content">
<h4><a name="CSS_CLASS_NAME">CSS_CLASS_NAME</a></h4>
<div class="detail">
<code>
String
&nbsp;
<strong>CSS_CLASS_NAME</strong>
</code>
<div class="description">
Constant representing the CSS class(es) to be applied to the root
HTMLDivElement of the MenuBar instance.
</div>
</div>
<hr />
</div>
</div>
<!-- ============ FIELD DETAIL END =========== -->
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
<div class="section constructor details">
<h3><a name="constructor_detail">Constructor Detail</a> <span class="top">[<a href="#top">top</a>]</span></h3>
<div class="content">
<h4><a name="YAHOO.widget.MenuBar()">YAHOO.widget.MenuBar</a></h4>
<div class="detail">
<code>
<strong>YAHOO.widget.MenuBar</strong>
()
</code>
<div class="description">
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_oElement</code> -
String id or HTMLElement (either HTMLSelectElement or HTMLDivElement) of the source HTMLElement node.
</dd>
<dd>
<code>p_oConfig</code> -
Optional. The configuration object literal containing the configuration for a MenuBar instance. See configuration class documentation for more details.
</dd>
</dl>
</div>
</div>
</div>
</div>
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
<!-- ============ METHOD DETAIL START ========== -->
<div class="section method details">
<h3><a name="methodDetails">Method Detail</a> <span class="top">[<a href="#top">top</a>]</span></h3>
<div class="content">
<h4><a name="init">init</a></h4>
<div class="detail">
<code>
void
<strong>init</strong>
(&lt;String Id or HTMLElement&gt; p_oElement, &lt;Object&gt; p_oConfig)
</code>
<div class="description">
The MenuBar 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.
<dl>
<dt>Parameters:</dt>
<dd>
<code>p_oConfig</code> -
Optional. The configuration object literal containing the configuration for a MenuBar instance. See configuration class documentation for more details.
</dd>
<dd>
<code>String</code> -
or HTMLElement} p_oElement String id or HTMLElement (either HTMLSelectElement or HTMLDivElement) of the source HTMLElement node.
</dd>
</dl>
</div>
</div>
<hr />
</div>
</div>
<!-- ============ METHOD DETAIL END ========== -->
</div>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<div id="footer">
<hr />
Copyright &copy; 2006 Yahoo! Inc. All rights reserved.
<br /><br />
Documentation generated by <a href="http://jsdoc.sourceforge.net/">
JSDoc</a>
</div>
</body>
</html>