|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QMovie.MovieState>
com.trolltech.qt.gui.QMovie.MovieState
public static enum QMovie.MovieState
This enum describes the different states of QMovie.
Enum Constant Summary | |
---|---|
NotRunning
The movie is not running. |
|
Paused
The movie is paused, and QMovie stops emitting updated or resized. |
|
Running
The movie is running. |
Method Summary | |
---|---|
static QMovie.MovieState |
resolve(int value)
|
int |
value()
|
static QMovie.MovieState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QMovie.MovieState[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QMovie.MovieState NotRunning
The movie is not running. This is QMovie's initial state, and the state it enters after stop has been called or the movie is finished.
public static final QMovie.MovieState Paused
The movie is paused, and QMovie stops emitting updated or resized. This state is entered after calling pause() or setPaused(true). The current frame number it kept, and the movie will continue with the next frame when unpause() or setPaused(false) is called.
public static final QMovie.MovieState Running
The movie is running.
Method Detail |
---|
public static final QMovie.MovieState[] values()
for(QMovie.MovieState c : QMovie.MovieState.values()) System.out.println(c);
public static QMovie.MovieState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
value
in interface QtEnumerator
public static QMovie.MovieState resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |