SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatContainer
└─SwatDisplayableContainer
└─SwatToolbar
public class SwatToolbar
extends SwatDisplayableContainer
| Constructor Summary | |
|---|---|
SwatToolbar(string id) Creates a new toolbar. |
|
| Method Summary | |
|---|---|
| void | display() Displays this toolbar as an unordered list with each sub-item as a list item. |
| protected void | Displays the child widgets of this container. |
| protected array | Gets the array of CSS classes that are applied to this tool bar. |
| array | Gets the tool links of this toolbar. |
| void | setToolLinkValues(string value) Sets the value of all SwatToolLink objects within this toolbar. |
| Methods inherited from Swat.SwatDisplayableContainer | |
|---|---|
| display, getCSSClassNames | |
| Methods inherited from Swat.SwatContainer | |
|---|---|
| add, addChild, copy, display, displayChildren, getChild, getChildren, getDescendantStates, getDescendants, getFirst, getFirstDescendant, getFocusableHtmlId, getHtmlHeadEntrySet, getMessages, hasMessage, init, notifyOfAdd, packEnd, packStart, printWidgetTree, process, remove, replace, sendAddNotifySignal, 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 | |
public SwatToolbar(string id)
Creates a new toolbar
id - a non-visible unique id for this widget.public void display()
Displays this toolbar as an unordered list with each sub-item as a list item
protected void displayChildren()
Displays the child widgets of this container
protected array getCSSClassNames()
Gets the array of CSS classes that are applied to this tool bar
public array getToolLinks()
Gets the tool links of this toolbar
Returns an the array of SwatToolLink objects contained
by this toolbar.
public void setToolLinkValues(string value)
Sets the value of all SwatToolLink objects within this toolbar
This is usually more convenient than setting all the values by hand if the values are dynamic.
A toolbar container for a group of related
SwatToolLinkobjects