|
||||||||||
| 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.PanelWidget
com.sap.ui.commons.client.TabWidget
public class TabWidget
The class Tab is the GWT wrapper
for the Phoenix control: sap.ui.commons.Tab.
A single page in a TabStrip control.
| 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 | |
|---|---|
|
TabWidget()
constructs the class TabWidget |
|
TabWidget(String id)
constructs the class TabWidget |
protected |
TabWidget(Tab control)
constructs the class TabWidget |
| Method Summary | |
|---|---|
Tab |
getControl()
returns the reference to the Phoenix Control |
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. |
void |
setClosable(boolean value)
Setter for property closableDefault value is: false |
void |
setHorizontalScrolling(com.sap.ui.core.client.Scrolling value)
Setter for property horizontalScrollingDefault value is: None |
void |
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. |
void |
setVerticalScrolling(com.sap.ui.core.client.Scrolling value)
Setter for property verticalScrollingDefault value is: None |
| Methods inherited from class com.sap.ui.commons.client.PanelWidget |
|---|
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.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, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TabWidget()
TabWidget
public TabWidget(String id)
TabWidget
id - id of the TabWidgetprotected TabWidget(Tab control)
TabWidget
control - reference to an existing Tab| Method Detail |
|---|
public Tab getControl()
Control
getControl in class PanelWidgetControlpublic com.sap.ui.core.client.Scrolling getVerticalScrolling()
verticalScrolling
Set the height property.
public void setVerticalScrolling(com.sap.ui.core.client.Scrolling value)
verticalScrollingNone
value - com.sap.ui.core.client.Scrollingpublic com.sap.ui.core.client.Scrolling getHorizontalScrolling()
horizontalScrolling
Set the width property.
public void setHorizontalScrolling(com.sap.ui.core.client.Scrolling value)
horizontalScrollingNone
value - com.sap.ui.core.client.Scrollingpublic boolean isClosable()
closable
Defines whether the tab contains a close button.
public void setClosable(boolean value)
closablefalse
value - booleanpublic boolean isSelected()
selected
Defines whether the tab is the active one.
public void setSelected(boolean value)
selectedfalse
value - boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||