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

javax.media.RateChangeEvent 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 RateChangeEvent extends ControllerEvent
{
    float rate;

    public RateChangeEvent(Controller from, float newRate)
    {
        super(from);
        this.rate = newRate;
    }

    public float getRate()
    {
        return rate;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy