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

javax.media.SizeChangeEvent Maven / Gradle / Ivy

The newest version!
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy