javax.media.format.FormatChangeEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
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