|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QTimeLine.State>
com.trolltech.qt.core.QTimeLine.State
public static enum QTimeLine.State
This enum describes the state of the timeline.
Enum Constant Summary | |
---|---|
NotRunning
The timeline is not running. |
|
Paused
The timeline is paused (i.e., temporarily suspended). |
|
Running
The timeline is running. |
Method Summary | |
---|---|
static QTimeLine.State |
resolve(int value)
|
int |
value()
|
static QTimeLine.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QTimeLine.State[] |
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 QTimeLine.State NotRunning
The timeline is not running. This is the initial state of QTimeLine, and the state QTimeLine reenters when finished. The current time, frame and value remain unchanged until either setCurrentTime is called, or the timeline is started by calling start.
public static final QTimeLine.State Paused
The timeline is paused (i.e., temporarily suspended). Calling setPaused(false) will resume timeline activity.
public static final QTimeLine.State Running
The timeline is running. While control is in the event loop, QTimeLine will update its current time at regular intervals, emitting valueChanged and frameChanged when appropriate.
Method Detail |
---|
public static final QTimeLine.State[] values()
for(QTimeLine.State c : QTimeLine.State.values()) System.out.println(c);
public static QTimeLine.State 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 QTimeLine.State resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |