Squeak Class Documentation category index | class index  
 
CompositeAnimation
  category: Balloon3D-Wonderland Time
  superclass: AbstractAnimation
  subclasses: ParallelAnimation SequentialAnimation

This class extends the basic Animation class for composite animations (animations built of other animations). It adds an instance variable for the component child animations, and a method for adding them to this collection.

instance methods
  initialization
  append:
initialize

  management
  prologue:

  private
  getComponents
scaleDuration:

  reversing
  reverseDirection

class methods
  initialization
  new

instance methods
  initialization top  
 

append:

Adds a child animation to the composite animation.


 

initialize

Creates an empty OrderedCollection for the child animations.


  management top  
 

prologue:

comment stating purpose of message


  private top  
 

getComponents

Return the component animations of the sequential animation


 

scaleDuration:

Scales the animation's duration by the specified amount


  reversing top  
 

reverseDirection

Changes the direction an animation runs in (forward or in reverse)


class methods
  initialization top  
 

new

Creates a new Composite animation and makes sure it gets initialized.