SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatControl
└─SwatContentBlock
public class SwatContentBlock
extends SwatControl
| Field Summary | |
|---|---|
| string | User visible textual content of this widget. |
| string | Optional content type. |
| Method Summary | |
|---|---|
| void | display() Displays this content. |
| 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 | |
public string $content = ''
User visible textual content of this widget
public string $content_type = 'text/plain'
Optional content type
Default text/plain, use text/xml for XHTML fragments.
public void display()
Displays this content
Merely performs an echo of the content.
A block of content in the widget tree