Class VRMLApplet
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----VRMLApplet
- public class VRMLApplet
- extends Applet
This Applet controls a VRML world.
The VRML world is expected as an embedded object on the same
HTML page. This applet opens a separate window to control that
VRML world.
-
appletCtrl
- The controller of the control window.
-
appletView
- The view of the control window.
-
btnOpenControlWin
- The button to view the control window.
-
model
- The model of the VRML world.
-
vrmlCtrl
- The controller of the VRML world.
-
vrmlView
- The view of the VRML world.
-
VRMLApplet()
- Creates this applet.
-
action(Event, Object)
- Event handler.
-
destroy()
- Called by the browser before this applet is destroyed.
-
finalize()
- Called by the garbage collector before freeing this applet.
-
init()
- Called by the browser after this applet is loaded.
-
start()
- Called by the browser if this applet should start execution.
-
stop()
- Called by the browser if this applet should stop execution.
model
Model model
- The model of the VRML world.
appletCtrl
AppletController appletCtrl
- The controller of the control window.
appletView
AppletView appletView
- The view of the control window.
vrmlCtrl
VRMLController vrmlCtrl
- The controller of the VRML world.
vrmlView
VRMLView vrmlView
- The view of the VRML world.
btnOpenControlWin
Button btnOpenControlWin
- The button to view the control window.
VRMLApplet
public VRMLApplet()
- Creates this applet.
Empty method.
init
public void init()
- Called by the browser after this applet is loaded.
- Overrides:
- init in class Applet
start
public void start()
- Called by the browser if this applet should start execution.
Initializes the model, applet and VRML controller and views
and opens the control panel.
- Overrides:
- start in class Applet
stop
public void stop()
- Called by the browser if this applet should stop execution.
Closes the control panel.
- Overrides:
- stop in class Applet
destroy
public void destroy()
- Called by the browser before this applet is destroyed.
Empty method.
- Overrides:
- destroy in class Applet
finalize
protected void finalize()
- Called by the garbage collector before freeing this applet.
Empty method.
- Overrides:
- finalize in class Object
action
public boolean action(Event event,
Object object)
- Event handler. Forwards event to the applet controller.
- Overrides:
- action in class Component