silverorange Code


Swat.SwatMenuBar
/Swat/SwatMenuBar.php at line 20

Class SwatMenuBar

SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatControl
└─SwatAbstractMenu
└─SwatMenu
└─SwatMenuBar

public class SwatMenuBar
extends SwatMenu

A menu bar control

A menu bar is like a SwatMenu but it displays menu items horizontally in a bar.

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
Fields inherited from Swat.SwatAbstractMenu
auto_sub_menu_display, click_to_hide
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.SwatAbstractMenu
getInlineJavaScript, getJavaScriptClass, setMenuItemValues
Methods inherited from Swat.SwatControl
addMessage, getNote, printWidgetTree
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

getMenuItemCSSClassName

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.

silverorange Code