All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.media.ControllerEvent Maven / Gradle / Ivy

There is a newer version: 1.0.2-jitsi
Show newest version
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 + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy