ants.move.core.views.videoStream
Class VideoStreamView

java.lang.Object
  |
  +--ants.move.core.views.videoStream.VideoStreamView
All Implemented Interfaces:
VideoStreamListener, ViewInterface, VRMLEventListener

public class VideoStreamView
extends java.lang.Object
implements ViewInterface, VideoStreamListener, VRMLEventListener

Implementation of video stream2.

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

Constructor Summary
VideoStreamView()
          Sole & void constructor.
 
Method Summary
 void destroy()
          Destroy method
 void eventPerformed()
          Executed when a VRML Event is received.
 VideoStreamModel 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

VideoStreamView

public VideoStreamView()
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: VideoStreamListener
Bind a URL
Specified by:
setVideoStream in interface VideoStreamListener
Following copied from interface: ants.move.core.models.videoStream.VideoStreamListener
Parameters:
url - URL of videoStream

getModel

public VideoStreamModel getModel()

destroy

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

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