com.trolltech.qt.phonon
Class Phonon.State

java.lang.Object
  extended by java.lang.Enum
      extended by 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

Field Summary
static Phonon.State BufferingState
           
static Phonon.State ErrorState
           
static Phonon.State LoadingState
           
static Phonon.State PausedState
           
static Phonon.State PlayingState
           
static Phonon.State StoppedState
           
 
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
 

Field Detail

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
Method Detail

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.