FileDocCategorySizeDatePackage
GainChangeEvent.javaAPI DocJMF 2.1.1e1863Mon May 12 12:20:36 BST 2003javax.media

GainChangeEvent

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.
see
GainControl
see
GainChangeListener
version
1.3, 02/08/21

Fields Summary
GainControl
eventSrc
boolean
newMute
float
newDB
float
newLevel
Constructors Summary
public GainChangeEvent(GainControl from, boolean mute, float dB, float level)

	super(from);
	eventSrc = from;
	newMute = mute;
	newDB = dB;
	newLevel = level;
    
Methods Summary
public floatgetDB()
Get the GainControl's new gain value in dB.

return
The GainControl's new gain value, in dB.

	return newDB;
    
public floatgetLevel()
Get the GainControl's new gain value in the level scale.

return
The GainControl's new gain, in the level scale.

	return newLevel;
    
public booleangetMute()
Get the GainControl's new mute value.

return
The GainControl's new mute value.

	return newMute;
    
public java.lang.ObjectgetSource()
Get the object that posted this event.

return
The object that posted this event.

	 return eventSrc;
     
public javax.media.GainControlgetSourceGainControl()
Get the GainControl that posted this event.

return
The GainControl that posted this event.

	return eventSrc;