|
||||||||||
| 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.MatrixLayoutCell
public class MatrixLayoutCell
The class MatrixLayoutCell is the GWT wrapper
for the Phoenix control: sap.ui.commons.layout.MatrixLayoutCell.
Non-control element used as part of a matrix layout's inner structure.
| Constructor Summary | |
|---|---|
protected |
MatrixLayoutCell()
constructs the class MatrixLayoutCellhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
MatrixLayoutCell |
addContent(com.sap.ui.core.client.Control content)
Appends a content to the aggregation content. |
static MatrixLayoutCell |
create()
creates a new instance of the class MatrixLayoutCell |
static MatrixLayoutCell |
create(String idOrConfig)
creates a new instance of the class MatrixLayoutCell |
static MatrixLayoutCell |
create(String id,
String config)
creates a new instance of the class MatrixLayoutCell |
MatrixLayoutCell |
destroyContent()
Destroys all the content in the Content-aggregation. |
BackgroundDesign |
getBackgroundDesign()
Getter for property backgroundDesign
Determines the matrix layout cell's background design. |
int |
getColSpan()
Getter for property colSpan
Determines how many columns of the underlying grid structure are occupied
by this matrix layout cell. |
com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control> |
getContent()
Getter for aggregation content The matrix layout cell's content (arbitrary controls). |
HAlign |
getHAlign()
Getter for property hAlign
Determines the horizontal alignment of the matrix layout cell's content
with the cell's borders. |
Padding |
getPadding()
Getter for property padding
Determines the padding of the matrix layout cell's content within the
cell's borders. |
int |
getRowSpan()
Getter for property rowSpan
Determines how many rows of the underlying grid structure are occupied by this matrix layout cell. |
Separation |
getSeparation()
Getter for property separation
Determines how a matrix layout cell is separated from its predecessor,
via a vertical gutter of variable width, with or without a vertical line. |
VAlign |
getVAlign()
Getter for property vAlign
Determines the vertical alignment of the matrix layout cell's content
with the cell's borders. |
int |
indexOfContent(com.sap.ui.core.client.Control content)
Checks for the provided com.sap.ui.core.client.Control in the content-aggregation and
returns its index if found or -1 otherwise. |
MatrixLayoutCell |
insertContent(com.sap.ui.core.client.Control content,
int index)
Inserts some content into the aggregation named content. |
com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control>> |
removeAllContent()
Removes all the items in the content-aggregation. |
com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control> |
removeContent(int index)
Removes a content from the aggregation named content. |
MatrixLayoutCell |
setBackgroundDesign(BackgroundDesign value)
Setter for property backgroundDesignDefault value is: 'Transparent' |
MatrixLayoutCell |
setColSpan(int value)
Setter for property colSpanDefault value is: 1 |
MatrixLayoutCell |
setHAlign(HAlign value)
Setter for property hAlignDefault value is: 'Begin' |
MatrixLayoutCell |
setPadding(Padding value)
Setter for property paddingDefault value is: 'End' |
MatrixLayoutCell |
setRowSpan(int value)
Setter for property rowSpanDefault value is: 1 |
MatrixLayoutCell |
setSeparation(Separation value)
Setter for property separationDefault value is: 'None' |
MatrixLayoutCell |
setVAlign(VAlign value)
Setter for property vAlignDefault value is: 'Middle' |
| 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 MatrixLayoutCell()
MatrixLayoutCellJavaScriptObject restriction
| Method Detail |
|---|
public static MatrixLayoutCell create()
MatrixLayoutCell
public static MatrixLayoutCell create(String idOrConfig)
MatrixLayoutCell
id - id of the MatrixLayoutCell or configuration JSON string
public static MatrixLayoutCell create(String id,
String config)
MatrixLayoutCell
id - id of the MatrixLayoutCellconfig - configuration JSON stringpublic final BackgroundDesign getBackgroundDesign()
backgroundDesign
Determines the matrix layout cell's background design.
public final MatrixLayoutCell setBackgroundDesign(BackgroundDesign value)
backgroundDesign'Transparent'
value - com.sap.ui.commons.client.layout.BackgroundDesign
this to allow method chainingpublic final int getColSpan()
colSpan
Determines how many columns of the underlying grid structure are occupied
by this matrix layout cell.
public final MatrixLayoutCell setColSpan(int value)
colSpan1
value - int
this to allow method chainingpublic final HAlign getHAlign()
hAlign
Determines the horizontal alignment of the matrix layout cell's content
with the cell's borders.
public final MatrixLayoutCell setHAlign(HAlign value)
hAlign'Begin'
value - com.sap.ui.commons.client.layout.HAlign
this to allow method chainingpublic final Padding getPadding()
padding
Determines the padding of the matrix layout cell's content within the
cell's borders. The default value is appropriate for all cells in a
form-like layout. Consider to remove the padding on the outer layout in
case of nesting.
public final MatrixLayoutCell setPadding(Padding value)
padding'End'
value - com.sap.ui.commons.client.layout.Padding
this to allow method chainingpublic final int getRowSpan()
rowSpan
Determines how many rows of the underlying grid structure are occupied by this matrix layout cell.
In case a row-height is used, all rows affected by the RowSpan must have the same unit.
public final MatrixLayoutCell setRowSpan(int value)
rowSpan1
value - int
this to allow method chainingpublic final Separation getSeparation()
separation
Determines how a matrix layout cell is separated from its predecessor,
via a vertical gutter of variable width, with or without a vertical line.
public final MatrixLayoutCell setSeparation(Separation value)
separation'None'
value - com.sap.ui.commons.client.layout.Separation
this to allow method chainingpublic final VAlign getVAlign()
vAlign
Determines the vertical alignment of the matrix layout cell's content
with the cell's borders.
public final MatrixLayoutCell setVAlign(VAlign value)
vAlign'Middle'
value - com.sap.ui.commons.client.layout.VAlign
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control> getContent()
public final MatrixLayoutCell insertContent(com.sap.ui.core.client.Control content,
int index)
content.
content - the content to insertindex - int the 0-based index the content should be inserted at.
this to allow method chainingpublic final MatrixLayoutCell addContent(com.sap.ui.core.client.Control content)
content.
content - com.sap.ui.core.client.Control the content to add
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control> removeContent(int index)
content.
index - int the position of the content to remove.
public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control>> removeAllContent()
public final int indexOfContent(com.sap.ui.core.client.Control content)
com.sap.ui.core.client.Control in the content-aggregation and
returns its index if found or -1 otherwise.
content - the content whose index is looked for.
public final MatrixLayoutCell destroyContent()
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||