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

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.sap.ui.core.client.ControlWidget
              extended by com.sap.ui.commons.client.layout.VerticalLayoutWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget

public class VerticalLayoutWidget
extends com.sap.ui.core.client.ControlWidget

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

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR (JavaScript control: d031513)

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 enabled
Default 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

VerticalLayoutWidget

public VerticalLayoutWidget()
constructs the class VerticalLayoutWidget


VerticalLayoutWidget

public VerticalLayoutWidget(String id)
constructs the class VerticalLayoutWidget

Parameters:
id - id of the VerticalLayoutWidget

VerticalLayoutWidget

protected VerticalLayoutWidget(VerticalLayout control)
constructs the class VerticalLayoutWidget

Parameters:
control - reference to an existing VerticalLayout
Method Detail

getControl

public VerticalLayout getControl()
returns the reference to the Phoenix Control

Overrides:
getControl in class com.sap.ui.core.client.ControlWidget
Returns:
reference to the Phoenix Control

getWidth

public String getWidth()
Getter for property width CSS width of the vertical layout.

Returns:
the value of property width

setWidth

public void setWidth(String value)
Setter for property width

Overrides:
setWidth in class com.google.gwt.user.client.ui.UIObject
Parameters:
value - String

isEnabled

public boolean isEnabled()
Getter for property enabled If not enabled all controls inside are not enabled automatically.

Returns:
the value of property enabled

setEnabled

public void setEnabled(boolean value)
Setter for property enabled
Default value is: true

Parameters:
value - boolean

getContent

public com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control> getContent()
Getter for aggregation content Child Controls within the layout.

Returns:
com.sap.ui.core.client.Control[]

insertContent

public void insertContent(com.sap.ui.core.client.Control content,
                          int index)
Inserts some content into the aggregation named content.

Parameters:
content - the content to insert
index - int the 0-based index the content should be inserted at.

addContent

public void addContent(com.sap.ui.core.client.Control content)
Appends some content to the content-aggregation.

Parameters:
content - com.sap.ui.core.client.Control the content to add

removeContent

public void removeContent(int index)
Removes the content at position index in the content-aggregation named.

Parameters:
index - int the position of the content to remove.

removeAllContent

public void removeAllContent()
Removes all the items in the content-aggregation.


indexOfContent

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

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

destroyContent

public void destroyContent()
Destroys all the content in the Content-aggregation.



Copyright © 2011 SAP. All Rights Reserved.