SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatContainer
└─SwatDisplayableContainer
└─SwatDisclosure
└─SwatFrameDisclosure
public class SwatFrameDisclosure
extends SwatDisclosure
| Fields inherited from Swat.SwatDisclosure | |
|---|---|
| open, title | |
| Constructor Summary | |
|---|---|
SwatFrameDisclosure(string id) Creates a new frame disclosure container. |
|
| Method Summary | |
|---|---|
| void | display() Displays this frame disclosure container. |
| protected array | Gets the array of CSS classes that are applied to this disclosure. |
| protected void | |
| protected string | Gets the name of the JavaScript class to instantiate for this disclosure. |
| protected void | |
| Methods inherited from Swat.SwatDisclosure | |
|---|---|
| display, getAnimateDivTag, getCSSClassNames, getContainerDivTag, getControlDivTag, getInlineJavaScript, getInputTag, getJavaScriptClass, getPaddingDivTag, getSpanTag | |
| 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 SwatFrameDisclosure(string id)
Creates a new frame disclosure container
id - a non-visible unique id for this widget.public void display()
Displays this frame disclosure container
Creates appropriate divs and outputs closed or opened based on the initial state.
The disclosure is always displayed as opened in case the user has JavaScript turned off.
protected array getCSSClassNames()
Gets the array of CSS classes that are applied to this disclosure
protected void getContainerDivTag()
protected string getJavaScriptClass()
Gets the name of the JavaScript class to instantiate for this disclosure
Subclasses of this class may want to return a sub-class of the default JavaScript disclosure class.
protected void getSpanTag()
A frame-like container to show and hide child widgets