All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.set.AnimatorA

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----tea.set.BaseA
                                           |
                                           +----tea.set.AnimatorA

public class AnimatorA
extends BaseA
implements Runnable
AnimatorA is an applet version of Animator widget. It contains the same functionality as Animator widget. But instead of having to be used inside a Java program, it can be used standalone in HTML pages. AnimatorA supports the following parameters:
Animator.IMAGE$n
URL string pointing to the image frames for the animation sequence. A number starting from zero(0) is appended to the string to get the actual image name. The first missing parameter terminate the frame sequence.
Animator.DELAY
delay between animation frames, in mini-seconds.

See Also:
Animator

Constructor Index

 o AnimatorA()

Method Index

 o getWidget()
This method is overriden by actual applet to return the widget corresponding to this applet wrapper.
 o init()
Applet initialization method.
 o run()
Runnable run method.
 o start()
Start animation sequence.
 o stop()
Stop animation sequence..

Constructors

 o AnimatorA
 public AnimatorA()

Methods

 o init
 public void init()
Applet initialization method.

Overrides:
init in class Applet
 o start
 public void start()
Start animation sequence.

Overrides:
start in class Applet
 o run
 public void run()
Runnable run method.

 o stop
 public void stop()
Stop animation sequence..

Overrides:
stop in class Applet
 o getWidget
 public Component getWidget()
This method is overriden by actual applet to return the widget corresponding to this applet wrapper. User can use this method to access the underlying widget directly.

Returns:
Animator widget.
Overrides:
getWidget in class BaseA

All Packages  Class Hierarchy  This Package  Previous  Next  Index