|
||||||||||
| 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.core.client.Control
com.sap.ui.commons.client.layout.VerticalLayout
public class VerticalLayout
The class VerticalLayout is the GWT wrapper
for the Phoenix control: sap.ui.commons.layout.VerticalLayout.
In this layout the elemnts are orderd one below the other
| Constructor Summary | |
|---|---|
protected |
VerticalLayout()
constructs the class VerticalLayouthidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
VerticalLayout |
addContent(com.sap.ui.core.client.Control content)
Appends a content to the aggregation content. |
static VerticalLayout |
create()
creates a new instance of the class VerticalLayout |
static VerticalLayout |
create(String idOrConfig)
creates a new instance of the class VerticalLayout |
static VerticalLayout |
create(String id,
String config)
creates a new instance of the class VerticalLayout |
VerticalLayout |
destroyContent()
Destroys all the content in the Content-aggregation. |
com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control> |
getContent()
Getter for aggregation content Child Controls within the layout. |
String |
getWidth()
Getter for property width
CSS width of the vertical layout. |
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. |
VerticalLayout |
insertContent(com.sap.ui.core.client.Control content,
int index)
Inserts some content into the aggregation named content. |
boolean |
isEnabled()
Getter for property enabled
If not enabled all controls inside are not enabled automatically. |
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. |
VerticalLayout |
setEnabled(boolean value)
Setter for property enabledDefault value is: true |
VerticalLayout |
setWidth(String value)
Setter for property width |
| Methods inherited from class com.sap.ui.core.client.Control |
|---|
addStyleClass, hasStyleClass, invalidate, placeAt, placeAt, removeStyleClass, rerender |
| 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 VerticalLayout()
VerticalLayoutJavaScriptObject restriction
| Method Detail |
|---|
public static VerticalLayout create()
VerticalLayout
public static VerticalLayout create(String idOrConfig)
VerticalLayout
id - id of the VerticalLayout or configuration JSON string
public static VerticalLayout create(String id,
String config)
VerticalLayout
id - id of the VerticalLayoutconfig - configuration JSON stringpublic final String getWidth()
width
CSS width of the vertical layout.
public final VerticalLayout setWidth(String value)
width
value - String
this to allow method chainingpublic final boolean isEnabled()
enabled
If not enabled all controls inside are not enabled automatically.
public final VerticalLayout setEnabled(boolean value)
enabledtrue
value - boolean
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control> getContent()
public final VerticalLayout 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 VerticalLayout 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 VerticalLayout destroyContent()
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||