All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.set.AnimatedButtonA

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

public class AnimatedButtonA
extends BaseA
implements Runnable
AnimatedButtonA is an applet version of AnimatedButton widget. It contains the same functionality as AnimatedButton widget. But instead of having to be used inside a Java program, it can be used standalone in HTML pages. AnimatedButtonA supports the following parameters:
AnimatedButton.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 with the number appended will terminated the frame sequence. For example, if parameter for AnimatedButton.IMAGE0 throught AnimatedButton.IMAGE7 are supplied, and AnimatedButton.IMAGE8 is missing, only the first eight frames will be used even there are other AnimatedButton.IMAGE parameters.
AnimatedButton.DELAY
delay between animation frames, in mini-seconds.
ImageButton.TOGGLE
TRUE if the button should behave like a toggle button.
AnimatedButton.URL
nn URL to display when this button is pressed.
AnimatedButton.TARGET
the target frame to display the URL page. If this parameter is missing, _self is assumed. This parameter is used to support frames.
AnimatedButton.LABEL
a string as button label. If AnimatedButton.POSITION parameter is missing, the label is placed below the image by default.
AnimatedButton.POSITION
one of the ImageButton label position options: LEFT, RIGHT, TOP, BOTTOM.

See Also:
AnimatedButton

Constructor Index

 o AnimatedButtonA()

Method Index

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

Constructors

 o AnimatedButtonA
 public AnimatedButtonA()

Methods

 o init
 public void init()
Applet initialization routine.

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:
AnimatedButton widget.
Overrides:
getWidget in class BaseA

All Packages  Class Hierarchy  This Package  Previous  Next  Index