com.sap.ui.table.client.web
Class ToolbarItem

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.sap.ui.core.client.Element
          extended by com.sap.ui.core.client.Item
              extended by com.sap.ui.core.client.ListItem
                  extended by com.sap.ui.table.client.web.ToolbarItem

public class ToolbarItem
extends com.sap.ui.core.client.ListItem

The class ToolbarItem is the GWT wrapper for the Phoenix control: sap.ui.table.web.ToolbarItem.

Item for Toolbar

For further parameters see {@link com.sap.ui.core.client.ListItem

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR (JavaScript control: sap.ui.table.web.ToolbarItem)

Constructor Summary
protected ToolbarItem()
          constructs the class ToolbarItem
hidden 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 iconFirst
Default value is: false
 ToolbarItem setRightAligned(boolean value)
          Setter for property rightAligned
Default 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 type
Default 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

ToolbarItem

protected ToolbarItem()
constructs the class ToolbarItem
hidden due to JavaScriptObject restriction

Method Detail

create

public static ToolbarItem create()
creates a new instance of the class ToolbarItem


create

public static ToolbarItem create(String idOrConfig)
creates a new instance of the class ToolbarItem

Parameters:
id - id of the ToolbarItem or configuration JSON string

create

public static ToolbarItem create(String id,
                                 String config)
creates a new instance of the class ToolbarItem

Parameters:
id - id of the ToolbarItem
config - configuration JSON string

getType

public final ToolbarItemType getType()
Getter for property type Design of the toolbar item

Returns:
the value of property type

setType

public final ToolbarItem setType(ToolbarItemType value)
Setter for property type
Default value is: sap.ui.table.web.ToolbarItemType.Button

Parameters:
value - com.sap.ui.table.client.web.ToolbarItemType
Returns:
this to allow method chaining

isRightAligned

public final boolean isRightAligned()
Getter for property rightAligned Indicates that this instance of ToolbarItem should appear right aligned in the hosting toolbar.

Returns:
the value of property rightAligned

setRightAligned

public final ToolbarItem setRightAligned(boolean value)
Setter for property rightAligned
Default value is: false

Parameters:
value - boolean
Returns:
this to allow method chaining

isIconFirst

public final boolean isIconFirst()
Getter for property iconFirst If set to true, the display sequence is 1.icon 2.control text.

Returns:
the value of property iconFirst

setIconFirst

public final ToolbarItem setIconFirst(boolean value)
Setter for property iconFirst
Default value is: false

Parameters:
value - boolean
Returns:
this to allow method chaining

getSubtoolbar

public final String getSubtoolbar()
Subtoolbar displayed below the main toolbar when item is selected


setSubtoolbar

public final ToolbarItem setSubtoolbar(String subtoolbar)
Subtoolbar displayed below the main toolbar when item is selected

Parameters:
subtoolbar - id of the associated com.sap.ui.table.client.web.Toolbar or null
Returns:
this to allow method chaining

setSubtoolbar

public final ToolbarItem setSubtoolbar(Toolbar subtoolbar)
Subtoolbar displayed below the main toolbar when item is selected

Parameters:
subtoolbar - An associated com.sap.ui.table.client.web.Toolbar or null
Returns:
this to allow method chaining


Copyright © 2011 SAP. All Rights Reserved.