Class chap4.ch4_fig13
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class chap4.ch4_fig13

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----chap4.ch4_fig13

public class ch4_fig13
extends Applet
A simple app that plays tunes at the four different stops along the applet execution trail - init, start, stop, and destroy. The parameters:

Method Index

 o destroy()
Play the destroy clip.
 o getAppletInfo()
Tell anyone who might inquire what we are.
 o getParameterInfo()
Tell anyone who might inquire how to use this applet.
 o init()
Connect to the URLs specified by the StartClip and EndClip parameters in the applet tag.
 o start()
Whenever a user visits our page, the browser calls this.
 o stop()
Whenever the user leaves our page, this gets called.

Methods

 o start
  public void start()
Whenever a user visits our page, the browser calls this. This is an override of an Applet method..
Overrides:
start in class Applet
 o stop
  public void stop()
Whenever the user leaves our page, this gets called. Another override of an Applet method.
Overrides:
stop in class Applet
 o getAppletInfo
  public String getAppletInfo()
Tell anyone who might inquire what we are.
Returns:
A string describing this applet.
Overrides:
getAppletInfo in class Applet
 o getParameterInfo
  public String[][] getParameterInfo()
Tell anyone who might inquire how to use this applet.
Returns:
A 2d string array describing the arguments to this applet.
Overrides:
getParameterInfo in class Applet
 o destroy
  public void destroy()
Play the destroy clip.
Overrides:
destroy in class Applet
 o init
  public void init()
Connect to the URLs specified by the StartClip and EndClip parameters in the applet tag.
Overrides:
init in class Applet

All Packages  Class Hierarchy  This Package  Previous  Next  Index