|
||||||||||
| 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.commons.client.layout.MatrixLayoutRow
public class MatrixLayoutRow
The class MatrixLayoutRow is the GWT wrapper
for the Phoenix control: sap.ui.commons.layout.MatrixLayoutRow.
Non-control element used as part of a matrix layout's inner structure.
| Constructor Summary | |
|---|---|
protected |
MatrixLayoutRow()
constructs the class MatrixLayoutRowhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
MatrixLayoutRow |
addCell(MatrixLayoutCell cell)
Appends a cell to the aggregation cells. |
static MatrixLayoutRow |
create()
creates a new instance of the class MatrixLayoutRow |
static MatrixLayoutRow |
create(String idOrConfig)
creates a new instance of the class MatrixLayoutRow |
static MatrixLayoutRow |
create(String id,
String config)
creates a new instance of the class MatrixLayoutRow |
MatrixLayoutRow |
destroyCells()
Destroys all the cells in the Cells-aggregation. |
com.sap.ui.core.client.js.JsArray<MatrixLayoutCell> |
getCells()
Getter for aggregation cells The matrix layout row's individual cells. |
String |
getHeight()
Getter for property height
Height of the row. |
int |
indexOfCell(MatrixLayoutCell cell)
Checks for the provided com.sap.ui.commons.client.layout.MatrixLayoutCell in the cells-aggregation and
returns its index if found or -1 otherwise. |
MatrixLayoutRow |
insertCell(MatrixLayoutCell cell,
int index)
Inserts some cell into the aggregation named cells. |
com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<MatrixLayoutCell>> |
removeAllCells()
Removes all the items in the cells-aggregation. |
com.sap.ui.core.client.js.JsArray<MatrixLayoutCell> |
removeCell(int index)
Removes a cell from the aggregation named cells. |
MatrixLayoutRow |
setHeight(String value)
Setter for property height |
| 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 MatrixLayoutRow()
MatrixLayoutRowJavaScriptObject restriction
| Method Detail |
|---|
public static MatrixLayoutRow create()
MatrixLayoutRow
public static MatrixLayoutRow create(String idOrConfig)
MatrixLayoutRow
id - id of the MatrixLayoutRow or configuration JSON string
public static MatrixLayoutRow create(String id,
String config)
MatrixLayoutRow
id - id of the MatrixLayoutRowconfig - configuration JSON stringpublic final String getHeight()
height
Height of the row.
public final MatrixLayoutRow setHeight(String value)
height
value - String
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<MatrixLayoutCell> getCells()
public final MatrixLayoutRow insertCell(MatrixLayoutCell cell,
int index)
cells.
cell - the cell to insertindex - int the 0-based index the cell should be inserted at.
this to allow method chainingpublic final MatrixLayoutRow addCell(MatrixLayoutCell cell)
cells.
cell - com.sap.ui.commons.client.layout.MatrixLayoutCell the cell to add
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<MatrixLayoutCell> removeCell(int index)
cells.
index - int the position of the cell to remove.
public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<MatrixLayoutCell>> removeAllCells()
public final int indexOfCell(MatrixLayoutCell cell)
com.sap.ui.commons.client.layout.MatrixLayoutCell in the cells-aggregation and
returns its index if found or -1 otherwise.
cell - the cell whose index is looked for.
public final MatrixLayoutRow destroyCells()
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||