com.trolltech.qt.core
Class Qt.WindowState

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.core.Qt.WindowState
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing interface:
Qt

public static final class Qt.WindowState
extends java.lang.Enum
implements QtEnumerator

This enum type is used to specify the current state of a top-level window.

The states are

See Also:
Serialized Form

Field Summary
static Qt.WindowState WindowActive
          The window is the active window, i.e.
static Qt.WindowState WindowFullScreen
          The window fills the entire screen without any frame around it.
static Qt.WindowState WindowMaximized
          The window is maximized with a frame around it.
static Qt.WindowState WindowMinimized
          The window is minimized (i.e.
static Qt.WindowState WindowNoState
          The window has no state set (in normal state).
 
Method Summary
static Qt.WindowStates createQFlags(Qt.WindowState[] values)
          This function creates a com.trolltech.qt.core.Qt$WindowStates with the specified com.trolltech.qt.core.Qt$WindowState[] Qt$WindowState values set.
static Qt.WindowState resolve(int value)
          Returns the Qt$WindowState 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 Qt.WindowState valueOf(java.lang.String name)
           
static Qt.WindowState[] 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

WindowNoState

public static final Qt.WindowState WindowNoState
The window has no state set (in normal state).


WindowMinimized

public static final Qt.WindowState WindowMinimized
The window is minimized (i.e. iconified).


WindowMaximized

public static final Qt.WindowState WindowMaximized
The window is maximized with a frame around it.


WindowFullScreen

public static final Qt.WindowState WindowFullScreen
The window fills the entire screen without any frame around it.


WindowActive

public static final Qt.WindowState WindowActive
The window is the active window, i.e. it has keyboard focus.

Method Detail

values

public static Qt.WindowState[] values()

valueOf

public static Qt.WindowState 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

createQFlags

public static Qt.WindowStates createQFlags(Qt.WindowState[] values)
This function creates a com.trolltech.qt.core.Qt$WindowStates with the specified com.trolltech.qt.core.Qt$WindowState[] Qt$WindowState values set.


resolve

public static Qt.WindowState resolve(int value)
Returns the Qt$WindowState constant with the specified int.