|
||||||||||
| 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.table.client.web.Record
public class Record
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.
| Constructor Summary | |
|---|---|
protected |
Record()
constructs the class Recordhidden 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 |
|---|
protected Record()
RecordJavaScriptObject restriction
| Method Detail |
|---|
public static Record create()
Record
public static Record create(String idOrConfig)
Record
id - id of the Record or configuration JSON string
public static Record create(String id,
String config)
Record
id - id of the Recordconfig - configuration JSON stringpublic final com.sap.ui.core.client.js.JsArray<RecordCell> getRecordCells()
public final Record insertRecordCell(RecordCell recordCell,
int index)
recordCells.
recordCell - the recordCell to insertindex - int the 0-based index the recordCell should be inserted at.
this to allow method chainingpublic final Record addRecordCell(RecordCell recordCell)
recordCells.
recordCell - com.sap.ui.table.client.web.RecordCell the recordCell to add
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<RecordCell> removeRecordCell(int index)
recordCells.
index - int the position of the recordCell to remove.
public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<RecordCell>> removeAllRecordCells()
public final int indexOfRecordCell(RecordCell recordCell)
com.sap.ui.table.client.web.RecordCell in the recordCells-aggregation and
returns its index if found or -1 otherwise.
recordCell - the recordCell whose index is looked for.
public final Record destroyRecordCells()
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||