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

javax.media.DurationUpdateEvent 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 DurationUpdateEvent extends ControllerEvent
{
    Time duration;

    public DurationUpdateEvent(Controller from, Time newDuration)
    {
        super(from);
        this.duration = newDuration;
    }

    public Time getDuration()
    {
        return duration;
    }

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

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy