All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface ejmf.toolkit.gui.controls.GainMeter

public interface GainMeter
Defines methods required of a GainMeter


Method Index

 o mapToMeterLevel(float)
Transform a gain control level value [0.0...1.0] to a value appropriate for this GainMeter.
 o setLevel(float)
Set the gain value for this GainMeter.
 o setMute(boolean)
Sets the mute status of the GainMeter.
 o updateView()
Force redraw of the gain meter button

Methods

 o setMute
 public abstract void setMute(boolean flag)
Sets the mute status of the GainMeter.

Parameters:
flag - If true, GainMeter is muted. Otherwise gain is not muted.
 o setLevel
 public abstract void setLevel(float level)
Set the gain value for this GainMeter.

Parameters:
level - A gain value in GainMeter coordinates.
 o mapToMeterLevel
 public abstract int mapToMeterLevel(float level)
Transform a gain control level value [0.0...1.0] to a value appropriate for this GainMeter.

Parameters:
level - A value returned by getLevel method of a GainControl object.
Returns:
An integer value that represents a legal level value for this GainMeter.
 o updateView
 public abstract void updateView()
Force redraw of the gain meter button


All Packages  Class Hierarchy  This Package  Previous  Next  Index