org.pushingpixels.trident
Enum Timeline.TimelineState

java.lang.Object
  extended by java.lang.Enum<Timeline.TimelineState>
      extended by 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
CANCELLED
           
DONE
           
IDLE
           
PLAYING_FORWARD
           
PLAYING_REVERSE
           
READY
           
SUSPENDED
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null