ants.move.core.views.simulation3D
Class Simulation3DView

java.lang.Object
  |
  +--ants.move.core.views.DynamicObject
        |
        +--ants.move.core.views.simulation3D.Simulation3DView
All Implemented Interfaces:
Simulation3DListener, ViewInterface, VRMLEventListener

public class Simulation3DView
extends DynamicObject
implements Simulation3DListener, ViewInterface, VRMLEventListener

Implementation of DynamicObject Simulation3D.

Version:
1.80 Build 2000
Author:
Carles Pairot (cpairot@tinet.org), Oriol Montalà (omontala@tinet.org)

Constructor Summary
Simulation3DView()
          Sole & void constructor.
 
Method Summary
 void createSimulation(java.lang.String url)
          Create new Simulation3d
 void eventPerformed()
          Executed when a VRML Event is received.
 Simulation3DModel getModel()
           
 void init(java.util.Hashtable ht)
          Initializes necessary parameters to use this class.
 void moveSimulation(java.lang.String values)
          Move simulation3d
 void removeSimulation()
          Remove simulation3d
 void scaleSimulation(java.lang.String values)
          Scale simulation3d
 
Methods inherited from class ants.move.core.views.DynamicObject
addListener, catchNode, getBrowser, getName, getNode, getVRMLNodeName, getZone, getZoneName, printMsg, setaddChValue, setaddChValue, setBrowser, setChNodes, setName, setreChValue, setreChValue, setVRMLNodeName, setZoneName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simulation3DView

public Simulation3DView()
Sole & void constructor. Used when newInstance() method is called.
Parameters:
params - None
Throws:
exceptions - No exceptions thrown
Method Detail

init

public void init(java.util.Hashtable ht)
Initializes necessary parameters to use this class.
Specified by:
init in interface ViewInterface
Returns:
No return value
Throws:
exceptions - No exceptions thrown

createSimulation

public void createSimulation(java.lang.String url)
Description copied from interface: Simulation3DListener
Create new Simulation3d
Specified by:
createSimulation in interface Simulation3DListener
Following copied from interface: ants.move.core.models.simulation3D.Simulation3DListener
Parameters:
url - simulation3d source url

removeSimulation

public void removeSimulation()
Description copied from interface: Simulation3DListener
Remove simulation3d
Specified by:
removeSimulation in interface Simulation3DListener

moveSimulation

public void moveSimulation(java.lang.String values)
Description copied from interface: Simulation3DListener
Move simulation3d
Specified by:
moveSimulation in interface Simulation3DListener
Following copied from interface: ants.move.core.models.simulation3D.Simulation3DListener
Parameters:
values -  

scaleSimulation

public void scaleSimulation(java.lang.String values)
Description copied from interface: Simulation3DListener
Scale simulation3d
Specified by:
scaleSimulation in interface Simulation3DListener
Following copied from interface: ants.move.core.models.simulation3D.Simulation3DListener
Parameters:
values -  

getModel

public Simulation3DModel getModel()

eventPerformed

public void eventPerformed()
Description copied from interface: VRMLEventListener
Executed when a VRML Event is received.
Specified by:
eventPerformed in interface VRMLEventListener
Overrides:
eventPerformed in class DynamicObject
Following copied from interface: ants.move.core.views.VRMLEventListener
Parameters:
params - None
Returns:
No return value
Throws:
exceptions - No exceptions thrown


Developers: Oriol Montala, Carles Pairot, Francesc Pinas2000 - 2002
Departament d'Enginyeria Informatica i Matematiques
Escola Tecnica Superior d'Enginyeria
Universitat Rovira i Virgili