Class apps.CoordDemo.CoordDemoApplet
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class apps.CoordDemo.CoordDemoApplet

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----apps.CoordDemo.CoordDemoApplet

public class CoordDemoApplet
extends Applet
This applet demonstrates the use of the coordinate related-classes through the use of the PosTrackerViewer.

Constructor Index

 o CoordDemoApplet()
 o CoordDemoApplet(boolean)

Method Index

 o action(Event, Object)
Handle events within the applets user panel
 o displayMsg(String)
Display a text message to the user.
 o init()
Creates the user interface and initializes the applet
 o main(String[])
If we run this class as an application, execution begins with this method.
 o newViewable()
Display a new viewable in the frame.
 o start()
Things to be done after initialization.
 o stop()

Constructors

 o CoordDemoApplet
  public CoordDemoApplet()
 o CoordDemoApplet
  public CoordDemoApplet(boolean isApplet)

Methods

 o main
  public static void main(String argv[])
If we run this class as an application, execution begins with this method.
 o init
  public void init()
Creates the user interface and initializes the applet
Overrides:
init in class Applet
 o start
  public void start()
Things to be done after initialization.
Overrides:
start in class Applet
 o stop
  public void stop()
Overrides:
stop in class Applet
 o displayMsg
  public void displayMsg(String msg)
Display a text message to the user.
Parameters:
msg - A string containing the message to display.
 o action
  public boolean action(Event ev,
                        Object obj)
Handle events within the applets user panel
Overrides:
action in class Component
 o newViewable
  public void newViewable()
Display a new viewable in the frame.

All Packages  Class Hierarchy  This Package  Previous  Next  Index