ants.move.core.views.video
Class VideoView
java.lang.Object
|
+--ants.move.core.views.video.VideoView
- All Implemented Interfaces:
- VideoListener, ViewInterface, VRMLEventListener
- public class VideoView
- extends java.lang.Object
- implements ViewInterface, VideoListener, VRMLEventListener
Implementation of DynamicObject video.
- Version:
- 1.99 Build 2002
- Author:
- Carles Pairot (cpairot@tinet.org), Oriol Montalà (omontala@tinet.org)
Constructor Summary |
VideoView()
Sole & void constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VideoView
public VideoView()
- 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()
loadVideo
public void loadVideo()
- Description copied from interface:
VideoListener
- Load new video but don't play it
- Specified by:
loadVideo
in interface VideoListener
playVideo
public void playVideo(java.lang.String url)
- Description copied from interface:
VideoListener
- Play video
- Specified by:
playVideo
in interface VideoListener
- Following copied from interface:
ants.move.core.models.video.VideoListener
- Parameters:
url
- video source url
stopVideo
public void stopVideo()
- Description copied from interface:
VideoListener
- Stop video
- Specified by:
stopVideo
in interface VideoListener
getModel
public VideoModel getModel()
destroy
public void destroy()
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