org.pushingpixels.trident
Enum Timeline.TimelineState
java.lang.Object
java.lang.Enum<Timeline.TimelineState>
org.pushingpixels.trident.Timeline.TimelineState
- All Implemented Interfaces:
- Serializable, Comparable<Timeline.TimelineState>
- Enclosing class:
- Timeline
public static enum Timeline.TimelineState
- extends Enum<Timeline.TimelineState>
IDLE
public static final Timeline.TimelineState IDLE
READY
public static final Timeline.TimelineState READY
PLAYING_FORWARD
public static final Timeline.TimelineState PLAYING_FORWARD
PLAYING_REVERSE
public static final Timeline.TimelineState PLAYING_REVERSE
SUSPENDED
public static final Timeline.TimelineState SUSPENDED
CANCELLED
public static final Timeline.TimelineState CANCELLED
DONE
public static final Timeline.TimelineState DONE
values
public static Timeline.TimelineState[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Timeline.TimelineState c : Timeline.TimelineState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Timeline.TimelineState valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null