Enum Timeline.TimelineState
- java.lang.Object
-
- java.lang.Enum<Timeline.TimelineState>
-
- org.pushingpixels.radiance.animation.api.Timeline.TimelineState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Timeline.TimelineState>
- Enclosing class:
- Timeline
public static enum Timeline.TimelineState extends java.lang.Enum<Timeline.TimelineState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLED
DONE
IDLE
PLAYING_FORWARD
PLAYING_REVERSE
READY
SUSPENDED
-
Field Summary
Fields Modifier and Type Field Description private boolean
isActive
-
Constructor Summary
Constructors Modifier Constructor Description private
TimelineState(boolean isActive)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Timeline.TimelineState
valueOf(java.lang.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(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-