|
||||||||||
| 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
public class Item
The class Item is the GWT wrapper
for the Phoenix control: sap.ui.core.Item.
A control base type.
| Constructor Summary | |
|---|---|
protected |
Item()
constructs the class Itemhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
static Item |
create()
creates a new instance of the class Item |
static Item |
create(String idOrConfig)
creates a new instance of the class Item |
static Item |
create(String id,
String config)
creates a new instance of the class Item |
String |
getKey()
Getter for property key
Can be used as input for subsequent actions. |
String |
getText()
Getter for property text
The text to be displayed for the item. |
TextDirection |
getTextDirection()
Getter for property textDirection
Options are RTL and LTR. |
boolean |
isEnabled()
Getter for property enabled
Enabled items can be selected. |
Item |
setEnabled(boolean value)
Setter for property enabledDefault value is: true |
Item |
setKey(String value)
Setter for property key |
Item |
setText(String value)
Setter for property textDefault value is: "" |
Item |
setTextDirection(TextDirection value)
Setter for property textDirectionDefault value is: Inherit |
| 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 Item()
ItemJavaScriptObject restriction
| Method Detail |
|---|
public static Item create()
Item
public static Item create(String idOrConfig)
Item
id - id of the Item or configuration JSON string
public static Item create(String id,
String config)
Item
id - id of the Itemconfig - configuration JSON stringpublic final String getText()
text
The text to be displayed for the item.
public final Item setText(String value)
text""
value - String
this to allow method chainingpublic final boolean isEnabled()
enabled
Enabled items can be selected.
public final Item setEnabled(boolean value)
enabledtrue
value - boolean
this to allow method chainingpublic final TextDirection getTextDirection()
textDirection
Options are RTL and LTR. Alternatively, an item can inherit its text direction from its parent control.
public final Item setTextDirection(TextDirection value)
textDirectionInherit
value - com.sap.ui.core.client.TextDirection
this to allow method chainingpublic final String getKey()
key
Can be used as input for subsequent actions.
public final Item setKey(String value)
key
value - String
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||