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.
-
CoordDemoApplet()
-
-
CoordDemoApplet(boolean)
-
-
action(Event, Object)
- Handle events within the applets user panel
-
displayMsg(String)
- Display a text message to the user.
-
init()
- Creates the user interface and initializes the applet
-
main(String[])
- If we run this class as an application, execution begins with this
method.
-
newViewable()
- Display a new viewable in the frame.
-
start()
- Things to be done after initialization.
-
stop()
-
CoordDemoApplet
public CoordDemoApplet()
CoordDemoApplet
public CoordDemoApplet(boolean isApplet)
main
public static void main(String argv[])
- If we run this class as an application, execution begins with this
method.
init
public void init()
- Creates the user interface and initializes the applet
- Overrides:
- init in class Applet
start
public void start()
- Things to be done after initialization.
- Overrides:
- start in class Applet
stop
public void stop()
- Overrides:
- stop in class Applet
displayMsg
public void displayMsg(String msg)
- Display a text message to the user.
- Parameters:
- msg - A string containing the message to display.
action
public boolean action(Event ev,
Object obj)
- Handle events within the applets user panel
- Overrides:
- action in class Component
newViewable
public void newViewable()
- Display a new viewable in the frame.
All Packages Class Hierarchy This Package Previous Next Index