|
||||||||||
| 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.Panel
com.sap.ui.commons.client.Tab
public class Tab
The class Tab is the GWT wrapper
for the Phoenix control: sap.ui.commons.Tab.
A single page in a TabStrip control.
| Constructor Summary | |
|---|---|
protected |
Tab()
constructs the class Tabhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
static Tab |
create()
creates a new instance of the class Tab |
static Tab |
create(String idOrConfig)
creates a new instance of the class Tab |
static Tab |
create(String id,
String config)
creates a new instance of the class Tab |
com.sap.ui.core.client.Scrolling |
getHorizontalScrolling()
Getter for property horizontalScrolling
Set the width property. |
com.sap.ui.core.client.Scrolling |
getVerticalScrolling()
Getter for property verticalScrolling
Set the height property. |
boolean |
isClosable()
Getter for property closable
Defines whether the tab contains a close button. |
boolean |
isSelected()
Deprecated. Since version 0.17.0. This property is not used. To indentify the selected tab in a TabStrip selectedIndex is used. |
Tab |
setClosable(boolean value)
Setter for property closableDefault value is: false |
Tab |
setHorizontalScrolling(com.sap.ui.core.client.Scrolling value)
Setter for property horizontalScrollingDefault value is: None |
Tab |
setSelected(boolean value)
Deprecated. Since version 0.17.0. This property is not used. To indentify the selected tab in a TabStrip selectedIndex is used. |
Tab |
setVerticalScrolling(com.sap.ui.core.client.Scrolling value)
Setter for property verticalScrollingDefault value is: None |
| Methods inherited from class com.sap.ui.commons.client.Panel |
|---|
addButton, addContent, destroyButtons, destroyContent, destroyTitle, getAreaDesign, getBorderDesign, getButtons, getContent, getHeight, getScrollLeft, getScrollTop, getTitle, getWidth, indexOfButton, indexOfContent, insertButton, insertContent, isApplyContentPadding, isCollapsed, isEnabled, isShowCollapseIcon, isVisible, removeAllButtons, removeAllContent, removeButton, removeContent, setApplyContentPadding, setAreaDesign, setBorderDesign, setCollapsed, setDimensions, setEnabled, setHeight, setScrollLeft, setScrollTop, setShowCollapseIcon, setText, setTitle, setVisible, setWidth |
| 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 Tab()
TabJavaScriptObject restriction
| Method Detail |
|---|
public static Tab create()
Tab
public static Tab create(String idOrConfig)
Tab
id - id of the Tab or configuration JSON string
public static Tab create(String id,
String config)
Tab
id - id of the Tabconfig - configuration JSON stringpublic final com.sap.ui.core.client.Scrolling getVerticalScrolling()
verticalScrolling
Set the height property.
public final Tab setVerticalScrolling(com.sap.ui.core.client.Scrolling value)
verticalScrollingNone
value - com.sap.ui.core.client.Scrolling
this to allow method chainingpublic final com.sap.ui.core.client.Scrolling getHorizontalScrolling()
horizontalScrolling
Set the width property.
public final Tab setHorizontalScrolling(com.sap.ui.core.client.Scrolling value)
horizontalScrollingNone
value - com.sap.ui.core.client.Scrolling
this to allow method chainingpublic final boolean isClosable()
closable
Defines whether the tab contains a close button.
public final Tab setClosable(boolean value)
closablefalse
value - boolean
this to allow method chainingpublic final boolean isSelected()
selected
Defines whether the tab is the active one.
public final Tab setSelected(boolean value)
selectedfalse
value - boolean
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||