edu.cmu.hcii.calo.view.animation.AnimationTimer Class Reference

Collaboration diagram for edu.cmu.hcii.calo.view.animation.AnimationTimer:

Collaboration graph
[legend]
List of all members.

Detailed Description

A subclass of Timer that keeps track of what Animation it is timing.

Author:
Brian Ellis


Public Member Functions

 AnimationTimer (int delay, ActionListener listener)
 Constructs an AnimationTimer.
Animation getAnimation ()
 Gets the Animation associated with this timer.
void setAnimation (Animation a)
 Sets the Animation associated with this timer.

Private Attributes

Animation animation
 The Animation this Timer is timing.


Constructor & Destructor Documentation

edu.cmu.hcii.calo.view.animation.AnimationTimer.AnimationTimer ( int  delay,
ActionListener  listener 
)

Constructs an AnimationTimer.

Parameters:
delay how often the timer fires
listener what object should be notified when the timer fires
See also:
javax.swing.Timer.Timer(int, ActionListener)


Member Function Documentation

Animation edu.cmu.hcii.calo.view.animation.AnimationTimer.getAnimation (  ) 

Gets the Animation associated with this timer.

Returns:
the Animation associated with this timer

void edu.cmu.hcii.calo.view.animation.AnimationTimer.setAnimation ( Animation  a  ) 

Sets the Animation associated with this timer.

Parameters:
a the Animation associated with this timer


Member Data Documentation

Animation edu.cmu.hcii.calo.view.animation.AnimationTimer.animation [private]

The Animation this Timer is timing.


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:24 2007 for CALO by  doxygen 1.5.2