SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatControl
public abstract class SwatControl
extends SwatWidget
| Fields inherited from Swat.SwatWidget | |
|---|---|
| displayed, id, initialized, messages, processed, requires_id, sensitive, stylesheet | |
| Fields inherited from Swat.SwatUIObject | |
|---|---|
| classes, html_head_entry_set, parent, visible | |
| Method Summary | |
|---|---|
| void | addMessage(SwatMessage message) Adds a message to this control. |
| SwatMessage | getNote() Gets an informative note of how to use this control. |
| void | |
| 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 void addMessage(SwatMessage message)
Adds a message to this control
Before the message is added, the content is updated with the name of
this controls's parent title field if the parent implements the
SwatTitleable interface.
message - the message to add.public SwatMessage getNote()
Gets an informative note of how to use this control
By default, controls return null, meaning no note.
public void printWidgetTree()
Abstract base class for control widgets (non-container)