Class apps.tests.TestBasicSelectionViewer
All Packages Class Hierarchy This Package Previous Next Index
Class apps.tests.TestBasicSelectionViewer
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----apps.tests.TestBasicSelectionViewer
- public class TestBasicSelectionViewer
- extends Applet
The main class for the test program for BasicSelectionViewer and ComputerGraphicsViewable.
-
TestBasicSelectionViewer()
-
-
action(Event, Object)
- Handle applet GUI events.
-
displayMsg(String)
- Display a text message to the user.
-
getAppletInfo()
- Provide information about this applet.
-
init()
- Creation and initialization of user interface components, etc.
-
main(String[])
- Main program for application entry point.
-
newViewable()
- Display a new viewable in the frame.
-
start()
- Things to be done after initialization.
TestBasicSelectionViewer
public TestBasicSelectionViewer()
main
public static void main(String argv[])
- Main program for application entry point.
- Parameters:
- argv - An array of Strings representing command line parameters
init
public void init()
- Creation and initialization of user interface components, etc.
- Overrides:
- init in class Applet
start
public void start()
- Things to be done after initialization.
- Overrides:
- start in class Applet
getAppletInfo
public String getAppletInfo()
- Provide information about this applet.
- Returns:
- A string containing information about this applet.
- Overrides:
- getAppletInfo in class Applet
displayMsg
public final static 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 applet GUI events.
- Parameters:
- ev - The event that caused the action.
- obj - The action.
- Returns:
- true if the event has been handled; false to pass it to parent.
- 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