|
||||||||||
| 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.RecordCell
public class RecordCell
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.
| Constructor Summary | |
|---|---|
protected |
RecordCell()
constructs the class RecordCellhidden 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 |
|---|
protected RecordCell()
RecordCellJavaScriptObject restriction
| Method Detail |
|---|
public static RecordCell create()
RecordCell
public static RecordCell create(String idOrConfig)
RecordCell
id - id of the RecordCell or configuration JSON string
public static RecordCell create(String id,
String config)
RecordCell
id - id of the RecordCellconfig - configuration JSON stringpublic final String getHeading()
heading
Set a heading for the semantic row column.
public final RecordCell setHeading(String value)
heading
value - String
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<Cell> getFirstRowCells()
public final RecordCell insertFirstRowCell(Cell firstRowCell,
int index)
firstRowCells.
firstRowCell - the firstRowCell to insertindex - int the 0-based index the firstRowCell should be inserted at.
this to allow method chainingpublic final RecordCell addFirstRowCell(Cell firstRowCell)
firstRowCells.
firstRowCell - com.sap.ui.table.client.web.Cell the firstRowCell to add
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<Cell> removeFirstRowCell(int index)
firstRowCells.
index - int the position of the firstRowCell to remove.
public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<Cell>> removeAllFirstRowCells()
public final int indexOfFirstRowCell(Cell firstRowCell)
com.sap.ui.table.client.web.Cell in the firstRowCells-aggregation and
returns its index if found or -1 otherwise.
firstRowCell - the firstRowCell whose index is looked for.
public final RecordCell destroyFirstRowCells()
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<Cell> getSecondRowCells()
public final RecordCell insertSecondRowCell(Cell secondRowCell,
int index)
secondRowCells.
secondRowCell - the secondRowCell to insertindex - int the 0-based index the secondRowCell should be inserted at.
this to allow method chainingpublic final RecordCell addSecondRowCell(Cell secondRowCell)
secondRowCells.
secondRowCell - com.sap.ui.table.client.web.Cell the secondRowCell to add
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<Cell> removeSecondRowCell(int index)
secondRowCells.
index - int the position of the secondRowCell to remove.
public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<Cell>> removeAllSecondRowCells()
public final int indexOfSecondRowCell(Cell secondRowCell)
com.sap.ui.table.client.web.Cell in the secondRowCells-aggregation and
returns its index if found or -1 otherwise.
secondRowCell - the secondRowCell whose index is looked for.
public final RecordCell destroySecondRowCells()
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||