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.


Variable Index

 o appletCtrl
The controller of the control window.
 o appletView
The view of the control window.
 o btnOpenControlWin
The button to view the control window.
 o model
The model of the VRML world.
 o vrmlCtrl
The controller of the VRML world.
 o vrmlView
The view of the VRML world.

Constructor Index

 o VRMLApplet()
Creates this applet.

Method Index

 o action(Event, Object)
Event handler.
 o destroy()
Called by the browser before this applet is destroyed.
 o finalize()
Called by the garbage collector before freeing this applet.
 o init()
Called by the browser after this applet is loaded.
 o start()
Called by the browser if this applet should start execution.
 o stop()
Called by the browser if this applet should stop execution.

Variables

 o model
 Model model
The model of the VRML world.

 o appletCtrl
 AppletController appletCtrl
The controller of the control window.

 o appletView
 AppletView appletView
The view of the control window.

 o vrmlCtrl
 VRMLController vrmlCtrl
The controller of the VRML world.

 o vrmlView
 VRMLView vrmlView
The view of the VRML world.

 o btnOpenControlWin
 Button btnOpenControlWin
The button to view the control window.

Constructors

 o VRMLApplet
 public VRMLApplet()
Creates this applet. Empty method.

Methods

 o init
 public void init()
Called by the browser after this applet is loaded.

Overrides:
init in class Applet
 o 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
 o stop
 public void stop()
Called by the browser if this applet should stop execution. Closes the control panel.

Overrides:
stop in class Applet
 o destroy
 public void destroy()
Called by the browser before this applet is destroyed. Empty method.

Overrides:
destroy in class Applet
 o finalize
 protected void finalize()
Called by the garbage collector before freeing this applet. Empty method.

Overrides:
finalize in class Object
 o action
 public boolean action(Event event,
                       Object object)
Event handler. Forwards event to the applet controller.

Overrides:
action in class Component