com.trolltech.qt.phonon
Class Phonon.State
java.lang.Object
java.lang.Enum
com.trolltech.qt.phonon.Phonon.State
- All Implemented Interfaces:
- QtEnumerator, java.io.Serializable, java.lang.Comparable
- Enclosing class:
- Phonon
public static final class Phonon.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 Phonon.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 Phonon.State |
valueOf(java.lang.String name)
|
static Phonon.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 |
LoadingState
public static final Phonon.State LoadingState
StoppedState
public static final Phonon.State StoppedState
PlayingState
public static final Phonon.State PlayingState
BufferingState
public static final Phonon.State BufferingState
PausedState
public static final Phonon.State PausedState
ErrorState
public static final Phonon.State ErrorState
values
public static Phonon.State[] values()
valueOf
public static Phonon.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 Phonon.State resolve(int value)
- Returns the State constant with the specified int.