|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.sap.ui.core.client.Element
com.sap.ui.core.client.Item
com.sap.ui.core.client.ListItem
com.sap.ui.table.client.web.ToolbarItem
public class ToolbarItem
The class ToolbarItem is the GWT wrapper
for the Phoenix control: sap.ui.table.web.ToolbarItem.
Item for Toolbar
| Constructor Summary | |
|---|---|
protected |
ToolbarItem()
constructs the class ToolbarItemhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
static ToolbarItem |
create()
creates a new instance of the class ToolbarItem |
static ToolbarItem |
create(String idOrConfig)
creates a new instance of the class ToolbarItem |
static ToolbarItem |
create(String id,
String config)
creates a new instance of the class ToolbarItem |
String |
getSubtoolbar()
Subtoolbar displayed below the main toolbar when item is selected |
ToolbarItemType |
getType()
Getter for property type
Design of the toolbar item |
boolean |
isIconFirst()
Getter for property iconFirst
If set to true, the display sequence is 1.icon 2.control text. |
boolean |
isRightAligned()
Getter for property rightAligned
Indicates that this instance of ToolbarItem should appear right aligned in the hosting toolbar. |
ToolbarItem |
setIconFirst(boolean value)
Setter for property iconFirstDefault value is: false |
ToolbarItem |
setRightAligned(boolean value)
Setter for property rightAlignedDefault value is: false |
ToolbarItem |
setSubtoolbar(String subtoolbar)
Subtoolbar displayed below the main toolbar when item is selected |
ToolbarItem |
setSubtoolbar(Toolbar subtoolbar)
Subtoolbar displayed below the main toolbar when item is selected |
ToolbarItem |
setType(ToolbarItemType value)
Setter for property typeDefault value is: sap.ui.table.web.ToolbarItemType.Button |
| Methods inherited from class com.sap.ui.core.client.ListItem |
|---|
getAdditionalText, getIcon, setAdditionalText, setIcon |
| Methods inherited from class com.sap.ui.core.client.Item |
|---|
getKey, getText, getTextDirection, isEnabled, setEnabled, setKey, setText, setTextDirection |
| Methods inherited from class com.sap.ui.core.client.Element |
|---|
_convertArray, _convertArray, _convertArray, _convertArray, _convertArray, attachBrowserEvent, attachEvent, bindAggregation, bindContext, bindProperty, bindProperty, destroy, detachBrowserEvent, detachEvent, getDomRef, getElementName, getId, getLibraryName, getModel, getParent, getProperty, getTooltip_AsString, getTooltip_Text, getTooltip, isActive, setModel, setProperty, setTooltip, setTooltip, unbindAggregation, unbindContext, unbindProperty |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ToolbarItem()
ToolbarItemJavaScriptObject restriction
| Method Detail |
|---|
public static ToolbarItem create()
ToolbarItem
public static ToolbarItem create(String idOrConfig)
ToolbarItem
id - id of the ToolbarItem or configuration JSON string
public static ToolbarItem create(String id,
String config)
ToolbarItem
id - id of the ToolbarItemconfig - configuration JSON stringpublic final ToolbarItemType getType()
type
Design of the toolbar item
public final ToolbarItem setType(ToolbarItemType value)
typesap.ui.table.web.ToolbarItemType.Button
value - com.sap.ui.table.client.web.ToolbarItemType
this to allow method chainingpublic final boolean isRightAligned()
rightAligned
Indicates that this instance of ToolbarItem should appear right aligned in the hosting toolbar.
public final ToolbarItem setRightAligned(boolean value)
rightAlignedfalse
value - boolean
this to allow method chainingpublic final boolean isIconFirst()
iconFirst
If set to true, the display sequence is 1.icon 2.control text.
public final ToolbarItem setIconFirst(boolean value)
iconFirstfalse
value - boolean
this to allow method chainingpublic final String getSubtoolbar()
public final ToolbarItem setSubtoolbar(String subtoolbar)
subtoolbar - id of the associated com.sap.ui.table.client.web.Toolbar or null
this to allow method chainingpublic final ToolbarItem setSubtoolbar(Toolbar subtoolbar)
subtoolbar - An associated com.sap.ui.table.client.web.Toolbar or null
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||