com.sap.ui.commons.client.layout
Class MatrixLayoutRow

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.sap.ui.core.client.Element
          extended by com.sap.ui.commons.client.layout.MatrixLayoutRow

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

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.

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

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR (JavaScript control: sap.ui.commons.layout.MatrixLayoutRow)

Constructor Summary
protected MatrixLayoutRow()
          constructs the class MatrixLayoutRow
hidden 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

MatrixLayoutRow

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

Method Detail

create

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


create

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

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

create

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

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

getHeight

public final String getHeight()
Getter for property height Height of the row.

Returns:
the value of property height

setHeight

public final MatrixLayoutRow setHeight(String value)
Setter for property height

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

getCells

public final com.sap.ui.core.client.js.JsArray<MatrixLayoutCell> getCells()
Getter for aggregation cells The matrix layout row's individual cells.

Returns:
com.sap.ui.commons.client.layout.MatrixLayoutCell[]

insertCell

public final MatrixLayoutRow insertCell(MatrixLayoutCell cell,
                                        int index)
Inserts some cell into the aggregation named cells.

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

addCell

public final MatrixLayoutRow addCell(MatrixLayoutCell cell)
Appends a cell to the aggregation cells.

Parameters:
cell - com.sap.ui.commons.client.layout.MatrixLayoutCell the cell to add
Returns:
this to allow method chaining

removeCell

public final com.sap.ui.core.client.js.JsArray<MatrixLayoutCell> removeCell(int index)
Removes a cell from the aggregation named cells.

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

removeAllCells

public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<MatrixLayoutCell>> removeAllCells()
Removes all the items in the cells-aggregation.

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

indexOfCell

public final 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.

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

destroyCells

public final MatrixLayoutRow destroyCells()
Destroys all the cells in the Cells-aggregation.

Returns:
this to allow method chaining


Copyright © 2011 SAP. All Rights Reserved.