javax.media.CachingControlEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
package javax.media;
/**
* Standard JMF class -- see this class in the JMF Javadoc. Complete.
*
* @author Ken Larson
*
*/
public class CachingControlEvent extends ControllerEvent
{
CachingControl cachingControl;
long progress;
public CachingControlEvent(Controller from, CachingControl cachingControl,
long progress)
{
super(from);
this.cachingControl = cachingControl;
this.progress = progress;
}
public CachingControl getCachingControl()
{
return cachingControl;
}
public long getContentProgress()
{
return progress;
}
@Override
public String toString()
{
return getClass().getName() + "[source=" + getSource()
+ ",cachingControl=" + cachingControl + ",progress=" + progress
+ "]";
}
}