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

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

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

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

Represents a table row. It contains record cells which may have multiple lines. If one cell has more lines than another one, the row 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.Record)

Constructor Summary
protected Record()
          constructs the class Record
hidden due to JavaScriptObject restriction
 
Method Summary
 Record addRecordCell(RecordCell recordCell)
          Appends a recordCell to the aggregation recordCells.
static Record create()
          creates a new instance of the class Record
static Record create(String idOrConfig)
          creates a new instance of the class Record
static Record create(String id, String config)
          creates a new instance of the class Record
 Record destroyRecordCells()
          Destroys all the recordCells in the RecordCells-aggregation.
 com.sap.ui.core.client.js.JsArray<RecordCell> getRecordCells()
          Getter for aggregation recordCells A cell flavor that may have multiple lines and columns.
 int indexOfRecordCell(RecordCell recordCell)
          Checks for the provided com.sap.ui.table.client.web.RecordCell in the recordCells-aggregation and returns its index if found or -1 otherwise.
 Record insertRecordCell(RecordCell recordCell, int index)
          Inserts some recordCell into the aggregation named recordCells.
 com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<RecordCell>> removeAllRecordCells()
          Removes all the items in the recordCells-aggregation.
 com.sap.ui.core.client.js.JsArray<RecordCell> removeRecordCell(int index)
          Removes a recordCell from the aggregation named recordCells.
 
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

Record

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

Method Detail

create

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


create

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

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

create

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

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

getRecordCells

public final com.sap.ui.core.client.js.JsArray<RecordCell> getRecordCells()
Getter for aggregation recordCells A cell flavor that may have multiple lines and columns.

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

insertRecordCell

public final Record insertRecordCell(RecordCell recordCell,
                                     int index)
Inserts some recordCell into the aggregation named recordCells.

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

addRecordCell

public final Record addRecordCell(RecordCell recordCell)
Appends a recordCell to the aggregation recordCells.

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

removeRecordCell

public final com.sap.ui.core.client.js.JsArray<RecordCell> removeRecordCell(int index)
Removes a recordCell from the aggregation named recordCells.

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

removeAllRecordCells

public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<RecordCell>> removeAllRecordCells()
Removes all the items in the recordCells-aggregation.

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

indexOfRecordCell

public final int indexOfRecordCell(RecordCell recordCell)
Checks for the provided com.sap.ui.table.client.web.RecordCell in the recordCells-aggregation and returns its index if found or -1 otherwise.

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

destroyRecordCells

public final Record destroyRecordCells()
Destroys all the recordCells in the RecordCells-aggregation.

Returns:
this to allow method chaining


Copyright © 2011 SAP. All Rights Reserved.