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

Class Index

 o TimeCallback.InternalTimeCallback

Constructor Index

 o TimeCallback()

Method Index

 o addMovieListener(MovieListener)
call this method to add a listener for callback events
 o atTime(int)
generate a MovieAtTime event
 o clearTarget()
cancel the callback
 o getScale()
return the time scale used by the callback
 o getTarget()
return the object that the callback is watching
 o getTime()
return the time that the callback will fire at
 o isOnce()
 o removeMovieListener(MovieListener)
call this method to remove a listener registered with addMovieListener()
 o setOnce(boolean)
 o setScale(int)
set the time scale used by the callback
 o setTarget(TimeCallbackListener)
set the object that the callback is watching
 o setTime(int)
set the time that the callback will fire at

Constructors

 o TimeCallback
 public TimeCallback()

Methods

 o clearTarget
 public void clearTarget()
cancel the callback

 o isOnce
 public boolean isOnce()
 o setOnce
 public void setOnce(boolean b) throws quicktime.QTException
 o getScale
 public int getScale()
return the time scale used by the callback

 o setScale
 public void setScale(int scale) throws quicktime.QTException
set the time scale used by the callback

 o getTarget
 public com.elegantchaos.quicktime.TimeCallbackListener getTarget()
return the object that the callback is watching

 o setTarget
 public void setTarget(com.elegantchaos.quicktime.TimeCallbackListener target) throws quicktime.QTException
set the object that the callback is watching

 o getTime
 public int getTime()
return the time that the callback will fire at

 o setTime
 public void setTime(int time) throws quicktime.QTException
set the time that the callback will fire at

 o addMovieListener
 public synchronized void addMovieListener(com.elegantchaos.beans.quicktime.MovieListener al)
call this method to add a listener for callback events

 o removeMovieListener
 public synchronized void removeMovieListener(com.elegantchaos.beans.quicktime.MovieListener al)
call this method to remove a listener registered with addMovieListener()

 o atTime
 public void atTime(int time)
generate a MovieAtTime event


All Packages  Class Hierarchy  This Package  Previous  Next  Index