|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.widgets.form.fields.FormItem
com.smartgwt.client.widgets.form.fields.StaticTextItem
public class StaticTextItem
A FormItem that displays an uneditable value.
Field Summary |
---|
Fields inherited from class com.smartgwt.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
StaticTextItem()
|
|
StaticTextItem(JavaScriptObject jsObj)
|
|
StaticTextItem(String name)
|
|
StaticTextItem(String name,
String title)
|
Method Summary | |
---|---|
Boolean |
getClipValue()
If true, text that exceeds the specified size of the form item will be clipped |
static StaticTextItem |
getOrCreateRef(JavaScriptObject jsObj)
|
Boolean |
getOutputAsHTML()
By default HTML values in a staticTextItem will be interpreted by the browser. |
String |
getTextBoxStyle()
Base CSS class for this item |
Boolean |
getWrap()
If true, item contents can wrap. |
void |
setClipValue(Boolean clipValue)
If true, text that exceeds the specified size of the form item will be clipped |
void |
setOutputAsHTML(Boolean outputAsHTML)
By default HTML values in a staticTextItem will be interpreted by the browser. |
void |
setTextBoxStyle(String textBoxStyle)
Base CSS class for this item |
void |
setWrap(Boolean wrap)
If true, item contents can wrap. |
Methods inherited from class com.smartgwt.client.core.RefDataClass |
---|
getRef, getRef |
Methods inherited from class com.smartgwt.client.core.DataClass |
---|
doAddHandler, fireEvent, getAttributeAsIntArray, getAttributeAsMap, getAttributeAsObject, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute |
Methods inherited from class com.smartgwt.client.core.JsObject |
---|
setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Constructor Detail |
---|
public StaticTextItem()
public StaticTextItem(JavaScriptObject jsObj)
public StaticTextItem(String name)
public StaticTextItem(String name, String title)
Method Detail |
---|
public static StaticTextItem getOrCreateRef(JavaScriptObject jsObj)
public void setWrap(Boolean wrap)
wrap
- wrap Default value is truepublic Boolean getWrap()
public void setClipValue(Boolean clipValue)
clipValue
- clipValue Default value is falsepublic Boolean getClipValue()
public void setTextBoxStyle(String textBoxStyle)
setTextBoxStyle
in class FormItem
textBoxStyle
- textBoxStyle Default value is "staticTextItem"public String getTextBoxStyle()
getTextBoxStyle
in class FormItem
public void setOutputAsHTML(Boolean outputAsHTML)
"<b>AAA</b>"
) is
displayed to the user rather than the interpreted HTML (for example "AAA"
)
outputAsHTML
- outputAsHTML Default value is falsepublic Boolean getOutputAsHTML()
"<b>AAA</b>"
) is
displayed to the user rather than the interpreted HTML (for example "AAA"
)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |