ants.move.core.views.info
Class InfoView

java.lang.Object
  |
  +--ants.move.core.views.info.InfoView
All Implemented Interfaces:
InfoListener, ViewInterface, VRMLEventListener

public class InfoView
extends java.lang.Object
implements ViewInterface, InfoListener, VRMLEventListener

Implementation of information.

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

Constructor Summary
InfoView()
          Sole & void constructor.
 
Method Summary
 void destroy()
           
 void eventPerformed()
          Executed when a VRML Event is received.
 InfoModel getModel()
           
 void init(java.util.Hashtable ht)
          Initializes necessary parameters to use this class.
 void loadVRMLRepresentation()
           
 void setInfo(java.lang.String file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoView

public InfoView()
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. This is the way to implement a dynamicObject through DObjectInterface interface.
Specified by:
init in interface ViewInterface
Parameters:
ht - Parameters
Returns:
No return value
Throws:
exceptions - No exceptions thrown

loadVRMLRepresentation

public void loadVRMLRepresentation()

setInfo

public void setInfo(java.lang.String file)
Specified by:
setInfo in interface InfoListener

getModel

public InfoModel getModel()

destroy

public void destroy()
Specified by:
destroy in interface InfoListener

eventPerformed

public void eventPerformed()
Description copied from interface: VRMLEventListener
Executed when a VRML Event is received.
Specified by:
eventPerformed in interface VRMLEventListener
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