|
|||||||||
| 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.CanvasItem
com.smartgwt.client.widgets.form.fields.ToolbarItem
public class ToolbarItem
Set of horizontally arranged buttons.
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
ToolbarItem()
|
|
ToolbarItem(JavaScriptObject jsObj)
|
|
ToolbarItem(String name)
|
|
ToolbarItem(String name,
String title)
|
|
| Method Summary | |
|---|---|
String |
getButtonBaseStyle()
If specified this baseStyle will be applied to the buttons in this toolbar. |
Boolean |
getEndRow()
these items are in a row by themselves by default |
static ToolbarItem |
getOrCreateRef(JavaScriptObject jsObj)
|
Boolean |
getShowTitle()
Don't show a title for toolbars |
Boolean |
getStartRow()
these items are in a row by themselves by default |
Boolean |
getVertical()
Should the toolbar stack its buttons vertically or horizontally? |
void |
setButtonBaseStyle(String buttonBaseStyle)
If specified this baseStyle will be applied to the buttons in this toolbar. |
void |
setButtons(StatefulCanvas... buttons)
List of buttons for the toolbar. |
void |
setEndRow(Boolean endRow)
these items are in a row by themselves by default |
void |
setJavaScriptObject(JavaScriptObject jsObj)
|
void |
setShowTitle(Boolean showTitle)
Don't show a title for toolbars |
void |
setStartRow(Boolean startRow)
these items are in a row by themselves by default |
void |
setVertical(Boolean vertical)
Should the toolbar stack its buttons vertically or horizontally? |
| Methods inherited from class com.smartgwt.client.widgets.form.fields.CanvasItem |
|---|
addShowValueHandler, createCanvas, getApplyPromptToCanvas, getAutoDestroy, getCanvas, getEditCriteriaInInnerForm, getOverflow, getPrompt, getShouldSaveValue, hasAdvancedCriteria, setApplyPromptToCanvas, setAutoDestroy, setCanEditCriterionPredicate, setCanvas, setCriterionGetter, setCriterionSetter, setEditCriteriaInInnerForm, setOverflow, setPrompt, setShouldSaveValue, setupCanvasConstructor, storeValue, storeValue, storeValue |
| 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 |
| 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 ToolbarItem()
public ToolbarItem(JavaScriptObject jsObj)
public ToolbarItem(String name)
public ToolbarItem(String name,
String title)
| Method Detail |
|---|
public static ToolbarItem getOrCreateRef(JavaScriptObject jsObj)
public void setJavaScriptObject(JavaScriptObject jsObj)
setJavaScriptObject in class CanvasItempublic void setButtonBaseStyle(String buttonBaseStyle)
buttonBaseStyle - . See CSSStyleName. Default value is nullAppearance overview and related methodspublic String getButtonBaseStyle()
CSSStyleNameAppearance overview and related methodspublic void setEndRow(Boolean endRow)
setEndRow in class FormItemendRow - endRow Default value is trueAppearance overview and related methodspublic Boolean getEndRow()
getEndRow in class FormItemAppearance overview and related methodspublic void setShowTitle(Boolean showTitle)
setShowTitle in class FormItemshowTitle - showTitle Default value is falseAppearance overview and related methodspublic Boolean getShowTitle()
getShowTitle in class FormItemAppearance overview and related methodspublic void setStartRow(Boolean startRow)
setStartRow in class FormItemstartRow - startRow Default value is trueAppearance overview and related methodspublic Boolean getStartRow()
getStartRow in class FormItemAppearance overview and related methodspublic void setVertical(Boolean vertical)
Note : This is an advanced setting
vertical - vertical Default value is falsepublic Boolean getVertical()
public void setButtons(StatefulCanvas... buttons)
click stringMethod applied to the button will be
passed 2 parameters: form and item.
buttons - buttons Default value is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||