com.trolltech.qt.gui
Class QTabBar.SelectionBehavior

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QTabBar.SelectionBehavior
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QTabBar

public static final class QTabBar.SelectionBehavior
extends java.lang.Enum
implements QtEnumerator

This enum type lists the behavior of QTabBar when a tab is removed and the tab being removed is also the current tab.

See Also:
Serialized Form

Field Summary
static QTabBar.SelectionBehavior SelectLeftTab
          Select the tab to the left of the one being removed.
static QTabBar.SelectionBehavior SelectPreviousTab
          Select the previously selected tab.
static QTabBar.SelectionBehavior SelectRightTab
          Select the tab to the right of the one being removed.
 
Method Summary
static QTabBar.SelectionBehavior resolve(int value)
          Returns the QTabBar$SelectionBehavior constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QTabBar.SelectionBehavior valueOf(java.lang.String name)
           
static QTabBar.SelectionBehavior[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SelectLeftTab

public static final QTabBar.SelectionBehavior SelectLeftTab
Select the tab to the left of the one being removed.


SelectRightTab

public static final QTabBar.SelectionBehavior SelectRightTab
Select the tab to the right of the one being removed.


SelectPreviousTab

public static final QTabBar.SelectionBehavior SelectPreviousTab
Select the previously selected tab.

Method Detail

values

public static QTabBar.SelectionBehavior[] values()

valueOf

public static QTabBar.SelectionBehavior valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QTabBar.SelectionBehavior resolve(int value)
Returns the QTabBar$SelectionBehavior constant with the specified int.