javax.media.ControllerEvent 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 ControllerEvent extends MediaEvent
{
Controller eventSrc;
public ControllerEvent(Controller from)
{
super(from);
eventSrc = from;
}
@Override
public Object getSource()
{
return eventSrc;
}
public Controller getSourceController()
{
return eventSrc;
}
@Override
public String toString()
{
return getClass().getName() + "[source=" + eventSrc + "]";
}
}