|
|||||||||
| 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 FormItemcolSpan - colSpan Default value is "*"Appearance overview and related methodspublic int getColSpan()
Appearance overview and related methodspublic void setDefaultValue(java.lang.String defaultValue)
setDefaultValue in class FormItemdefaultValue - defaultValue Default value is "Header"Appearance overview and related methodspublic java.lang.String getDefaultValue()
Appearance overview and related methodspublic void setEndRow(java.lang.Boolean endRow)
setEndRow in class FormItemendRow - endRow Default value is trueAppearance overview and related methodspublic java.lang.Boolean getEndRow()
getEndRow in class FormItemAppearance overview and related methodspublic void setShowTitle(java.lang.Boolean showTitle)
setShowTitle in class FormItemshowTitle - showTitle Default value is falseAppearance overview and related methodspublic java.lang.Boolean getShowTitle()
getShowTitle in class FormItemAppearance overview and related methodspublic void setStartRow(java.lang.Boolean startRow)
setStartRow in class FormItemstartRow - startRow Default value is trueAppearance overview and related methodspublic java.lang.Boolean getStartRow()
getStartRow in class FormItemAppearance overview and related methodspublic void setTextBoxStyle(java.lang.String textBoxStyle)
setTextBoxStyle in class FormItemtextBoxStyle - textBoxStyle Default value is "headerItem"Appearance overview and related methodspublic java.lang.String getTextBoxStyle()
getTextBoxStyle in class FormItemAppearance overview and related methods
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||