com.sap.ui.commons.client
Class Tab

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.sap.ui.core.client.Element
          extended by com.sap.ui.core.client.Control
              extended by com.sap.ui.commons.client.Panel
                  extended by com.sap.ui.commons.client.Tab

public class Tab
extends Panel

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.ui.commons.Tab)

Constructor Summary
protected Tab()
          constructs the class Tab
hidden 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 closable
Default value is: false
 Tab setHorizontalScrolling(com.sap.ui.core.client.Scrolling value)
          Setter for property horizontalScrolling
Default 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 verticalScrolling
Default 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

Tab

protected Tab()
constructs the class Tab
hidden due to JavaScriptObject restriction

Method Detail

create

public static Tab create()
creates a new instance of the class Tab


create

public static Tab create(String idOrConfig)
creates a new instance of the class Tab

Parameters:
id - id of the Tab or configuration JSON string

create

public static Tab create(String id,
                         String config)
creates a new instance of the class Tab

Parameters:
id - id of the Tab
config - configuration JSON string

getVerticalScrolling

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

Returns:
the value of property verticalScrolling

setVerticalScrolling

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

Parameters:
value - com.sap.ui.core.client.Scrolling
Returns:
this to allow method chaining

getHorizontalScrolling

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

Returns:
the value of property horizontalScrolling

setHorizontalScrolling

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

Parameters:
value - com.sap.ui.core.client.Scrolling
Returns:
this to allow method chaining

isClosable

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

Returns:
the value of property closable

setClosable

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

Parameters:
value - boolean
Returns:
this to allow method chaining

isSelected

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

Setter for property selected
Default value is: false

Parameters:
value - boolean
Returns:
this to allow method chaining


Copyright © 2011 SAP. All Rights Reserved.