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

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.RecordCell

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

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

A record cell represents a column of a semantic row and has one or two rows. These can be defined individually by adding FirstRowCells respectively SecondRowCells. If one row contains more cells than the other one, the cell span is set automatically.

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

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

Constructor Summary
protected RecordCell()
          constructs the class RecordCell
hidden due to JavaScriptObject restriction
 
Method Summary
 RecordCell addFirstRowCell(Cell firstRowCell)
          Appends a firstRowCell to the aggregation firstRowCells.
 RecordCell addSecondRowCell(Cell secondRowCell)
          Appends a secondRowCell to the aggregation secondRowCells.
static RecordCell create()
          creates a new instance of the class RecordCell
static RecordCell create(String idOrConfig)
          creates a new instance of the class RecordCell
static RecordCell create(String id, String config)
          creates a new instance of the class RecordCell
 RecordCell destroyFirstRowCells()
          Destroys all the firstRowCells in the FirstRowCells-aggregation.
 RecordCell destroySecondRowCells()
          Destroys all the secondRowCells in the SecondRowCells-aggregation.
 com.sap.ui.core.client.js.JsArray<Cell> getFirstRowCells()
          Getter for aggregation firstRowCells Defines the cells for the first row.
 String getHeading()
          Getter for property heading Set a heading for the semantic row column.
 com.sap.ui.core.client.js.JsArray<Cell> getSecondRowCells()
          Getter for aggregation secondRowCells Defines the cells for the second row.
 int indexOfFirstRowCell(Cell firstRowCell)
          Checks for the provided com.sap.ui.table.client.web.Cell in the firstRowCells-aggregation and returns its index if found or -1 otherwise.
 int indexOfSecondRowCell(Cell secondRowCell)
          Checks for the provided com.sap.ui.table.client.web.Cell in the secondRowCells-aggregation and returns its index if found or -1 otherwise.
 RecordCell insertFirstRowCell(Cell firstRowCell, int index)
          Inserts some firstRowCell into the aggregation named firstRowCells.
 RecordCell insertSecondRowCell(Cell secondRowCell, int index)
          Inserts some secondRowCell into the aggregation named secondRowCells.
 com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<Cell>> removeAllFirstRowCells()
          Removes all the items in the firstRowCells-aggregation.
 com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<Cell>> removeAllSecondRowCells()
          Removes all the items in the secondRowCells-aggregation.
 com.sap.ui.core.client.js.JsArray<Cell> removeFirstRowCell(int index)
          Removes a firstRowCell from the aggregation named firstRowCells.
 com.sap.ui.core.client.js.JsArray<Cell> removeSecondRowCell(int index)
          Removes a secondRowCell from the aggregation named secondRowCells.
 RecordCell setHeading(String value)
          Setter for property heading
 
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

RecordCell

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

Method Detail

create

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


create

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

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

create

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

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

getHeading

public final String getHeading()
Getter for property heading Set a heading for the semantic row column.

Returns:
the value of property heading

setHeading

public final RecordCell setHeading(String value)
Setter for property heading

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

getFirstRowCells

public final com.sap.ui.core.client.js.JsArray<Cell> getFirstRowCells()
Getter for aggregation firstRowCells Defines the cells for the first row.

Returns:
com.sap.ui.table.client.web.Cell[]

insertFirstRowCell

public final RecordCell insertFirstRowCell(Cell firstRowCell,
                                           int index)
Inserts some firstRowCell into the aggregation named firstRowCells.

Parameters:
firstRowCell - the firstRowCell to insert
index - int the 0-based index the firstRowCell should be inserted at.
Returns:
this to allow method chaining

addFirstRowCell

public final RecordCell addFirstRowCell(Cell firstRowCell)
Appends a firstRowCell to the aggregation firstRowCells.

Parameters:
firstRowCell - com.sap.ui.table.client.web.Cell the firstRowCell to add
Returns:
this to allow method chaining

removeFirstRowCell

public final com.sap.ui.core.client.js.JsArray<Cell> removeFirstRowCell(int index)
Removes a firstRowCell from the aggregation named firstRowCells.

Parameters:
index - int the position of the firstRowCell to remove.
Returns:
reference to this instance

removeAllFirstRowCells

public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<Cell>> removeAllFirstRowCells()
Removes all the items in the firstRowCells-aggregation.

Returns:
an array of the removed elements (might be empty)

indexOfFirstRowCell

public final int indexOfFirstRowCell(Cell firstRowCell)
Checks for the provided com.sap.ui.table.client.web.Cell in the firstRowCells-aggregation and returns its index if found or -1 otherwise.

Parameters:
firstRowCell - the firstRowCell whose index is looked for.
Returns:
the index of the provided control in the aggregation.

destroyFirstRowCells

public final RecordCell destroyFirstRowCells()
Destroys all the firstRowCells in the FirstRowCells-aggregation.

Returns:
this to allow method chaining

getSecondRowCells

public final com.sap.ui.core.client.js.JsArray<Cell> getSecondRowCells()
Getter for aggregation secondRowCells Defines the cells for the second row.

Returns:
com.sap.ui.table.client.web.Cell[]

insertSecondRowCell

public final RecordCell insertSecondRowCell(Cell secondRowCell,
                                            int index)
Inserts some secondRowCell into the aggregation named secondRowCells.

Parameters:
secondRowCell - the secondRowCell to insert
index - int the 0-based index the secondRowCell should be inserted at.
Returns:
this to allow method chaining

addSecondRowCell

public final RecordCell addSecondRowCell(Cell secondRowCell)
Appends a secondRowCell to the aggregation secondRowCells.

Parameters:
secondRowCell - com.sap.ui.table.client.web.Cell the secondRowCell to add
Returns:
this to allow method chaining

removeSecondRowCell

public final com.sap.ui.core.client.js.JsArray<Cell> removeSecondRowCell(int index)
Removes a secondRowCell from the aggregation named secondRowCells.

Parameters:
index - int the position of the secondRowCell to remove.
Returns:
reference to this instance

removeAllSecondRowCells

public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<Cell>> removeAllSecondRowCells()
Removes all the items in the secondRowCells-aggregation.

Returns:
an array of the removed elements (might be empty)

indexOfSecondRowCell

public final int indexOfSecondRowCell(Cell secondRowCell)
Checks for the provided com.sap.ui.table.client.web.Cell in the secondRowCells-aggregation and returns its index if found or -1 otherwise.

Parameters:
secondRowCell - the secondRowCell whose index is looked for.
Returns:
the index of the provided control in the aggregation.

destroySecondRowCells

public final RecordCell destroySecondRowCells()
Destroys all the secondRowCells in the SecondRowCells-aggregation.

Returns:
this to allow method chaining


Copyright © 2011 SAP. All Rights Reserved.