Package 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>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLED
DONE
IDLE
PLAYING_FORWARD
PLAYING_REVERSE
READY
SUSPENDED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Timeline.TimelineState
valueOf(String name)
Returns the enum constant of this type with the specified name.static Timeline.TimelineState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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 nameNullPointerException
- if the argument is null
-
-