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

javax.media.MediaTimeSetEvent Maven / Gradle / Ivy

The newest version!
package javax.media;

/**
 * Standard JMF class -- see this class in the JMF Javadoc. Complete.
 *
 * @author Ken Larson
 *
 */
public class MediaTimeSetEvent extends ControllerEvent
{
    Time mediaTime;

    public MediaTimeSetEvent(Controller from, Time newMediaTime)
    {
        super(from);
        this.mediaTime = newMediaTime;
    }

    public Time getMediaTime()
    {
        return mediaTime;
    }

    @Override
    public String toString()
    {
        return getClass().getName() + "[source=" + getSource() + ",mediaTime="
                + mediaTime + "]";

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy