|
|||||||||
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.HeaderItem
public class HeaderItem
FormItem for showing a header within a DynamicForm.
Set the defaultValue
of this item to the HTML you
want to embed in the form.
Field Summary |
---|
Fields inherited from class com.smartgwt.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
HeaderItem()
|
|
HeaderItem(JavaScriptObject jsObj)
|
|
HeaderItem(java.lang.String name)
|
|
HeaderItem(java.lang.String name,
java.lang.String title)
|
Method Summary | |
---|---|
int |
getColSpan()
by default, headers span all remaining columns |
java.lang.String |
getDefaultValue()
Header text |
java.lang.Boolean |
getEndRow()
these items are in a row by themselves by default |
static HeaderItem |
getOrCreateRef(JavaScriptObject jsObj)
|
java.lang.Boolean |
getShowTitle()
Don't show a separate title cell for headers |
java.lang.Boolean |
getStartRow()
these items are in a row by themselves by default |
java.lang.String |
getTextBoxStyle()
Base CSS class for this item |
void |
setColSpan(int colSpan)
by default, headers span all remaining columns |
void |
setDefaultValue(java.lang.String defaultValue)
Header text |
void |
setEndRow(java.lang.Boolean endRow)
these items are in a row by themselves by default |
void |
setShowTitle(java.lang.Boolean showTitle)
Don't show a separate title cell for headers |
void |
setStartRow(java.lang.Boolean startRow)
these items are in a row by themselves by default |
void |
setTextBoxStyle(java.lang.String textBoxStyle)
Base CSS class for this item |
Methods inherited from class com.smartgwt.client.core.RefDataClass |
---|
getRef, getRef |
Methods inherited from class com.smartgwt.client.core.DataClass |
---|
doAddHandler, fireEvent, getAttributeAsDoubleArray, getAttributeAsIntArray, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, 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 HeaderItem()
public HeaderItem(JavaScriptObject jsObj)
public HeaderItem(java.lang.String name)
public HeaderItem(java.lang.String name, java.lang.String title)
Method Detail |
---|
public static HeaderItem getOrCreateRef(JavaScriptObject jsObj)
public void setColSpan(int colSpan)
setColSpan
in class FormItem
colSpan
- colSpan Default value is "*"Appearance overview and related methods
public int getColSpan()
Appearance overview and related methods
public void setDefaultValue(java.lang.String defaultValue)
setDefaultValue
in class FormItem
defaultValue
- defaultValue Default value is "Header"Appearance overview and related methods
public java.lang.String getDefaultValue()
Appearance overview and related methods
public void setEndRow(java.lang.Boolean endRow)
setEndRow
in class FormItem
endRow
- endRow Default value is trueAppearance overview and related methods
public java.lang.Boolean getEndRow()
getEndRow
in class FormItem
Appearance overview and related methods
public void setShowTitle(java.lang.Boolean showTitle)
setShowTitle
in class FormItem
showTitle
- showTitle Default value is falseAppearance overview and related methods
public java.lang.Boolean getShowTitle()
getShowTitle
in class FormItem
Appearance overview and related methods
public void setStartRow(java.lang.Boolean startRow)
setStartRow
in class FormItem
startRow
- startRow Default value is trueAppearance overview and related methods
public java.lang.Boolean getStartRow()
getStartRow
in class FormItem
Appearance overview and related methods
public void setTextBoxStyle(java.lang.String textBoxStyle)
setTextBoxStyle
in class FormItem
textBoxStyle
- textBoxStyle Default value is "headerItem"Appearance overview and related methods
public java.lang.String getTextBoxStyle()
getTextBoxStyle
in class FormItem
Appearance overview and related methods
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |