|
|||||||||
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(String name)
|
|
HeaderItem(String name,
String title)
|
Method Summary | |
---|---|
int |
getColSpan()
by default, headers span all remaining columns |
String |
getDefaultValue()
Header text |
Boolean |
getEndRow()
these items are in a row by themselves by default |
static HeaderItem |
getOrCreateRef(JavaScriptObject jsObj)
|
Boolean |
getShowTitle()
Don't show a separate title cell for headers |
Boolean |
getStartRow()
these items are in a row by themselves by default |
String |
getTextBoxStyle()
Base CSS class for this item |
void |
setColSpan(int colSpan)
by default, headers span all remaining columns |
void |
setDefaultValue(String defaultValue)
Header text |
void |
setEndRow(Boolean endRow)
these items are in a row by themselves by default |
void |
setShowTitle(Boolean showTitle)
Don't show a separate title cell for headers |
void |
setStartRow(Boolean startRow)
these items are in a row by themselves by default |
void |
setTextBoxStyle(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, 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 HeaderItem()
public HeaderItem(JavaScriptObject jsObj)
public HeaderItem(String name)
public HeaderItem(String name, String title)
Method Detail |
---|
public static HeaderItem getOrCreateRef(JavaScriptObject jsObj)
public void setDefaultValue(String defaultValue)
setDefaultValue
in class FormItem
defaultValue
- defaultValue Default value is "Header"public String getDefaultValue()
public void setShowTitle(Boolean showTitle)
setShowTitle
in class FormItem
showTitle
- showTitle Default value is falsepublic Boolean getShowTitle()
getShowTitle
in class FormItem
public void setTextBoxStyle(String textBoxStyle)
setTextBoxStyle
in class FormItem
textBoxStyle
- textBoxStyle Default value is "headerItem"public String getTextBoxStyle()
getTextBoxStyle
in class FormItem
public void setColSpan(int colSpan)
setColSpan
in class FormItem
colSpan
- colSpan Default value is "*"public int getColSpan()
public void setStartRow(Boolean startRow)
setStartRow
in class FormItem
startRow
- startRow Default value is truepublic Boolean getStartRow()
getStartRow
in class FormItem
public void setEndRow(Boolean endRow)
setEndRow
in class FormItem
endRow
- endRow Default value is truepublic Boolean getEndRow()
getEndRow
in class FormItem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |