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

javax.media.format.FormatChangeEvent Maven / Gradle / Ivy

The newest version!
package javax.media.format;

import javax.media.*;

/**
 * Standard JMF class -- see this class in the JMF Javadoc. Complete.
 *
 * @author Ken Larson
 *
 */
public class FormatChangeEvent extends ControllerEvent
{
    protected Format oldFormat;
    protected Format newFormat;

    public FormatChangeEvent(Controller source)
    {
        super(source);
    }

    public FormatChangeEvent(Controller source, Format oldFormat,
            Format newFormat)
    {
        super(source);
        this.oldFormat = oldFormat;
        this.newFormat = newFormat;
    }

    public Format getNewFormat()
    {
        return newFormat;
    }

    public Format getOldFormat()
    {
        return oldFormat;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy