javax.media.SizeChangeEvent Maven / Gradle / Ivy
package javax.media;
import javax.media.format.*;
/**
* Standard JMF class -- see this class in the JMF Javadoc. Complete.
*
* @author Ken Larson
*
*/
public class SizeChangeEvent extends FormatChangeEvent
{
protected int height;
protected float scale;
protected int width;
public SizeChangeEvent(Controller from, int width, int height, float scale)
{
super(from);
this.width = width;
this.height = height;
this.scale = scale;
}
public int getHeight()
{
return height;
}
public float getScale()
{
return scale;
}
public int getWidth()
{
return width;
}
}