javax.media.GainChangeEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
The newest version!
package javax.media;
/**
* Standard JMF class -- see this class in the JMF Javadoc. Complete.
*
* @author Ken Larson
*
*/
public class GainChangeEvent extends MediaEvent
{
GainControl eventSrc;
boolean newMute;
float newDB;
float newLevel;
public GainChangeEvent(GainControl from, boolean mute, float dB, float level)
{
super(from);
this.eventSrc = from;
this.newMute = mute;
this.newDB = dB;
this.newLevel = level;
}
public float getDB()
{
return newDB;
}
public float getLevel()
{
return newLevel;
}
public boolean getMute()
{
return newMute;
}
@Override
public Object getSource()
{
return eventSrc;
}
public GainControl getSourceGainControl()
{
return eventSrc;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy