javax.media
类 SizeChangeEvent

java.lang.Object
  继承者 java.util.EventObject
      继承者 javax.media.MediaEvent
          继承者 javax.media.ControllerEvent
              继承者 javax.media.format.FormatChangeEvent
                  继承者 javax.media.SizeChangeEvent
所有已实现的接口:
java.io.Serializable

public class SizeChangeEvent
extends javax.media.format.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.

从以下版本开始:
JMF 2.0
另请参见:
序列化表格

字段摘要
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
 

字段详细信息

width

protected int width

height

protected int height

scale

protected float scale
构造方法详细信息

SizeChangeEvent

public SizeChangeEvent(Controller from,
                       int width,
                       int height,
                       float scale)
方法详细信息

getWidth

public int getWidth()
Get the new width of the video input.


getHeight

public int getHeight()
Get the new height of the video input.


getScale

public float getScale()
Get the new scale to which the video is being zoomed.