Class AnimationChunk

java.lang.Object
  |
  +--AnimationChunk
Direct Known Subclasses:
BehaviorChunk, MorphChunk

public abstract class AnimationChunk
extends java.lang.Object


Field Summary
(package private)  double duration
          Duration (in seconds) of this chunk.
(package private)  int index
          Index in the animation of this chunk, recomputed as necessary.
(package private)  double startTime
          Start time of this chunk, recomputed as necessary.
 
Constructor Summary
AnimationChunk()
           
 
Method Summary
abstract  ChunkDisplay getDisplay(AnimationEditor editor)
          Returns a new display appropriate for this chunk.
 double getDuration()
           
 void setDuration(double duration)
           
abstract  java.lang.String unparse()
          Serialize this chunk
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

duration

double duration
Duration (in seconds) of this chunk.

startTime

double startTime
Start time of this chunk, recomputed as necessary.

index

int index
Index in the animation of this chunk, recomputed as necessary.
Constructor Detail

AnimationChunk

public AnimationChunk()
Method Detail

setDuration

public void setDuration(double duration)

getDuration

public double getDuration()

getDisplay

public abstract ChunkDisplay getDisplay(AnimationEditor editor)
Returns a new display appropriate for this chunk.

unparse

public abstract java.lang.String unparse()
Serialize this chunk