com.trolltech.qt.gui
Class QStackedLayout.StackingMode

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

public static final class QStackedLayout.StackingMode
extends java.lang.Enum
implements QtEnumerator

This enum specifies how the layout handles its child widgets regarding their visibility.

See Also:
Serialized Form

Field Summary
static QStackedLayout.StackingMode StackAll
          All widgets are visible.
static QStackedLayout.StackingMode StackOne
          Only the current widget is visible.
 
Method Summary
static QStackedLayout.StackingMode resolve(int value)
          Returns the QStackedLayout$StackingMode 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 QStackedLayout.StackingMode valueOf(java.lang.String name)
           
static QStackedLayout.StackingMode[] 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

StackOne

public static final QStackedLayout.StackingMode StackOne
Only the current widget is visible. This is the default.


StackAll

public static final QStackedLayout.StackingMode StackAll
All widgets are visible. The current widget is merely raised.

Method Detail

values

public static QStackedLayout.StackingMode[] values()

valueOf

public static QStackedLayout.StackingMode 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 QStackedLayout.StackingMode resolve(int value)
Returns the QStackedLayout$StackingMode constant with the specified int.