com.sap.ui.commons.client
Class TabWidget

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.PanelWidget
                  extended by com.sap.ui.commons.client.TabWidget
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 TabWidget
extends PanelWidget

The class Tab is the GWT wrapper for the Phoenix control: sap.ui.commons.Tab.

A single page in a TabStrip control.

For further parameters see {@link com.sap.ui.commons.client.Panel

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR (JavaScript control: SAP AG)

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 closable
Default value is: false
 void setHorizontalScrolling(com.sap.ui.core.client.Scrolling value)
          Setter for property horizontalScrolling
Default 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 verticalScrolling
Default 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

TabWidget

public TabWidget()
constructs the class TabWidget


TabWidget

public TabWidget(String id)
constructs the class TabWidget

Parameters:
id - id of the TabWidget

TabWidget

protected TabWidget(Tab control)
constructs the class TabWidget

Parameters:
control - reference to an existing Tab
Method Detail

getControl

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

Overrides:
getControl in class PanelWidget
Returns:
reference to the Phoenix Control

getVerticalScrolling

public com.sap.ui.core.client.Scrolling getVerticalScrolling()
Getter for property verticalScrolling Set the height property.

Returns:
the value of property verticalScrolling

setVerticalScrolling

public void setVerticalScrolling(com.sap.ui.core.client.Scrolling value)
Setter for property verticalScrolling
Default value is: None

Parameters:
value - com.sap.ui.core.client.Scrolling

getHorizontalScrolling

public com.sap.ui.core.client.Scrolling getHorizontalScrolling()
Getter for property horizontalScrolling Set the width property.

Returns:
the value of property horizontalScrolling

setHorizontalScrolling

public void setHorizontalScrolling(com.sap.ui.core.client.Scrolling value)
Setter for property horizontalScrolling
Default value is: None

Parameters:
value - com.sap.ui.core.client.Scrolling

isClosable

public boolean isClosable()
Getter for property closable Defines whether the tab contains a close button.

Returns:
the value of property closable

setClosable

public void setClosable(boolean value)
Setter for property closable
Default value is: false

Parameters:
value - boolean

isSelected

public boolean isSelected()
Deprecated. Since version 0.17.0. This property is not used. To indentify the selected tab in a TabStrip selectedIndex is used.

Getter for property selected Defines whether the tab is the active one.

Returns:
the value of property selected

setSelected

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

Setter for property selected
Default value is: false

Parameters:
value - boolean


Copyright © 2011 SAP. All Rights Reserved.