|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--javax.media.MediaEvent | +--javax.media.ControllerEvent | +--javax.media.format.FormatChangeEvent | +--javax.media.SizeChangeEvent
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.
Field Summary | |
protected int |
height
|
protected float |
scale
|
protected int |
width
|
Fields inherited from class javax.media.format.FormatChangeEvent |
newFormat,
oldFormat |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
SizeChangeEvent(Controller from,
int width,
int height,
float scale)
|
Method Summary | |
int |
getHeight()
Get the new height of the video input. |
float |
getScale()
Get the new scale to which the video is being zoomed. |
int |
getWidth()
Get the new width of the video input. |
Methods inherited from class javax.media.format.FormatChangeEvent |
getNewFormat,
getOldFormat |
Methods inherited from class javax.media.ControllerEvent |
getSource,
getSourceController,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected int width
protected int height
protected float scale
Constructor Detail |
public SizeChangeEvent(Controller from, int width, int height, float scale)
Method Detail |
public int getWidth()
public int getHeight()
public float getScale()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |