javax.media
类 GainChangeEvent

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

public class GainChangeEvent
extends MediaEvent

A GainChangeEvent is posted by a GainControl when its state has been updated.

Java Beans support

Any implementation of this object is required to be subclassed from either java.util.EventObject or sunw.util.EventObject.

另请参见:
GainControl, GainChangeListener, 序列化表格

字段摘要
 
从类 java.util.EventObject 继承的字段
source
 
构造方法摘要
GainChangeEvent(GainControl from, boolean mute, float dB, float level)
           
 
方法摘要
 float getDB()
          Get the GainControl's new gain value in dB.
 float getLevel()
          Get the GainControl's new gain value in the level scale.
 boolean getMute()
          Get the GainControl's new mute value.
 java.lang.Object getSource()
          Get the object that posted this event.
 GainControl getSourceGainControl()
          Get the GainControl that posted this event.
 
从类 java.util.EventObject 继承的方法
toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

GainChangeEvent

public GainChangeEvent(GainControl from,
                       boolean mute,
                       float dB,
                       float level)
方法详细信息

getSource

public java.lang.Object getSource()
Get the object that posted this event.

覆盖:
java.util.EventObject 中的 getSource
返回:
The object that posted this event.

getSourceGainControl

public GainControl getSourceGainControl()
Get the GainControl that posted this event.

返回:
The GainControl that posted this event.

getDB

public float getDB()
Get the GainControl's new gain value in dB.

返回:
The GainControl's new gain value, in dB.

getLevel

public float getLevel()
Get the GainControl's new gain value in the level scale.

返回:
The GainControl's new gain, in the level scale.

getMute

public boolean getMute()
Get the GainControl's new mute value.

返回:
The GainControl's new mute value.