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

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

public class Cell
extends com.sap.ui.core.client.Element

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

Represents a table cell.

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

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

Constructor Summary
protected Cell()
          constructs the class Cell
hidden due to JavaScriptObject restriction
 
Method Summary
static Cell create()
          creates a new instance of the class Cell
static Cell create(String idOrConfig)
          creates a new instance of the class Cell
static Cell create(String id, String config)
          creates a new instance of the class Cell
 com.sap.ui.core.client.TextAlign getAlign()
          Getter for property align Defines text alignment within cell.
 Object getControlType()
          Getter for property controlType Specifies the default type of the control within the cell.
 String getKey()
          Getter for property key Unique identifier, to find and fill the cell with data.
 String getStyleClass()
          Getter for property styleClass This property can be used to provide an additional CSS style class to the control instance that is created from the given controlType.
 String getWidth()
          Getter for property width Control width as common CSS-size (px or % as unit, for example).
 Cell setAlign(com.sap.ui.core.client.TextAlign value)
          Setter for property align
Default value is: sap.ui.core.TextAlign.Begin
 Cell setControlType(Object value)
          Setter for property controlType
 Cell setKey(String value)
          Setter for property key
 Cell setStyleClass(String value)
          Setter for property styleClass
 Cell setWidth(String value)
          Setter for property width
 
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

Cell

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

Method Detail

create

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


create

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

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

create

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

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

getKey

public final String getKey()
Getter for property key Unique identifier, to find and fill the cell with data.

Returns:
the value of property key

setKey

public final Cell setKey(String value)
Setter for property key

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

getWidth

public final String getWidth()
Getter for property width Control width as common CSS-size (px or % as unit, for example).

Returns:
the value of property width

setWidth

public final Cell setWidth(String value)
Setter for property width

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

getAlign

public final com.sap.ui.core.client.TextAlign getAlign()
Getter for property align Defines text alignment within cell.

Returns:
the value of property align

setAlign

public final Cell setAlign(com.sap.ui.core.client.TextAlign value)
Setter for property align
Default value is: sap.ui.core.TextAlign.Begin

Parameters:
value - com.sap.ui.core.client.TextAlign
Returns:
this to allow method chaining

getControlType

public final Object getControlType()
Getter for property controlType Specifies the default type of the control within the cell. If given, the cell can be filled with a JSON Object, otherwise the control must be defined explicitly.

Returns:
the value of property controlType

setControlType

public final Cell setControlType(Object value)
Setter for property controlType

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

getStyleClass

public final String getStyleClass()
Getter for property styleClass This property can be used to provide an additional CSS style class to the control instance that is created from the given controlType. In case the control instance is not created from the given controlType (for example, it could be given by the data provided to the control instance), this parameter does not have any effect.

Returns:
the value of property styleClass

setStyleClass

public final Cell setStyleClass(String value)
Setter for property styleClass

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


Copyright © 2011 SAP. All Rights Reserved.