Swat.SwatMenuBar
/Swat/SwatMenuBar.php at line 20
Class SwatMenuBar
SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatControl
└─SwatAbstractMenu
└─SwatMenu
└─SwatMenuBar
public class SwatMenuBar
extends SwatMenu
- Copyright:
- 2007 silverorange
- License:
- http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- See Also:
- SwatMenu
- SwatMenuItem
| Fields inherited from Swat.SwatMenu |
| items |
| Method Summary |
| protected array |
getCSSClassNames() Gets the array of CSS classes that are applied to this menu bar. |
| protected string |
getJavaScriptClass() Gets the name of the JavaScript class to instantiate for this menu. |
| protected string |
getMenuItemCSSClassName() Gets the CSS class name to use for menu items in this menu. |
| Methods inherited from Swat.SwatMenu |
| addChild, addItem, copy, display, getCSSClassNames, getDescendantStates, getDescendants, getFirstDescendant, getMenuItemCSSClassName, init, setDescendantStates |
| Methods inherited from Swat.SwatWidget |
| addCompositeWidget, addMessage, confirmCompositeWidgets, copy, createCompositeWidgets, display, displayHtmlHeadEntries, getCSSClassNames, getCompositeWidget, getCompositeWidgets, getFocusableHtmlId, getHtmlHeadEntrySet, getMessages, hasMessage, init, isDisplayed, isInitialized, isProcessed, isSensitive, printWidgetTree, process, replaceWithContainer |
| Methods inherited from Swat.SwatUIObject |
| addComment, addJavaScript, addStyleSheet, addTangoAttribution, copy, getCSSClassNames, getCSSClassString, getFirstAncestor, getHtmlHeadEntrySet, getInlineJavaScript, getUniqueId, isVisible |
Method Detail
/Swat/SwatMenuBar.php at line 57
getCSSClassNames
protected array getCSSClassNames()
Gets the array of CSS classes that are applied to this menu bar
- Returns:
- the array of CSS classes that are applied to this menu bar.
- See Also:
- SwatUIObject::getCSSClassString()
/Swat/SwatMenuBar.php at line 31
getJavaScriptClass
protected string getJavaScriptClass()
Gets the name of the JavaScript class to instantiate for this menu
- Returns:
- the name of the JavaScript class to instantiate for this menu. For the SwatMenuBar widget, this is 'YAHOO.widget.MenuBar'.
/Swat/SwatMenuBar.php at line 44
protected string getMenuItemCSSClassName()
Gets the CSS class name to use for menu items in this menu
- Returns:
- the CSS class name to use for menu items in this menu.
A menu bar control
A menu bar is like a
SwatMenubut it displays menu items horizontally in a bar.