com.trolltech.qt.gui
Class QIcon.State
java.lang.Object
java.lang.Enum
com.trolltech.qt.gui.QIcon.State
- All Implemented Interfaces:
- QtEnumerator, java.io.Serializable, java.lang.Comparable
- Enclosing class:
- QIcon
public static final class QIcon.State
- extends java.lang.Enum
- implements QtEnumerator
This enum describes the state of a window. Most of the transitional states are set just before a call to QScreen::exposeRegion() and reset immediately afterwards.
See also:
state(), and QScreen::exposeRegion().
- See Also:
- Serialized Form
Method Summary |
static QIcon.State |
resolve(int value)
Returns the State 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 QIcon.State |
valueOf(java.lang.String name)
|
static QIcon.State[] |
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 |
On
public static final QIcon.State On
Off
public static final QIcon.State Off
values
public static QIcon.State[] values()
valueOf
public static QIcon.State 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 QIcon.State resolve(int value)
- Returns the State constant with the specified int.