public class SpatialVis3DModule extends java.lang.Object implements VisualModule
| Constructor and Description | 
|---|
SpatialVis3DModule(java.lang.String name,
                  java.lang.String filePath)
Constructs a SpatialVix3DModule and load the decoration models into the
 scene. 
 | 
SpatialVis3DModule(java.lang.String name,
                  java.lang.String filePath,
                  boolean createFrame)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
createFrame(java.lang.String name)  | 
java.lang.String | 
getModuleName()
Gets the name of the VisualModule. 
 | 
void | 
handleEvent(VisualEvent event)
Handle the received event. 
 | 
void | 
registerNewVisualEventListener(VisualEventListener listener)
Registers a customized VisualEventListener to this module. 
 | 
void | 
removeVisualizationControl()
If a VisualizationControl is set, it will be removed from the module's
 local attribute by calling this method. 
 | 
void | 
setVisualizationControl(VisualizationControl visCon)
Saves the VisualizationControl this module as a local attribute. 
 | 
public SpatialVis3DModule(java.lang.String name,
                          java.lang.String filePath)
name - the name of this module.filePath - The file path to the XML-file, where the model data is
 specified.public SpatialVis3DModule(java.lang.String name,
                          java.lang.String filePath,
                          boolean createFrame)
public void createFrame(java.lang.String name)
public java.lang.String getModuleName()
VisualModulegetModuleName in interface VisualModulepublic void handleEvent(VisualEvent event)
VisualModulehandleEvent in interface VisualModuleevent - The event to be handled.public void setVisualizationControl(VisualizationControl visCon)
VisualModulesetVisualizationControl in interface VisualModulevisCon - The owner of this modulepublic void registerNewVisualEventListener(VisualEventListener listener)
listener - The listener to be registered.public void removeVisualizationControl()
VisualModuleremoveVisualizationControl in interface VisualModule