Class AlgAnimApp
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----AlgAnimApp
- public class AlgAnimApp
- extends Applet
This class creates an applet on a java compliant web browser. There
is a single button on the applet, which will bring up a frame,
performing the corresponding algorithm animation.
This class is normally NOT TO BE CHANGED and is reuseable for any
animation algorithm.
The filename of the source code and the button label are
passed into this class from the
applet
tag in the HTML file.
-
start_button
- A awt button to bring up a frame.
-
AlgAnimApp()
- This constructor is not to be manually called.
-
action(Event, Object)
- The
start_button
action handling method, which is
automatically invoked when the button is pressed.
-
init()
- Applet initialization method, which creates the button attribute.
start_button
public Button start_button
- A awt button to bring up a frame. This button will be disabled once
the frame is created and will be enabled again when the frame is
destroy.
- See Also:
- AlgAnimFrame
AlgAnimApp
public AlgAnimApp()
- This constructor is not to be manually called. It inherits completely
the properties of the Applet class.
init
public void init()
- Applet initialization method, which creates the button attribute.
- Overrides:
- init in class Applet
action
public boolean action(Event e,
Object arg)
- The
start_button
action handling method, which is
automatically invoked when the button is pressed.
- Overrides:
- action in class Component