All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class improv.util.VRMLManager

java.lang.Object
   |
   +----improv.util.VRMLManager

public final class VRMLManager
extends Object
implements EventOutObserver, ImprovObserver
The VRMLManager object reads in a set of VRML nodes through the EAI and generate a set of Improv Actors from those nodes. The VRMLManager also manages communication between the VRML scene and Improv.


Constructor Index

 o VRMLManager(Browser, Applet)
The Basic Constructor
 o VRMLManager(Browser, Applet, int)
Because of differences in the behavior of Cosmo Player between Netscape versions 3 and 4, the version flag is used to ensure proper behavior from Improv.

Method Index

 o callback(EventOut, double, Object)
Implemented as part of the EventOutObserver interface.
 o getActor(int)
 o getActor(String)
 o getActors()
 o getNumberOfActors()
 o handleImprovEvent(ImprovEvent)
Implemented as part of the ImprovObserver interface.
 o initVrml()
 o isInitialized()
 o setBehavior(String, String)
 o setProperty(String, String, float)

Constructors

 o VRMLManager
 public VRMLManager(Browser b,
                    Applet a)
The Basic Constructor

 o VRMLManager
 public VRMLManager(Browser b,
                    Applet a,
                    int version)
Because of differences in the behavior of Cosmo Player between Netscape versions 3 and 4, the version flag is used to ensure proper behavior from Improv.

Methods

 o setBehavior
 public void setBehavior(String actor,
                         String state)
 o setProperty
 public void setProperty(String actor,
                         String property,
                         float value)
 o getActors
 public Actor[] getActors()
 o getActor
 public Actor getActor(String actorName)
 o getActor
 public Actor getActor(int i)
 o getNumberOfActors
 public int getNumberOfActors()
 o initVrml
 public void initVrml()
 o isInitialized
 public boolean isInitialized()
 o handleImprovEvent
 public void handleImprovEvent(ImprovEvent evt)
Implemented as part of the ImprovObserver interface. This is called by any ImprovObservable object to which this VRMLManager is an observer. This is usually not called directly, but is used by Improv to update the VRML scene.

 o callback
 public void callback(EventOut evt,
                      double d,
                      Object o)
Implemented as part of the EventOutObserver interface. This is called in response to changes in eventOut field values in the Improv VRML Nodes.


All Packages  Class Hierarchy  This Package  Previous  Next  Index