All Packages Class Hierarchy This Package Previous Next Index
Class javax.media.CachingControlEvent
java.lang.Object
|
+----javax.media.ControllerEvent
|
+----javax.media.CachingControlEvent
- public class CachingControlEvent
- extends ControllerEvent
This event is generated by a Controller that supports
the CachingControl interface. It is posted when the caching
state changes.
- Version:
- 1.10, 97/08/23.
- See Also:
- Controller, ControllerListener, CachingControl
-
CachingControlEvent(Controller, CachingControl, long)
- Construct a
CachingControlEvent from the required elements.
-
getCachingControl()
- Get the
CachingControl object that generated
the event.
-
getContentProgress()
- Get the total number of bytes of media data that have been downloaded so far.
CachingControlEvent
public CachingControlEvent(Controller from,
CachingControl cacheControl,
long progress)
- Construct a
CachingControlEvent from the required elements.
getCachingControl
public CachingControl getCachingControl()
- Get the
CachingControl object that generated
the event.
- Returns:
- The
CachingControl object.
getContentProgress
public long getContentProgress()
- Get the total number of bytes of media data that have been downloaded so far.
- Returns:
- The number of bytes of media data downloaded.
All Packages Class Hierarchy This Package Previous Next Index