ants.move.core.views.videoStream2
Class VideoStream2View

java.lang.Object
  |
  +--ants.move.core.views.videoStream2.VideoStream2View
All Implemented Interfaces:
VideoStream2Listener, ViewInterface, VRMLEventListener

public class VideoStream2View
extends java.lang.Object
implements ViewInterface, VideoStream2Listener, VRMLEventListener

Implementation of video stream2.

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

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

Constructor Detail

VideoStream2View

public VideoStream2View()
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()

setVideoStream

public void setVideoStream(java.lang.String url)
Description copied from interface: VideoStream2Listener
Bind a URL
Specified by:
setVideoStream in interface VideoStream2Listener
Following copied from interface: ants.move.core.models.videoStream2.VideoStream2Listener
Parameters:
url - URL of videoStream2

getModel

public VideoStream2Model getModel()

destroy

public void destroy()
Description copied from interface: VideoStream2Listener
Destroy method
Specified by:
destroy in interface VideoStream2Listener

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