All Packages Class Hierarchy This Package Previous Next Index
Class com.elegantchaos.beans.quicktime.TimeCallback
java.lang.Object
|
+----com.elegantchaos.beans.quicktime.TimeCallback
- public class TimeCallback
- extends java.lang.Object
- implements java.io.Serializable
The ECMovie bean allows you to play Quicktime movies, and provides access to most of the
movie's common display options.
- Version:
- 1.0
- Author:
- Sam Deane
-
TimeCallback.InternalTimeCallback
-
-
TimeCallback()
-
-
addMovieListener(MovieListener)
- call this method to add a listener for callback events
-
atTime(int)
- generate a MovieAtTime event
-
clearTarget()
- cancel the callback
-
getScale()
- return the time scale used by the callback
-
getTarget()
- return the object that the callback is watching
-
getTime()
- return the time that the callback will fire at
-
isOnce()
-
-
removeMovieListener(MovieListener)
- call this method to remove a listener registered with addMovieListener()
-
setOnce(boolean)
-
-
setScale(int)
- set the time scale used by the callback
-
setTarget(TimeCallbackListener)
- set the object that the callback is watching
-
setTime(int)
- set the time that the callback will fire at
TimeCallback
public TimeCallback()
clearTarget
public void clearTarget()
- cancel the callback
isOnce
public boolean isOnce()
setOnce
public void setOnce(boolean b) throws quicktime.QTException
getScale
public int getScale()
- return the time scale used by the callback
setScale
public void setScale(int scale) throws quicktime.QTException
- set the time scale used by the callback
getTarget
public com.elegantchaos.quicktime.TimeCallbackListener getTarget()
- return the object that the callback is watching
setTarget
public void setTarget(com.elegantchaos.quicktime.TimeCallbackListener target) throws quicktime.QTException
- set the object that the callback is watching
getTime
public int getTime()
- return the time that the callback will fire at
setTime
public void setTime(int time) throws quicktime.QTException
- set the time that the callback will fire at
addMovieListener
public synchronized void addMovieListener(com.elegantchaos.beans.quicktime.MovieListener al)
- call this method to add a listener for callback events
removeMovieListener
public synchronized void removeMovieListener(com.elegantchaos.beans.quicktime.MovieListener al)
- call this method to remove a listener registered with addMovieListener()
atTime
public void atTime(int time)
- generate a MovieAtTime event
All Packages Class Hierarchy This Package Previous Next Index