1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>API: menu YAHOO.widget.MenuItem (YUI Library)
</title>
5 <link rel=
"stylesheet" type=
"text/css" href=
"assets/api.css">
9 <div id=
"doc3" class=
"yui-t2">
12 <h1>Yahoo! UI Library
</h1>
13 <h3>Menu
<span class=
"subtitle">2.2.0</span></h3>
15 <a href=
"./index.html">Yahoo! UI Library
</a>
16 > <a href=
"./module_menu.html">menu
</a>
17 > YAHOO.widget.MenuItem
32 Class
<b>YAHOO.widget.MenuItem
</b>
33 <span class=
"extends">
36 <span class=
"extends">
41 <!-- class tree goes here -->
43 <dl class=
"subclasses">
44 <dt>Known Subclasses:
</dd>
46 <a href=
"YAHOO.widget.ContextMenuItem.html">YAHOO.widget.ContextMenuItem
</a>
47 <a href=
"YAHOO.widget.MenuBarItem.html">YAHOO.widget.MenuBarItem
</a>
53 <div class=
"summary description">
54 Creates an item for a menu.
57 <div class=
"section constructor details">
58 <h3><a name=
"constructor_detail">Constructor
</a></h3>
61 <strong>YAHOO.widget.MenuItem
</strong>
76 <div class=
"description">
83 String specifying the text of the menu item.
87 <<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
88 one-html.html#ID-74680021">HTMLLIElement
</a>>
91 the
<code><li
></code> element of the menu item.
95 <<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
96 one-html.html#ID-38450247">HTMLOptGroupElement
</a>>
99 specifying the
<code><optgroup
></code> element of the menu item.
103 <<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
104 one-html.html#ID-70901257">HTMLOptionElement
</a>>
107 specifying the
<code><option
></code> element of the menu item.
113 Optional. Object literal specifying the
114 configuration for the menu item. See configuration class documentation
125 <div class=
"section field details">
126 <h3><a name=
"field_detail">Properties
</a></h3>
127 <div class=
"content">
128 <h4><a name=
"_checkImage">_checkImage
</a>
129 <code>- private
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
130 one-html.html#ID-17701901">HTMLImageElement
</a></code>
133 <div class=
"description">
134 Object reference to the menu item's checkmark image.
139 <div class=
"default">
143 <div class=
"deprecated">
144 <strong>Deprecated:
</strong>Use _oCheckedIndicator.
148 <h4><a name=
"_oAnchor">_oAnchor
</a>
149 <code>- private
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
150 one-html.html#ID-48250443">HTMLAnchorElement
</a></code>
153 <div class=
"description">
154 Object reference to the menu item's
155 <code><a
></code> element.
160 <div class=
"default">
166 <h4><a name=
"_oCheckedIndicator">_oCheckedIndicator
</a>
167 <code>- private
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
168 level-one-html.html#ID-58190037">HTMLElement
</a></code>
171 <div class=
"description">
172 Object reference to the menu item's checkmark image.
177 <div class=
"default">
178 Default Value:
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
179 level-one-html.html#ID-58190037">HTMLElement
</a>
184 <h4><a name=
"_oHelpTextEM">_oHelpTextEM
</a>
185 <code>- private
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
186 one-html.html#ID-58190037">HTMLElement
</a></code>
189 <div class=
"description">
190 Object reference to the menu item's help text
191 <code><em
></code> element.
196 <div class=
"default">
202 <h4><a name=
"_oOnclickAttributeValue">_oOnclickAttributeValue
</a>
203 <code>- private Object
</code>
206 <div class=
"description">
207 Object reference to the menu item's current value for the
208 "onclick" configuration attribute.
213 <div class=
"default">
219 <h4><a name=
"_oSubmenu">_oSubmenu
</a>
220 <code>- private YAHOO.widget.Menu
</code>
223 <div class=
"description">
224 Object reference to the menu item's submenu.
229 <div class=
"default">
235 <h4><a name=
"_oText">_oText
</a>
236 <code>- private TextNode
</code>
239 <div class=
"description">
240 Object reference to the menu item's text node.
245 <div class=
"default">
251 <h4><a name=
"_sClassName">_sClassName
</a>
252 <code>- private String
</code>
255 <div class=
"description">
256 The current value of the
"classname" configuration attribute.
261 <div class=
"default">
267 <h4><a name=
"browser">browser
</a>
268 <code>- String
</code>
271 <div class=
"description">
272 String representing the browser.
280 <h4><a name=
"CHECKED_IMAGE_ALT_TEXT">CHECKED_IMAGE_ALT_TEXT
</a>
281 <code>- final String
</code>
284 <div class=
"description">
285 String representing the alt text for the image to be used
286 for the checked image.
291 <div class=
"default">
292 Default Value:
"Checked."
295 <div class=
"deprecated">
296 <strong>Deprecated:
</strong>Use CHECKED_TEXT.
300 <h4><a name=
"CHECKED_IMAGE_PATH">CHECKED_IMAGE_PATH
</a>
301 <code>- final String
</code>
304 <div class=
"description">
305 String representing the path to the image to be used for
311 <div class=
"default">
312 Default Value:
"nt/ic/ut/bsc/menuchk8_nrm_1.gif"
315 <div class=
"deprecated">
316 <strong>Deprecated:
</strong>All checked indicator images are applied via a CSS
317 background image. See
"checkedindicator" class name in menu.css.
321 <h4><a name=
"CHECKED_TEXT">CHECKED_TEXT
</a>
322 <code>- final String
</code>
325 <div class=
"description">
326 String representing the text to be used for the checked
327 indicator element (
<code><em
><code>).
332 <div class=
"default">
333 Default Value:
"Checked."
338 <h4><a name=
"COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT">COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT
</a>
339 <code>- final String
</code>
342 <div class=
"description">
343 String representing the alt text for the image to be used
344 for the submenu arrow indicator.
349 <div class=
"default">
350 Default Value:
"Collapsed. Click to expand."
353 <div class=
"deprecated">
354 <strong>Deprecated:
</strong>Use COLLAPSED_SUBMENU_INDICATOR_TEXT.
358 <h4><a name=
"COLLAPSED_SUBMENU_INDICATOR_TEXT">COLLAPSED_SUBMENU_INDICATOR_TEXT
</a>
359 <code>- final String
</code>
362 <div class=
"description">
363 String representing the text for the
<code><em
><code>
364 element used for the submenu arrow indicator.
369 <div class=
"default">
370 Default Value:
"Submenu collapsed. Click to expand submenu."
375 <h4><a name=
"constructor">constructor
</a>
376 <code>- YAHOO.widget.MenuItem
</code>
379 <div class=
"description">
380 Object reference to the menu item's constructor function.
385 <div class=
"default">
386 Default Value: YAHOO.widget.MenuItem
391 <h4><a name=
"CSS_CLASS_NAME">CSS_CLASS_NAME
</a>
392 <code>- final String
</code>
395 <div class=
"description">
396 String representing the CSS class(es) to be applied to the
397 <code><li
></code> element of the menu item.
402 <div class=
"default">
403 Default Value:
"yuimenuitem"
408 <h4><a name=
"DISABLED_CHECKED_IMAGE_ALT_TEXT">DISABLED_CHECKED_IMAGE_ALT_TEXT
</a>
409 <code>- final String
</code>
412 <div class=
"description">
413 String representing the alt text for the image to be used
414 for the checked image when the item is disabled.
419 <div class=
"default">
420 Default Value:
"Checked. (Item disabled.)"
423 <div class=
"deprecated">
424 <strong>Deprecated:
</strong>Use DISABLED_CHECKED_TEXT.
428 <h4><a name=
"DISABLED_CHECKED_IMAGE_PATH">DISABLED_CHECKED_IMAGE_PATH
</a>
429 <code>- final String
</code>
432 <div class=
"description">
433 String representing the path to the image to be used for
434 the disabled checked state.
439 <div class=
"default">
440 Default Value:
"nt/ic/ut/bsc/menuchk8_dim_1.gif"
443 <div class=
"deprecated">
444 <strong>Deprecated:
</strong>All checked indicator images are applied via a CSS
449 <h4><a name=
"DISABLED_CHECKED_TEXT">DISABLED_CHECKED_TEXT
</a>
450 <code>- final String
</code>
453 <div class=
"description">
454 String representing the text to be used for the checked
455 indicator element (
<code><em
><code>) when the menu item
461 <div class=
"default">
462 Default Value:
"Checked. (Item disabled.)"
467 <h4><a name=
"DISABLED_SUBMENU_INDICATOR_ALT_TEXT">DISABLED_SUBMENU_INDICATOR_ALT_TEXT
</a>
468 <code>- final String
</code>
471 <div class=
"description">
472 String representing the alt text for the image to be used
473 for the submenu arrow indicator when the menu item is disabled.
478 <div class=
"default">
479 Default Value:
"Disabled."
482 <div class=
"deprecated">
483 <strong>Deprecated:
</strong>Use DISABLED_SUBMENU_INDICATOR_TEXT.
487 <h4><a name=
"DISABLED_SUBMENU_INDICATOR_IMAGE_PATH">DISABLED_SUBMENU_INDICATOR_IMAGE_PATH
</a>
488 <code>- final String
</code>
491 <div class=
"description">
492 String representing the path to the image to be used for the
493 submenu arrow indicator when the menu item is disabled.
498 <div class=
"default">
499 Default Value:
"nt/ic/ut/alt1/menuarorght8_dim_1.gif"
502 <div class=
"deprecated">
503 <strong>Deprecated:
</strong>All submenu indicator images are applied via a CSS
504 background image. See
"submenuindicator" class name in menu.css.
508 <h4><a name=
"DISABLED_SUBMENU_INDICATOR_TEXT">DISABLED_SUBMENU_INDICATOR_TEXT
</a>
509 <code>- final String
</code>
512 <div class=
"description">
513 String representing the text for the submenu arrow indicator
514 element (
<code><em
><code>) when the menu item is disabled.
519 <div class=
"default">
520 Default Value:
"Submenu collapsed. (Item disabled.)."
525 <h4><a name=
"element">element
</a>
526 <code>-
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
527 one-html.html#ID-74680021">HTMLLIElement
</a></code>
530 <div class=
"description">
531 Object reference to the menu item's
532 <code><li
></code> element.
537 <div class=
"default">
538 Default Value:
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level
539 -one-html.html#ID-74680021">HTMLLIElement
</a>
544 <h4><a name=
"EXPANDED_SUBMENU_INDICATOR_ALT_TEXT">EXPANDED_SUBMENU_INDICATOR_ALT_TEXT
</a>
545 <code>- final String
</code>
548 <div class=
"description">
549 String representing the alt text for the image to be used
550 for the submenu arrow indicator when the submenu is visible.
555 <div class=
"default">
556 Default Value:
"Expanded. Click to collapse."
559 <div class=
"deprecated">
560 <strong>Deprecated:
</strong>Use EXPANDED_SUBMENU_INDICATOR_TEXT.
564 <h4><a name=
"EXPANDED_SUBMENU_INDICATOR_TEXT">EXPANDED_SUBMENU_INDICATOR_TEXT
</a>
565 <code>- final String
</code>
568 <div class=
"description">
569 String representing the text for the submenu arrow indicator
570 element (
<code><em
><code>) when the submenu is visible.
575 <div class=
"default">
576 Default Value:
"Submenu expanded. Click to collapse submenu."
581 <h4><a name=
"groupIndex">groupIndex
</a>
582 <code>- Number
</code>
585 <div class=
"description">
586 Number indicating the index of the group to which the menu
592 <div class=
"default">
598 <h4><a name=
"id">id
</a>
599 <code>- String
</code>
602 <div class=
"description">
603 Id of the menu item's root
<code><li
></code>
604 element. This property should be set via the constructor using the
605 configuration object literal. If an id is not specified, then one will
606 be created using the
"generateId" method of the Dom utility.
611 <div class=
"default">
617 <h4><a name=
"imageRoot">imageRoot
</a>
618 <code>- String
</code>
621 <div class=
"description">
622 String representing the root path for all of the menu
629 <div class=
"deprecated">
630 <strong>Deprecated:
</strong>All menu item images are now applied via CSS
635 <h4><a name=
"IMG_ROOT">IMG_ROOT
</a>
636 <code>- String
</code>
639 <div class=
"description">
640 String representing the prefix path to use for
646 <div class=
"default">
647 Default Value:
"http://us.i1.yimg.com/us.yimg.com/i/"
650 <div class=
"deprecated">
651 <strong>Deprecated:
</strong>All menu item images are now applied via CSS
656 <h4><a name=
"IMG_ROOT_SSL">IMG_ROOT_SSL
</a>
657 <code>- String
</code>
660 <div class=
"description">
661 String representing the prefix path to use for securely
667 <div class=
"default">
668 Default Value:
"https://a248.e.akamai.net/sec.yimg.com/i/"
671 <div class=
"deprecated">
672 <strong>Deprecated:
</strong>All menu item images are now applied via CSS
677 <h4><a name=
"index">index
</a>
678 <code>- Number
</code>
681 <div class=
"description">
682 Number indicating the ordinal position of the menu item in
688 <div class=
"default">
694 <h4><a name=
"isSecure">isSecure
</a>
695 <code>- Boolean
</code>
698 <div class=
"description">
699 Boolean representing whether or not the current browsing
700 context is secure (HTTPS).
706 <div class=
"deprecated">
707 <strong>Deprecated:
</strong>All menu item images are now applied via CSS
712 <h4><a name=
"parent">parent
</a>
713 <code>- YAHOO.widget.Menu
</code>
716 <div class=
"description">
717 Object reference to the menu item's parent menu.
722 <div class=
"default">
728 <h4><a name=
"SELECTED_CHECKED_IMAGE_PATH">SELECTED_CHECKED_IMAGE_PATH
</a>
729 <code>- final String
</code>
732 <div class=
"description">
733 String representing the path to the image to be used for
734 the selected checked state.
739 <div class=
"default">
740 Default Value:
"nt/ic/ut/bsc/menuchk8_hov_1.gif"
743 <div class=
"deprecated">
744 <strong>Deprecated:
</strong>All checked indicator images are applied via a CSS
745 background image. See
"checkedindicator" class name in menu.css.
749 <h4><a name=
"SELECTED_SUBMENU_INDICATOR_IMAGE_PATH">SELECTED_SUBMENU_INDICATOR_IMAGE_PATH
</a>
750 <code>- final String
</code>
753 <div class=
"description">
754 String representing the path to the image to be used for the
755 submenu arrow indicator when the menu item is selected.
760 <div class=
"default">
761 Default Value:
"nt/ic/ut/alt1/menuarorght8_hov_1.gif"
764 <div class=
"deprecated">
765 <strong>Deprecated:
</strong>All submenu indicator images are applied via a CSS
766 background image. See
"submenuindicator" class name in menu.css.
770 <h4><a name=
"srcElement">srcElement
</a>
771 <code>-
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
772 one-html.html#ID-74680021">HTMLLIElement
</a>|
<a href=
"http://www.w3.
773 org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-38450247">
774 HTMLOptGroupElement
</a>|
<a href=
"http://www.w3.org/TR/2000/WD-DOM-
775 Level-1-20000929/level-one-html.html#ID-70901257">HTMLOptionElement
</a></code>
778 <div class=
"description">
779 Object reference to the HTML element (either
780 <code><li
></code>,
<code><optgroup
></code> or
781 <code><option
></code>) used create the menu item.
786 <div class=
"default">
787 Default Value:
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
788 level-one-html.html#ID-74680021">HTMLLIElement
</a>|
<a href=
"http://www.
789 w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-38450247"
790 >HTMLOptGroupElement
</a>|
<a href=
"http://www.w3.org/TR/2000/WD-DOM-
791 Level-1-20000929/level-one-html.html#ID-70901257">HTMLOptionElement
</a>
796 <h4><a name=
"SUBMENU_INDICATOR_IMAGE_PATH">SUBMENU_INDICATOR_IMAGE_PATH
</a>
797 <code>- final String
</code>
800 <div class=
"description">
801 String representing the path to the image to be used for the
802 menu item's submenu arrow indicator.
807 <div class=
"default">
808 Default Value:
"nt/ic/ut/alt1/menuarorght8_nrm_1.gif"
811 <div class=
"deprecated">
812 <strong>Deprecated:
</strong>All submenu indicator images are applied via a CSS
813 background image. See
"submenuindicator" class name in menu.css.
817 <h4><a name=
"SUBMENU_TYPE">SUBMENU_TYPE
</a>
818 <code>- final YAHOO.widget.Menu
</code>
821 <div class=
"description">
822 Object representing the type of menu to instantiate and
823 add when parsing the child nodes of the menu item's source HTML element.
831 <h4><a name=
"submenuIndicator">submenuIndicator
</a>
832 <code>-
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
833 level-one-html.html#ID-58190037">HTMLElement
</a></code>
836 <div class=
"description">
837 Object reference to the
<code><em
></code> element
838 used to create the submenu indicator for the menu item.
843 <div class=
"default">
844 Default Value:
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
845 level-one-html.html#ID-58190037">HTMLElement
</a>
850 <h4><a name=
"value">value
</a>
851 <code>- Object
</code>
854 <div class=
"description">
855 Object reference to the menu item's value.
860 <div class=
"default">
872 <div class=
"section method details">
873 <h3><a name=
"methodDetails">Methods
</a></h3>
874 <div class=
"content">
876 <a name=
"_checkDOMNode">_checkDOMNode
</a></h4>
883 <strong>_checkDOMNode
</strong>
893 <div class=
"description">
894 Determines if an object is an HTML element.
897 <div class=
"description">
902 <code>p_oObject
<Object
></code>
903 Object to be evaluated.
920 <a name=
"_checkString">_checkString
</a></h4>
927 <strong>_checkString
</strong>
937 <div class=
"description">
938 Determines if an object is a string.
941 <div class=
"description">
946 <code>p_oObject
<Object
></code>
947 Object to be evaluated.
964 <a name=
"_createRootNodeStructure">_createRootNodeStructure
</a></h4>
971 <strong>_createRootNodeStructure
</strong>
976 <div class=
"description">
977 Creates the core DOM structure for the menu item.
980 <div class=
"description">
996 <a name=
"_getFirstElement">_getFirstElement
</a></h4>
1002 <a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
1003 level-one-html.html#ID-58190037">HTMLElement
</a>
1004 <strong>_getFirstElement
</strong>
1018 <div class=
"description">
1019 Returns an HTML element's first HTML element node.
1022 <div class=
"description">
1025 <dt>Parameters:
</dt>
1027 <code>p_oElement
<<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
1028 level-one-html.html#ID-58190037">HTMLElement
</a>></code>
1030 reference specifying the element to be evaluated.
1033 <code>p_sTagName
<String
></code>
1034 Optional. String specifying the tagname of
1035 the element to be retrieved.
1042 <a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
1043 level-one-html.html#ID-58190037">HTMLElement
</a>
1053 <a name=
"_initSubTree">_initSubTree
</a></h4>
1054 <div class=
"detail">
1060 <strong>_initSubTree
</strong>
1065 <div class=
"description">
1066 Iterates the source element's childNodes collection and uses
1067 the child nodes to instantiate other menus.
1070 <div class=
"description">
1086 <a name=
"_preloadImage">_preloadImage
</a></h4>
1087 <div class=
"detail">
1093 <strong>_preloadImage
</strong>
1103 <div class=
"description">
1104 Preloads an image by creating an image element from the
1105 specified path and appending the image to the body of the document.
1108 <div class=
"description">
1111 <dt>Parameters:
</dt>
1113 <code>p_sPath
<String
></code>
1114 String specifying the path to the image.
1126 <div class=
"deprecated">
1127 <strong>Deprecated
</strong> All menu item images are now applied via CSS
1135 <a name=
"blur">blur
</a></h4>
1136 <div class=
"detail">
1142 <strong>blur
</strong>
1147 <div class=
"description">
1148 Causes the menu item to lose focus and fires the
1152 <div class=
"description">
1168 <a name=
"configChecked">configChecked
</a></h4>
1169 <div class=
"detail">
1175 <strong>configChecked
</strong>
1193 <div class=
"description">
1194 Event handler for when the
"checked" configuration property
1195 of the menu item changes.
1198 <div class=
"description">
1201 <dt>Parameters:
</dt>
1203 <code>p_sType
<String
></code>
1204 String representing the name of the event that
1208 <code>p_aArgs
<Array
></code>
1209 Array of arguments sent when the event was fired.
1212 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1213 Object representing the menu item
1214 that fired the event.
1231 <a name=
"configClassName">configClassName
</a></h4>
1232 <div class=
"detail">
1238 <strong>configClassName
</strong>
1256 <div class=
"description">
1257 Event handler for when the
"classname" configuration
1258 property of a menu item changes.
1261 <div class=
"description">
1264 <dt>Parameters:
</dt>
1266 <code>p_sType
<String
></code>
1267 String representing the name of the event that
1271 <code>p_aArgs
<Array
></code>
1272 Array of arguments sent when the event was fired.
1275 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1276 Object representing the menu item
1277 that fired the event.
1294 <a name=
"configDisabled">configDisabled
</a></h4>
1295 <div class=
"detail">
1301 <strong>configDisabled
</strong>
1319 <div class=
"description">
1320 Event handler for when the
"disabled" configuration property
1321 of the menu item changes.
1324 <div class=
"description">
1327 <dt>Parameters:
</dt>
1329 <code>p_sType
<String
></code>
1330 String representing the name of the event that
1334 <code>p_aArgs
<Array
></code>
1335 Array of arguments sent when the event was fired.
1338 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1339 Object representing the menu item
1340 that fired the event.
1357 <a name=
"configEmphasis">configEmphasis
</a></h4>
1358 <div class=
"detail">
1364 <strong>configEmphasis
</strong>
1382 <div class=
"description">
1383 Event handler for when the
"emphasis" configuration property
1384 of the menu item changes.
1387 <div class=
"description">
1390 <dt>Parameters:
</dt>
1392 <code>p_sType
<String
></code>
1393 String representing the name of the event that
1397 <code>p_aArgs
<Array
></code>
1398 Array of arguments sent when the event was fired.
1401 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1402 Object representing the menu item
1403 that fired the event.
1420 <a name=
"configHelpText">configHelpText
</a></h4>
1421 <div class=
"detail">
1427 <strong>configHelpText
</strong>
1445 <div class=
"description">
1446 Event handler for when the
"helptext" configuration property
1447 of the menu item changes.
1450 <div class=
"description">
1453 <dt>Parameters:
</dt>
1455 <code>p_sType
<String
></code>
1456 String representing the name of the event that
1460 <code>p_aArgs
<Array
></code>
1461 Array of arguments sent when the event was fired.
1464 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1465 Object representing the menu item
1466 that fired the event.
1483 <a name=
"configOnClick">configOnClick
</a></h4>
1484 <div class=
"detail">
1490 <strong>configOnClick
</strong>
1508 <div class=
"description">
1509 Event handler for when the
"onclick" configuration property
1510 of the menu item changes.
1513 <div class=
"description">
1516 <dt>Parameters:
</dt>
1518 <code>p_sType
<String
></code>
1519 String representing the name of the event that
1523 <code>p_aArgs
<Array
></code>
1524 Array of arguments sent when the event was fired.
1527 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1528 Object representing the menu item
1529 that fired the event.
1546 <a name=
"configSelected">configSelected
</a></h4>
1547 <div class=
"detail">
1553 <strong>configSelected
</strong>
1571 <div class=
"description">
1572 Event handler for when the
"selected" configuration property
1573 of the menu item changes.
1576 <div class=
"description">
1579 <dt>Parameters:
</dt>
1581 <code>p_sType
<String
></code>
1582 String representing the name of the event that
1586 <code>p_aArgs
<Array
></code>
1587 Array of arguments sent when the event was fired.
1590 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1591 Object representing the menu item
1592 that fired the event.
1609 <a name=
"configStrongEmphasis">configStrongEmphasis
</a></h4>
1610 <div class=
"detail">
1616 <strong>configStrongEmphasis
</strong>
1634 <div class=
"description">
1635 Event handler for when the
"strongemphasis" configuration
1636 property of the menu item changes.
1639 <div class=
"description">
1642 <dt>Parameters:
</dt>
1644 <code>p_sType
<String
></code>
1645 String representing the name of the event that
1649 <code>p_aArgs
<Array
></code>
1650 Array of arguments sent when the event was fired.
1653 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1654 Object representing the menu item
1655 that fired the event.
1672 <a name=
"configSubmenu">configSubmenu
</a></h4>
1673 <div class=
"detail">
1679 <strong>configSubmenu
</strong>
1697 <div class=
"description">
1698 Event handler for when the
"submenu" configuration property
1699 of the menu item changes.
1702 <div class=
"description">
1705 <dt>Parameters:
</dt>
1707 <code>p_sType
<String
></code>
1708 String representing the name of the event that
1712 <code>p_aArgs
<Array
></code>
1713 Array of arguments sent when the event was fired.
1716 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1717 Object representing the menu item
1718 that fired the event.
1735 <a name=
"configTarget">configTarget
</a></h4>
1736 <div class=
"detail">
1742 <strong>configTarget
</strong>
1760 <div class=
"description">
1761 Event handler for when the
"target" configuration property
1762 of the menu item changes.
1765 <div class=
"description">
1768 <dt>Parameters:
</dt>
1770 <code>p_sType
<String
></code>
1771 String representing the name of the event that
1775 <code>p_aArgs
<Array
></code>
1776 Array of arguments sent when the event was fired.
1779 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1780 Object representing the menu item
1781 that fired the event.
1798 <a name=
"configText">configText
</a></h4>
1799 <div class=
"detail">
1805 <strong>configText
</strong>
1823 <div class=
"description">
1824 Event handler for when the
"text" configuration property of
1825 the menu item changes.
1828 <div class=
"description">
1831 <dt>Parameters:
</dt>
1833 <code>p_sType
<String
></code>
1834 String representing the name of the event that
1838 <code>p_aArgs
<Array
></code>
1839 Array of arguments sent when the event was fired.
1842 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1843 Object representing the menu item
1844 that fired the event.
1861 <a name=
"configURL">configURL
</a></h4>
1862 <div class=
"detail">
1868 <strong>configURL
</strong>
1886 <div class=
"description">
1887 Event handler for when the
"url" configuration property of
1888 the menu item changes.
1891 <div class=
"description">
1894 <dt>Parameters:
</dt>
1896 <code>p_sType
<String
></code>
1897 String representing the name of the event that
1901 <code>p_aArgs
<Array
></code>
1902 Array of arguments sent when the event was fired.
1905 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1906 Object representing the menu item
1907 that fired the event.
1924 <a name=
"destroy">destroy
</a></h4>
1925 <div class=
"detail">
1931 <strong>destroy
</strong>
1936 <div class=
"description">
1937 Removes the menu item's
<code><li
></code> element
1938 from its parent
<code><ul
></code> element.
1941 <div class=
"description">
1957 <a name=
"focus">focus
</a></h4>
1958 <div class=
"detail">
1964 <strong>focus
</strong>
1969 <div class=
"description">
1970 Causes the menu item to receive the focus and fires the
1974 <div class=
"description">
1990 <a name=
"getNextEnabledSibling">getNextEnabledSibling
</a></h4>
1991 <div class=
"detail">
1997 <strong>getNextEnabledSibling
</strong>
2002 <div class=
"description">
2003 Finds the menu item's next enabled sibling.
2006 <div class=
"description">
2014 <dd>YAHOO.widget.MenuItem
</dd>
2022 <a name=
"getPreviousEnabledSibling">getPreviousEnabledSibling
</a></h4>
2023 <div class=
"detail">
2028 YAHOO.widget.MenuItem
2029 <strong>getPreviousEnabledSibling
</strong>
2034 <div class=
"description">
2035 Finds the menu item's previous enabled sibling.
2038 <div class=
"description">
2044 YAHOO.widget.MenuItem
2054 <a name=
"init">init
</a></h4>
2055 <div class=
"detail">
2061 <strong>init
</strong>
2081 <div class=
"description">
2082 The MenuItem class's initialization method. This method is
2083 automatically called by the constructor, and sets up all DOM references
2084 for pre-existing markup, and creates required markup if it is not
2088 <div class=
"description">
2091 <dt>Parameters:
</dt>
2093 <code>p_oObject
<String
></code>
2094 String specifying the text of the menu item.
2097 <code>p_oObject
<<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
2098 one-html.html#ID-74680021">HTMLLIElement
</a>></code>
2100 the
<code><li
></code> element of the menu item.
2103 <code>p_oObject
<<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
2104 one-html.html#ID-38450247">HTMLOptGroupElement
</a>></code>
2106 specifying the
<code><optgroup
></code> element of the menu item.
2109 <code>p_oObject
<<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-
2110 one-html.html#ID-70901257">HTMLOptionElement
</a>></code>
2112 specifying the
<code><option
></code> element of the menu item.
2115 <code>p_oConfig
<Object
></code>
2116 Optional. Object literal specifying the
2117 configuration for the menu item. See configuration class documentation
2135 <a name=
"initDefaultConfig">initDefaultConfig
</a></h4>
2136 <div class=
"detail">
2142 <strong>initDefaultConfig
</strong>
2147 <div class=
"description">
2148 Initializes an item's configurable properties.
2151 <div class=
"description">
2167 <a name=
"toString">toString
</a></h4>
2168 <div class=
"detail">
2174 <strong>toString
</strong>
2179 <div class=
"description">
2180 Returns a string representing the menu item.
2183 <div class=
"description">
2202 <div class=
"section method details">
2203 <h3><a name=
"methodDetails">Events
</a></h3>
2204 <div class=
"content">
2206 <a name=
"blurEvent">blurEvent
</a></h4>
2207 <div class=
"detail">
2212 <strong>blurEvent
</strong>
2219 <div class=
"description">
2220 Fires when the menu item loses the input focus.
2223 <div class=
"description">
2233 <a name=
"clickEvent">clickEvent
</a></h4>
2234 <div class=
"detail">
2239 <strong>clickEvent
</strong>
2246 <div class=
"description">
2247 Fires when the user clicks the on the menu item. Passes
2248 back the DOM Event object as an argument.
2251 <div class=
"description">
2261 <a name=
"destroyEvent">destroyEvent
</a></h4>
2262 <div class=
"detail">
2267 <strong>destroyEvent
</strong>
2274 <div class=
"description">
2275 Fires when the menu item's
<code><li
></code>
2276 element is removed from its parent
<code><ul
></code> element.
2279 <div class=
"description">
2289 <a name=
"focusEvent">focusEvent
</a></h4>
2290 <div class=
"detail">
2295 <strong>focusEvent
</strong>
2302 <div class=
"description">
2303 Fires when the menu item receives focus.
2306 <div class=
"description">
2316 <a name=
"keyDownEvent">keyDownEvent
</a></h4>
2317 <div class=
"detail">
2322 <strong>keyDownEvent
</strong>
2329 <div class=
"description">
2330 Fires when the user presses a key when the menu item has
2331 focus. Passes back the DOM Event object as an argument.
2334 <div class=
"description">
2344 <a name=
"keyPressEvent">keyPressEvent
</a></h4>
2345 <div class=
"detail">
2350 <strong>keyPressEvent
</strong>
2357 <div class=
"description">
2358 Fires when the user presses an alphanumeric key when the
2359 menu item has focus. Passes back the DOM Event object as an argument.
2362 <div class=
"description">
2372 <a name=
"keyUpEvent">keyUpEvent
</a></h4>
2373 <div class=
"detail">
2378 <strong>keyUpEvent
</strong>
2385 <div class=
"description">
2386 Fires when the user releases a key when the menu item has
2387 focus. Passes back the DOM Event object as an argument.
2390 <div class=
"description">
2400 <a name=
"mouseDownEvent">mouseDownEvent
</a></h4>
2401 <div class=
"detail">
2406 <strong>mouseDownEvent
</strong>
2413 <div class=
"description">
2414 Fires when the user mouses down on the menu item. Passes
2415 back the DOM Event object as an argument.
2418 <div class=
"description">
2428 <a name=
"mouseOutEvent">mouseOutEvent
</a></h4>
2429 <div class=
"detail">
2434 <strong>mouseOutEvent
</strong>
2441 <div class=
"description">
2442 Fires when the mouse has left the menu item. Passes back
2443 the DOM Event object as an argument.
2446 <div class=
"description">
2456 <a name=
"mouseOverEvent">mouseOverEvent
</a></h4>
2457 <div class=
"detail">
2462 <strong>mouseOverEvent
</strong>
2469 <div class=
"description">
2470 Fires when the mouse has entered the menu item. Passes
2471 back the DOM Event object as an argument.
2474 <div class=
"description">
2484 <a name=
"mouseUpEvent">mouseUpEvent
</a></h4>
2485 <div class=
"detail">
2490 <strong>mouseUpEvent
</strong>
2497 <div class=
"description">
2498 Fires when the user releases a mouse button while the mouse
2499 is over the menu item. Passes back the DOM Event object as an argument.
2502 <div class=
"description">
2516 <div class=
"section field details">
2517 <h3><a name=
"field_detail">Configuration Attributes
</a></h3>
2518 <div class=
"content">
2519 <h4><a name=
"checked">checked
</a>
2520 <code>- Boolean
</code>
2522 <div class=
"detail">
2523 <div class=
"description">
2524 Boolean indicating if the menu item should be rendered
2530 <div class=
"default">
2531 Default Value: false
2535 <h4><a name=
"classname">classname
</a>
2536 <code>- String
</code>
2538 <div class=
"detail">
2539 <div class=
"description">
2540 CSS class to be applied to the menu item's root
2541 <code><li
></code> element. The specified class(es) are
2542 appended in addition to the default class as specified by the menu
2543 item's CSS_CLASS_NAME constant.
2548 <div class=
"default">
2553 <h4><a name=
"disabled">disabled
</a>
2554 <code>- Boolean
</code>
2556 <div class=
"detail">
2557 <div class=
"description">
2558 Boolean indicating if the menu item should be disabled.
2559 (Disabled menu items are dimmed and will not respond to user input
2565 <div class=
"default">
2566 Default Value: false
2570 <h4><a name=
"emphasis">emphasis
</a>
2571 <code>- Boolean
</code>
2573 <div class=
"detail">
2574 <div class=
"description">
2575 Boolean indicating if the text of the menu item will be
2576 rendered with emphasis. When building a menu from existing HTML the
2577 value of this property will be interpreted from the menu's markup.
2582 <div class=
"default">
2583 Default Value: false
2587 <h4><a name=
"helptext">helptext
</a>
2588 <code>- String|
<a href=
"http://www.w3.org/TR/
2589 2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-58190037">
2590 HTMLElement
</a></code>
2592 <div class=
"detail">
2593 <div class=
"description">
2594 String specifying additional instructional text to
2595 accompany the text for the nenu item.
2600 <div class=
"default">
2605 <h4><a name=
"onclick">onclick
</a>
2606 <code>- Object
</code>
2608 <div class=
"detail">
2609 <div class=
"description">
2610 Object literal representing the code to be executed when
2611 the button is clicked. Format:
<br> <code> {
<br>
2612 <strong>fn:
</strong> Function,
// The handler to call when
2613 the event fires.
<br> <strong>obj:
</strong> Object,
// An
2614 object to pass back to the handler.
<br> <strong>scope:
</strong>
2615 Object
// The object to use for the scope of the handler.
2621 <div class=
"default">
2626 <h4><a name=
"selected">selected
</a>
2627 <code>- Boolean
</code>
2629 <div class=
"detail">
2630 <div class=
"description">
2631 Boolean indicating if the menu item should
2637 <div class=
"default">
2638 Default Value: false
2642 <h4><a name=
"strongemphasis">strongemphasis
</a>
2643 <code>- Boolean
</code>
2645 <div class=
"detail">
2646 <div class=
"description">
2647 Boolean indicating if the text of the menu item will be
2648 rendered with strong emphasis. When building a menu from existing
2649 HTML the value of this property will be interpreted from the
2655 <div class=
"default">
2656 Default Value: false
2660 <h4><a name=
"submenu">submenu
</a>
2661 <code>- Menu|String|Object|
<a href=
"http://www.w3.org/TR/2000/
2662 WD-DOM-Level-1-20000929/level-one-html.html#ID-58190037">
2663 HTMLElement
</a></code>
2665 <div class=
"detail">
2666 <div class=
"description">
2667 Object specifying the submenu to be appended to the
2668 menu item. The value can be one of the following:
<ul><li>Object
2669 specifying a Menu instance.
</li><li>Object literal specifying the
2670 menu to be created. Format:
<code>{ id: [menu id], itemdata:
2671 [
<a href=
"YAHOO.widget.Menu.html#itemData">array of values for
2672 items
</a>] }
</code>.
</li><li>String specifying the id attribute
2673 of the
<code><div
></code> element of the menu.
</li><li>
2674 Object specifying the
<code><div
></code> element of the
2680 <div class=
"default">
2685 <h4><a name=
"target">target
</a>
2686 <code>- String
</code>
2688 <div class=
"detail">
2689 <div class=
"description">
2690 String specifying the value for the
"target" attribute
2691 of the menu item's anchor element.
<strong>Specifying a target will
2692 require the user to click directly on the menu item's anchor node in
2693 order to cause the browser to navigate to the specified URL.
</strong>
2694 When building a menu from existing HTML the value of this property
2695 will be interpreted from the menu's markup.
2700 <div class=
"default">
2705 <h4><a name=
"text">text
</a>
2706 <code>- String
</code>
2708 <div class=
"detail">
2709 <div class=
"description">
2710 String specifying the text label for the menu item.
2711 When building a menu from existing HTML the value of this property
2712 will be interpreted from the menu's markup.
2717 <div class=
"default">
2722 <h4><a name=
"url">url
</a>
2723 <code>- String
</code>
2725 <div class=
"detail">
2726 <div class=
"description">
2727 String specifying the URL for the menu item's anchor's
2728 "href" attribute. When building a menu from existing HTML the value
2729 of this property will be interpreted from the menu's markup.
2734 <div class=
"default">
2749 <div class=
"module">
2751 <ul class=
"content">
2753 <li class=
""><a href=
"module_animation.html">animation
</a></li>
2755 <li class=
""><a href=
"module_autocomplete.html">autocomplete
</a></li>
2757 <li class=
""><a href=
"module_button.html">button
</a></li>
2759 <li class=
""><a href=
"module_calendar.html">calendar
</a></li>
2761 <li class=
""><a href=
"module_connection.html">connection
</a></li>
2763 <li class=
""><a href=
"module_container.html">container
</a></li>
2765 <li class=
""><a href=
"module_datasource.html">datasource
</a></li>
2767 <li class=
""><a href=
"module_datatable.html">datatable
</a></li>
2769 <li class=
""><a href=
"module_dom.html">dom
</a></li>
2771 <li class=
""><a href=
"module_dragdrop.html">dragdrop
</a></li>
2773 <li class=
""><a href=
"module_element.html">element
</a></li>
2775 <li class=
""><a href=
"module_event.html">event
</a></li>
2777 <li class=
""><a href=
"module_history.html">history
</a></li>
2779 <li class=
""><a href=
"module_logger.html">logger
</a></li>
2781 <li class=
"selected"><a href=
"module_menu.html">menu
</a></li>
2783 <li class=
""><a href=
"module_slider.html">slider
</a></li>
2785 <li class=
""><a href=
"module_tabview.html">tabview
</a></li>
2787 <li class=
""><a href=
"module_treeview.html">treeview
</a></li>
2789 <li class=
""><a href=
"module_yahoo.html">yahoo
</a></li>
2793 <div class=
"module">
2795 <ul class=
"content">
2796 <li class=
""><a href=
"YAHOO.widget.ContextMenu.html">YAHOO.widget.ContextMenu
</a></li>
2797 <li class=
""><a href=
"YAHOO.widget.ContextMenuItem.html">YAHOO.widget.ContextMenuItem
</a></li>
2798 <li class=
""><a href=
"YAHOO.widget.Menu.html">YAHOO.widget.Menu
</a></li>
2799 <li class=
""><a href=
"YAHOO.widget.Menubar.html">YAHOO.widget.Menubar
</a></li>
2800 <li class=
""><a href=
"YAHOO.widget.MenuBarItem.html">YAHOO.widget.MenuBarItem
</a></li>
2801 <li class=
"selected"><a href=
"YAHOO.widget.MenuItem.html">YAHOO.widget.MenuItem
</a></li>
2802 <li class=
""><a href=
"YAHOO.widget.MenuManager.html">YAHOO.widget.MenuManager
</a></li>
2806 <div class=
"module">
2808 <ul class=
"content">
2809 <li class=
""><a href=
"contextmenu.js.html">contextmenu.js
</a></li>
2810 <li class=
""><a href=
"contextmenuitem.js.html">contextmenuitem.js
</a></li>
2811 <li class=
""><a href=
"menu.js.html">menu.js
</a></li>
2812 <li class=
""><a href=
"menubar.js.html">menubar.js
</a></li>
2813 <li class=
""><a href=
"menubaritem.js.html">menubaritem.js
</a></li>
2814 <li class=
""><a href=
"menuitem.js.html">menuitem.js
</a></li>
2815 <li class=
""><a href=
"menumanager.js.html">menumanager.js
</a></li>
2819 <div class=
"module">
2821 <ul class=
"content">
2822 <li><a href=
"#_checkImage">_checkImage
</a>
2823 <!--<code><Object></code>-->
2825 <li><a href=
"#_oAnchor">_oAnchor
</a>
2826 <!--<code><Object></code>-->
2828 <li><a href=
"#_oCheckedIndicator">_oCheckedIndicator
</a>
2829 <!--<code><Object></code>-->
2831 <li><a href=
"#_oHelpTextEM">_oHelpTextEM
</a>
2832 <!--<code><Object></code>-->
2834 <li><a href=
"#_oOnclickAttributeValue">_oOnclickAttributeValue
</a>
2835 <!--<code><Object></code>-->
2837 <li><a href=
"#_oSubmenu">_oSubmenu
</a>
2838 <!--<code><Object></code>-->
2840 <li><a href=
"#_oText">_oText
</a>
2841 <!--<code><Object></code>-->
2843 <li><a href=
"#_sClassName">_sClassName
</a>
2844 <!--<code><Object></code>-->
2846 <li><a href=
"#browser">browser
</a>
2847 <!--<code><Object></code>-->
2849 <li><a href=
"#CHECKED_IMAGE_ALT_TEXT">CHECKED_IMAGE_ALT_TEXT
</a>
2850 <!--<code><Object></code>-->
2852 <li><a href=
"#CHECKED_IMAGE_PATH">CHECKED_IMAGE_PATH
</a>
2853 <!--<code><Object></code>-->
2855 <li><a href=
"#CHECKED_TEXT">CHECKED_TEXT
</a>
2856 <!--<code><Object></code>-->
2858 <li><a href=
"#COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT">COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT
</a>
2859 <!--<code><Object></code>-->
2861 <li><a href=
"#COLLAPSED_SUBMENU_INDICATOR_TEXT">COLLAPSED_SUBMENU_INDICATOR_TEXT
</a>
2862 <!--<code><Object></code>-->
2864 <li><a href=
"#constructor">constructor
</a>
2865 <!--<code><Object></code>-->
2867 <li><a href=
"#CSS_CLASS_NAME">CSS_CLASS_NAME
</a>
2868 <!--<code><Object></code>-->
2870 <li><a href=
"#DISABLED_CHECKED_IMAGE_ALT_TEXT">DISABLED_CHECKED_IMAGE_ALT_TEXT
</a>
2871 <!--<code><Object></code>-->
2873 <li><a href=
"#DISABLED_CHECKED_IMAGE_PATH">DISABLED_CHECKED_IMAGE_PATH
</a>
2874 <!--<code><Object></code>-->
2876 <li><a href=
"#DISABLED_CHECKED_TEXT">DISABLED_CHECKED_TEXT
</a>
2877 <!--<code><Object></code>-->
2879 <li><a href=
"#DISABLED_SUBMENU_INDICATOR_ALT_TEXT">DISABLED_SUBMENU_INDICATOR_ALT_TEXT
</a>
2880 <!--<code><Object></code>-->
2882 <li><a href=
"#DISABLED_SUBMENU_INDICATOR_IMAGE_PATH">DISABLED_SUBMENU_INDICATOR_IMAGE_PATH
</a>
2883 <!--<code><Object></code>-->
2885 <li><a href=
"#DISABLED_SUBMENU_INDICATOR_TEXT">DISABLED_SUBMENU_INDICATOR_TEXT
</a>
2886 <!--<code><Object></code>-->
2888 <li><a href=
"#element">element
</a>
2889 <!--<code><Object></code>-->
2891 <li><a href=
"#EXPANDED_SUBMENU_INDICATOR_ALT_TEXT">EXPANDED_SUBMENU_INDICATOR_ALT_TEXT
</a>
2892 <!--<code><Object></code>-->
2894 <li><a href=
"#EXPANDED_SUBMENU_INDICATOR_TEXT">EXPANDED_SUBMENU_INDICATOR_TEXT
</a>
2895 <!--<code><Object></code>-->
2897 <li><a href=
"#groupIndex">groupIndex
</a>
2898 <!--<code><Object></code>-->
2900 <li><a href=
"#id">id
</a>
2901 <!--<code><Object></code>-->
2903 <li><a href=
"#imageRoot">imageRoot
</a>
2904 <!--<code><Object></code>-->
2906 <li><a href=
"#IMG_ROOT">IMG_ROOT
</a>
2907 <!--<code><Object></code>-->
2909 <li><a href=
"#IMG_ROOT_SSL">IMG_ROOT_SSL
</a>
2910 <!--<code><Object></code>-->
2912 <li><a href=
"#index">index
</a>
2913 <!--<code><Object></code>-->
2915 <li><a href=
"#isSecure">isSecure
</a>
2916 <!--<code><Object></code>-->
2918 <li><a href=
"#parent">parent
</a>
2919 <!--<code><Object></code>-->
2921 <li><a href=
"#SELECTED_CHECKED_IMAGE_PATH">SELECTED_CHECKED_IMAGE_PATH
</a>
2922 <!--<code><Object></code>-->
2924 <li><a href=
"#SELECTED_SUBMENU_INDICATOR_IMAGE_PATH">SELECTED_SUBMENU_INDICATOR_IMAGE_PATH
</a>
2925 <!--<code><Object></code>-->
2927 <li><a href=
"#srcElement">srcElement
</a>
2928 <!--<code><Object></code>-->
2930 <li><a href=
"#SUBMENU_INDICATOR_IMAGE_PATH">SUBMENU_INDICATOR_IMAGE_PATH
</a>
2931 <!--<code><Object></code>-->
2933 <li><a href=
"#SUBMENU_TYPE">SUBMENU_TYPE
</a>
2934 <!--<code><Object></code>-->
2936 <li><a href=
"#submenuIndicator">submenuIndicator
</a>
2937 <!--<code><Object></code>-->
2939 <li><a href=
"#value">value
</a>
2940 <!--<code><Object></code>-->
2945 <div class=
"module">
2947 <ul class=
"content">
2948 <li><!--<code>Boolean</code>-->
2949 <a href=
"#_checkDOMNode">_checkDOMNode
</a>
2951 <li><!--<code>Boolean</code>-->
2952 <a href=
"#_checkString">_checkString
</a>
2954 <li><!--<code>void</code>-->
2955 <a href=
"#_createRootNodeStructure">_createRootNodeStructure
</a>
2957 <li><!--<code><a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
2958 level-one-html.html#ID-58190037">HTMLElement</a></code>-->
2959 <a href=
"#_getFirstElement">_getFirstElement
</a>
2961 <li><!--<code>void</code>-->
2962 <a href=
"#_initSubTree">_initSubTree
</a>
2964 <li><!--<code>void</code>-->
2965 <a href=
"#_preloadImage">_preloadImage
</a>
2967 <li><!--<code>void</code>-->
2968 <a href=
"#blur">blur
</a>
2970 <li><!--<code>void</code>-->
2971 <a href=
"#configChecked">configChecked
</a>
2973 <li><!--<code>void</code>-->
2974 <a href=
"#configClassName">configClassName
</a>
2976 <li><!--<code>void</code>-->
2977 <a href=
"#configDisabled">configDisabled
</a>
2979 <li><!--<code>void</code>-->
2980 <a href=
"#configEmphasis">configEmphasis
</a>
2982 <li><!--<code>void</code>-->
2983 <a href=
"#configHelpText">configHelpText
</a>
2985 <li><!--<code>void</code>-->
2986 <a href=
"#configOnClick">configOnClick
</a>
2988 <li><!--<code>void</code>-->
2989 <a href=
"#configSelected">configSelected
</a>
2991 <li><!--<code>void</code>-->
2992 <a href=
"#configStrongEmphasis">configStrongEmphasis
</a>
2994 <li><!--<code>void</code>-->
2995 <a href=
"#configSubmenu">configSubmenu
</a>
2997 <li><!--<code>void</code>-->
2998 <a href=
"#configTarget">configTarget
</a>
3000 <li><!--<code>void</code>-->
3001 <a href=
"#configText">configText
</a>
3003 <li><!--<code>void</code>-->
3004 <a href=
"#configURL">configURL
</a>
3006 <li><!--<code>void</code>-->
3007 <a href=
"#destroy">destroy
</a>
3009 <li><!--<code>void</code>-->
3010 <a href=
"#focus">focus
</a>
3012 <li><!--<code>void</code>-->
3013 <a href=
"#getNextEnabledSibling">getNextEnabledSibling
</a>
3015 <li><!--<code>YAHOO.widget.MenuItem</code>-->
3016 <a href=
"#getPreviousEnabledSibling">getPreviousEnabledSibling
</a>
3018 <li><!--<code>void</code>-->
3019 <a href=
"#init">init
</a>
3021 <li><!--<code>void</code>-->
3022 <a href=
"#initDefaultConfig">initDefaultConfig
</a>
3024 <li><!--<code>String</code>-->
3025 <a href=
"#toString">toString
</a>
3030 <div class=
"module">
3032 <ul class=
"content">
3034 <a href=
"#blurEvent">blurEvent
</a>
3037 <a href=
"#clickEvent">clickEvent
</a>
3040 <a href=
"#destroyEvent">destroyEvent
</a>
3043 <a href=
"#focusEvent">focusEvent
</a>
3046 <a href=
"#keyDownEvent">keyDownEvent
</a>
3049 <a href=
"#keyPressEvent">keyPressEvent
</a>
3052 <a href=
"#keyUpEvent">keyUpEvent
</a>
3055 <a href=
"#mouseDownEvent">mouseDownEvent
</a>
3058 <a href=
"#mouseOutEvent">mouseOutEvent
</a>
3061 <a href=
"#mouseOverEvent">mouseOverEvent
</a>
3064 <a href=
"#mouseUpEvent">mouseUpEvent
</a>
3069 <div class=
"module">
3070 <h4>Configuration Attributes
</h4>
3071 <ul class=
"content">
3073 <a href=
"#checked">checked
</a>
3076 <a href=
"#classname">classname
</a>
3079 <a href=
"#disabled">disabled
</a>
3082 <a href=
"#emphasis">emphasis
</a>
3085 <a href=
"#helptext">helptext
</a>
3088 <a href=
"#onclick">onclick
</a>
3091 <a href=
"#selected">selected
</a>
3094 <a href=
"#strongemphasis">strongemphasis
</a>
3097 <a href=
"#submenu">submenu
</a>
3100 <a href=
"#target">target
</a>
3103 <a href=
"#text">text
</a>
3106 <a href=
"#url">url
</a>
3116 Copyright
© 2007 Yahoo! Inc. All rights reserved.