|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.sap.ui.core.client.ControlWidget
com.sap.ui.commons.client.layout.VerticalLayoutWidget
public class VerticalLayoutWidget
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
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
|
VerticalLayoutWidget()
constructs the class VerticalLayoutWidget |
|
VerticalLayoutWidget(String id)
constructs the class VerticalLayoutWidget |
protected |
VerticalLayoutWidget(VerticalLayout control)
constructs the class VerticalLayoutWidget |
| Method Summary | |
|---|---|
void |
addContent(com.sap.ui.core.client.Control content)
Appends some content to the content-aggregation. |
void |
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. |
VerticalLayout |
getControl()
returns the reference to the Phoenix Control |
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. |
void |
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. |
void |
removeAllContent()
Removes all the items in the content-aggregation. |
void |
removeContent(int index)
Removes the content at position index in the content-aggregation named. |
void |
setEnabled(boolean value)
Setter for property enabledDefault value is: true |
void |
setWidth(String value)
Setter for property width |
| Methods inherited from class com.sap.ui.core.client.ControlWidget |
|---|
destroy, doAttachChildren, doDetachChildren, isDesignTime, wrap |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VerticalLayoutWidget()
VerticalLayoutWidget
public VerticalLayoutWidget(String id)
VerticalLayoutWidget
id - id of the VerticalLayoutWidgetprotected VerticalLayoutWidget(VerticalLayout control)
VerticalLayoutWidget
control - reference to an existing VerticalLayout| Method Detail |
|---|
public VerticalLayout getControl()
Control
getControl in class com.sap.ui.core.client.ControlWidgetControlpublic String getWidth()
width
CSS width of the vertical layout.
public void setWidth(String value)
width
setWidth in class com.google.gwt.user.client.ui.UIObjectvalue - Stringpublic boolean isEnabled()
enabled
If not enabled all controls inside are not enabled automatically.
public void setEnabled(boolean value)
enabledtrue
value - booleanpublic com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control> getContent()
public void insertContent(com.sap.ui.core.client.Control content,
int index)
content - the content to insertindex - int the 0-based index the content should be inserted at.public void addContent(com.sap.ui.core.client.Control content)
content - com.sap.ui.core.client.Control the content to addpublic void removeContent(int index)
index in the content-aggregation named.
index - int the position of the content to remove.public void removeAllContent()
public 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 void destroyContent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||