All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class demo.jcsp.AnimationController

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----jcsp.awt.ActivePanel
                                   |
                                   +----demo.jcsp.AnimationController

public class AnimationController
extends ActivePanel

Process Diagram

External View

  ________________________
 |                        |
 |  AnimiationController  |
 |________________________|
 

Internal View

  ___________________________________________________
 |  _____________________         _________________  |
 | |                     |       |                 | |
 | | ActiveImageAnimator |-+   +-| ActiveScrollbar | |
 | |_____________________| |   | |_________________| |
 |           |             |   |                     |
 |           |   direction V   V speed               |
 |           |             |   |                     |
 |           |          ___|___|____                 |
 |           |         |            |                |
 |           +----<----| Controller |                |
 |             control |____________|                |
 |                                                   |
 |                              AnimiationController |
 |___________________________________________________|
 

Description

The AnimationController class provides a simple mechanism for controlling the speed and direction of an ActiveImageAnimator. There are three CSProcess's; ActiveImageAnimator (the actual animation), ActiveScrollBar (to control the speed) and Controller (to control the animation).

Author:
P.D.Austin

Constructor Index

 o AnimationController(Image[])

Constructors

 o AnimationController
 public AnimationController(Image images[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index