com.sap.ui.core.client
Class ListItem

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

public class ListItem
extends Item

The class ListItem is the GWT wrapper for the Phoenix control: sap.ui.core.ListItem.

An item that is used in lists or list-similar controls.

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

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR (JavaScript control: sap.ui.core.ListItem)

Constructor Summary
protected ListItem()
          constructs the class ListItem
hidden due to JavaScriptObject restriction
 
Method Summary
static ListItem create()
          creates a new instance of the class ListItem
static ListItem create(String idOrConfig)
          creates a new instance of the class ListItem
static ListItem create(String id, String config)
          creates a new instance of the class ListItem
 String getAdditionalText()
          Getter for property additionalText Additional text of type string, optionally to be displayed along with this item.
 String getIcon()
          Getter for property icon Icon belonging to this instance of ListItem.
 ListItem setAdditionalText(String value)
          Setter for property additionalText
 ListItem setIcon(String value)
          Setter for property icon
 
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

ListItem

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

Method Detail

create

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


create

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

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

create

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

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

getIcon

public final String getIcon()
Getter for property icon Icon belonging to this instance of ListItem.

Returns:
the value of property icon

setIcon

public final ListItem setIcon(String value)
Setter for property icon

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

getAdditionalText

public final String getAdditionalText()
Getter for property additionalText Additional text of type string, optionally to be displayed along with this item.

Returns:
the value of property additionalText

setAdditionalText

public final ListItem setAdditionalText(String value)
Setter for property additionalText

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


Copyright © 2011 SAP. All Rights Reserved.