|
|||||||||
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 CanvasItem
public void setButtonBaseStyle(String buttonBaseStyle)
buttonBaseStyle
- . See CSSStyleName
. Default value is nullAppearance overview and related methods
public String getButtonBaseStyle()
CSSStyleName
Appearance overview and related methods
public void setEndRow(Boolean endRow)
setEndRow
in class FormItem
endRow
- endRow Default value is trueAppearance overview and related methods
public Boolean getEndRow()
getEndRow
in class FormItem
Appearance overview and related methods
public void setShowTitle(Boolean showTitle)
setShowTitle
in class FormItem
showTitle
- showTitle Default value is falseAppearance overview and related methods
public Boolean getShowTitle()
getShowTitle
in class FormItem
Appearance overview and related methods
public void setStartRow(Boolean startRow)
setStartRow
in class FormItem
startRow
- startRow Default value is trueAppearance overview and related methods
public Boolean getStartRow()
getStartRow
in class FormItem
Appearance overview and related methods
public 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 |