CachingControlEventpublic class CachingControlEvent extends ControllerEvent This event is generated by a Controller that supports
the CachingControl interface. It is posted when the caching
state changes. |
Fields Summary |
---|
CachingControl | control | long | progress |
Constructors Summary |
---|
public CachingControlEvent(Controller from, CachingControl cacheControl, long progress)Construct a CachingControlEvent from the required elements.
super(from);
control = cacheControl;
this.progress = progress;
|
Methods Summary |
---|
public javax.media.CachingControl | getCachingControl()Get the CachingControl object that generated
the event.
return control;
| public long | getContentProgress()Get the total number of bytes of media data that have been downloaded so far.
return progress;
| public java.lang.String | toString()Returns the String representation of this event's values.
return getClass().getName() + "[source=" + eventSrc +
",cachingControl=" + control +
",progress=" + progress + "]";
|
|