constructor:FloatControl(javax.sound.sampled.FloatControl.Type, float, float, float, int, float, java.lang.String, java.lang.String, java.lang.String, java.lang.String) [CHANGED]
|
-
FloatControl
protected FloatControl(FloatControl.Type type,
float minimum,
float maximum,
float precision,
int updatePeriod,
float initialValue,
String units,
String minLabel,
String midLabel,
String maxLabel)
Constructs a new float control object with the given parameters.
-
Parameters:
-
type - the kind of control represented by this float control object
-
minimum - the smallest value permitted for the control
-
maximum - the largest value permitted for the control
-
precision - the resolution or granularity of the control. This is the size of the increment between discrete valid values.
-
updatePeriod - the smallest time interval, in microseconds, over which the control can change from one discrete value to the next during a shift
-
initialValue - the value that the control starts with when constructed
-
units - the label for the units in which the control's values are expressed, such as "dB" or "frames per second"
-
minLabel - the label for the minimum value, such as "Left" or "Off"
-
midLabel - the label for the midpoint value, such as "Center" or "Default"
-
maxLabel - the label for the maximum value, such as "Right" or "Full"
-
Throws:
-
IllegalArgumentException - if minimum is greater than maximum or initialValue does not fall within the allowable range
|
-
FloatControl
protected FloatControl(FloatControl.Type type,
float minimum,
float maximum,
float precision,
int updatePeriod,
float initialValue,
String units,
String minLabel,
String midLabel,
String maxLabel)
Constructs a new float control object with the given parameters
-
Parameters:
-
type - the kind of control represented by this float control object
-
minimum - the smallest value permitted for the control
-
maximum - the largest value permitted for the control
-
precision - the resolution or granularity of the control. This is the size of the increment between discrete valid values.
-
updatePeriod - the smallest time interval, in microseconds, over which the control can change from one discrete value to the next during a shift
-
initialValue - the value that the control starts with when constructed
-
units - the label for the units in which the control's values are expressed, such as "dB" or "frames per second"
-
minLabel - the label for the minimum value, such as "Left" or "Off"
-
midLabel - the label for the midpoint value, such as "Center" or "Default"
-
maxLabel - the label for the maximum value, such as "Right" or "Full"
-
Throws:
-
IllegalArgumentException - if minimum is greater than maximum or initialValue does not fall within the allowable range
|
-
FloatControl
protected FloatControl(FloatControl.Type type,
float minimum,
float maximum,
float precision,
int updatePeriod,
float initialValue,
String units,
String minLabel,
String midLabel,
String maxLabel)
Constructs a new float control object with the given parameters.
-
Parameters:
-
type - the kind of control represented by this float control object
-
minimum - the smallest value permitted for the control
-
maximum - the largest value permitted for the control
-
precision - the resolution or granularity of the control. This is the size of the increment between discrete valid values.
-
updatePeriod - the smallest time interval, in microseconds, over which the control can change from one discrete value to the next during a shift
-
initialValue - the value that the control starts with when constructed
-
units - the label for the units in which the control's values are expressed, such as "dB" or "frames per second"
-
minLabel - the label for the minimum value, such as "Left" or "Off"
-
midLabel - the label for the midpoint value, such as "Center" or "Default"
-
maxLabel - the label for the maximum value, such as "Right" or "Full"
-
Throws:
-
IllegalArgumentException - if minimum is greater than maximum or initialValue does not fall within the allowable range
|
|