FileDocCategorySizeDatePackage
SizeChangeEvent.javaAPI DocJMF 2.1.1e1042Mon May 12 12:20:38 BST 2003javax.media

SizeChangeEvent

public class SizeChangeEvent extends FormatChangeEvent
Event which indicates that the input video has changed in size and the video renderer needs to be resized to specified size. Also includes the scale to which the video is going to be zoomed.
since
JMF 2.0

Fields Summary
protected int
width
protected int
height
protected float
scale
Constructors Summary
public SizeChangeEvent(Controller from, int width, int height, float scale)

	super(from);
	this.width = width;
	this.height = height;
	this.scale = scale;
    
Methods Summary
public intgetHeight()
Get the new height of the video input.

	return height;
    
public floatgetScale()
Get the new scale to which the video is being zoomed.

	return scale;
    
public intgetWidth()
Get the new width of the video input.

	return width;