|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object java.util.EventObject javax.media.MediaEvent javax.media.ControllerEvent javax.media.format.FormatChangeEvent javax.media.SizeChangeEvent
public class 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.
字段摘要 | |
---|---|
protected int |
height
|
protected float |
scale
|
protected int |
width
|
从类 javax.media.format.FormatChangeEvent 继承的字段 |
---|
newFormat, oldFormat |
从类 java.util.EventObject 继承的字段 |
---|
source |
构造方法摘要 | |
---|---|
SizeChangeEvent(Controller from,
int width,
int height,
float scale)
|
方法摘要 | |
---|---|
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. |
从类 javax.media.format.FormatChangeEvent 继承的方法 |
---|
getNewFormat, getOldFormat |
从类 javax.media.ControllerEvent 继承的方法 |
---|
getSource, getSourceController, toString |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
protected int width
protected int height
protected float scale
构造方法详细信息 |
---|
public SizeChangeEvent(Controller from, int width, int height, float scale)
方法详细信息 |
---|
public int getWidth()
public int getHeight()
public float getScale()
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |