ants.move.core.views.banner
Class BannerView
java.lang.Object
|
+--ants.move.core.views.DynamicObject
|
+--ants.move.core.views.banner.BannerView
- All Implemented Interfaces:
- BannerListener, ViewInterface, VRMLEventListener
- public class BannerView
- extends DynamicObject
- implements ViewInterface, BannerListener, VRMLEventListener
Implementation of DynamicObject banner.
- Version:
- 1.70 Build 2000
- Author:
- Carles Pairot (cpairot@tinet.org), Oriol Montalà (omontala@tinet.org)
Constructor Summary |
BannerView()
Sole & void constructor. |
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 |
BannerView
public BannerView()
- Sole & void constructor. Used when newInstance() method is called.
- Parameters:
params
- None- Throws:
exceptions
- No exceptions thrown
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()
setImage
public void setImage(java.lang.String picture)
- Description copied from interface:
BannerListener
- Set active banner image
- Specified by:
setImage
in interface BannerListener
- Following copied from interface:
ants.move.core.models.banner.BannerListener
- Parameters:
url
- image
getModel
public BannerModel getModel()
destroy
public void destroy()
- Description copied from interface:
BannerListener
- Destroy
- Specified by:
destroy
in interface BannerListener
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