|
||||||||||
| 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.BorderLayoutArea
public class BorderLayoutArea
The class BorderLayoutArea is the GWT wrapper
for the Phoenix control: sap.ui.commons.layout.BorderLayoutArea.
The BorderLayoutArea represents one area of a BorderLayout when using the BorderLayout control
| Constructor Summary | |
|---|---|
protected |
BorderLayoutArea()
constructs the class BorderLayoutAreahidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
BorderLayoutArea |
addContent(com.sap.ui.core.client.Control content)
Appends a content to the aggregation content. |
static BorderLayoutArea |
create()
creates a new instance of the class BorderLayoutArea |
static BorderLayoutArea |
create(String idOrConfig)
creates a new instance of the class BorderLayoutArea |
static BorderLayoutArea |
create(String id,
String config)
creates a new instance of the class BorderLayoutArea |
BorderLayoutArea |
destroyContent()
Destroys all the content in the Content-aggregation. |
BorderLayoutAreaTypes |
getAreaId()
Getter for property areaId
Defines which area the element represents. |
com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control> |
getContent()
Getter for aggregation content Controls within the area |
String |
getContentAlign()
Getter for property contentAlign
The content alignment (as CSS value) |
String |
getOverflowX()
Getter for property overflowX
The overflow mode of the area in horizontal direction (as CSS value) |
String |
getOverflowY()
Getter for property overflowY
The overflow mode of the area in vertical direction (as CSS value) |
String |
getSize()
Getter for property size
Defines the height (North/South) or the width (West/East). |
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. |
BorderLayoutArea |
insertContent(com.sap.ui.core.client.Control content,
int index)
Inserts some content into the aggregation named content. |
boolean |
isVisible()
Getter for property visible
Controls the area visibility |
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. |
BorderLayoutArea |
setAreaId(BorderLayoutAreaTypes value)
Setter for property areaIdDefault value is: top |
BorderLayoutArea |
setContentAlign(String value)
Setter for property contentAlignDefault value is: left |
BorderLayoutArea |
setOverflowX(String value)
Setter for property overflowXDefault value is: auto |
BorderLayoutArea |
setOverflowY(String value)
Setter for property overflowYDefault value is: auto |
BorderLayoutArea |
setSize(String value)
Setter for property sizeDefault value is: 100px |
BorderLayoutArea |
setVisible(boolean value)
Setter for property visibleDefault value is: true |
void |
setVisible(boolean visible,
com.sap.ui.core.client.Control borderLayout)
Setter for property visible. |
| 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 BorderLayoutArea()
BorderLayoutAreaJavaScriptObject restriction
| Method Detail |
|---|
public static BorderLayoutArea create()
BorderLayoutArea
public static BorderLayoutArea create(String idOrConfig)
BorderLayoutArea
id - id of the BorderLayoutArea or configuration JSON string
public static BorderLayoutArea create(String id,
String config)
BorderLayoutArea
id - id of the BorderLayoutAreaconfig - configuration JSON stringpublic final BorderLayoutAreaTypes getAreaId()
areaId
Defines which area the element represents.
{"top"; "begin"; "center"; "end"; "bottom")
public final BorderLayoutArea setAreaId(BorderLayoutAreaTypes value)
areaIdtop
value - com.sap.ui.commons.client.layout.BorderLayoutAreaTypes
this to allow method chainingpublic final String getOverflowX()
overflowX
The overflow mode of the area in horizontal direction (as CSS value)
public final BorderLayoutArea setOverflowX(String value)
overflowXauto
value - String
this to allow method chainingpublic final String getOverflowY()
overflowY
The overflow mode of the area in vertical direction (as CSS value)
public final BorderLayoutArea setOverflowY(String value)
overflowYauto
value - String
this to allow method chainingpublic final String getContentAlign()
contentAlign
The content alignment (as CSS value)
public final BorderLayoutArea setContentAlign(String value)
contentAlignleft
value - String
this to allow method chainingpublic final String getSize()
size
Defines the height (North/South) or the width (West/East). Is not used when the area element is in center.
public final BorderLayoutArea setSize(String value)
size100px
value - String
this to allow method chainingpublic final boolean isVisible()
visible
Controls the area visibility
public final BorderLayoutArea setVisible(boolean value)
visibletrue
value - boolean
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.Control> getContent()
public final BorderLayoutArea 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 BorderLayoutArea 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 BorderLayoutArea destroyContent()
this to allow method chaining
public final void setVisible(boolean visible,
com.sap.ui.core.client.Control borderLayout)
visible - new value for property visibleborderLayout - OPTIONAL. When the corresponding BorderLayout control of the area is submitted a slide animation will be shown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||