Package Summary  Overview Summary

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

method:getMinLabel() [CHANGED]

  • getMinLabel

    public String getMinLabel()
    Obtains the label for the minimum value, such as "Left" or "Off"."
    Returns:
    the minimum value label, or a zero-length string if no label *has been set
  • getMinLabel

    public String getMinLabel()
    Obtains the label for the minimum value, such as "Left" or "Off."
    Returns:
    the minimum value label, or a zero-length string if no label * has been set
  • getMinLabel

    public String getMinLabel()
    Obtains the label for the minimum value, such as "Left" or "Off".
    Returns:
    the minimum value label, or a zero-length string if no label has been set

method:getMidLabel() [CHANGED]

  • getMidLabel

    public String getMidLabel()
    Obtains the label for the mid-point value, such as "Center" or "Default"."
    Returns:
    the mid-point value label, or a zero-length string if no label *has been set
  • getMidLabel

    public String getMidLabel()
    Obtains the label for the mid-point value, such as "Center" or "Default."
    Returns:
    the mid-point value label, or a zero-length string if no label * has been set
  • getMidLabel

    public String getMidLabel()
    Obtains the label for the mid-point value, such as "Center" or "Default".
    Returns:
    the mid-point value label, or a zero-length string if no label has been set

method:getMaxLabel() [CHANGED]

  • getMaxLabel

    public String getMaxLabel()
    Obtains the label for the maximum value, such as "Right" or "Full"."
    Returns:
    the maximum value label, or a zero-length string if no label *has been set
  • getMaxLabel

    public String getMaxLabel()
    Obtains the label for the maximum value, such as "Right" or "Full."
    Returns:
    the maximum value label, or a zero-length string if no label * has been set
  • getMaxLabel

    public String getMaxLabel()
    Obtains the label for the maximum value, such as "Right" or "Full".
    Returns:
    the maximum value label, or a zero-length string if no label has been set

method:toString() [CHANGED]

  • toString

    public String toString()
    Provides a string representation of the control.
    Overrides:
    toString in class Control
    Returns:
    a string description
  • toString

    public String toString()
    Provides a string representation of the control
    Overrides:
    toString in class Control
    Returns:
    a string description
  • toString

    public String toString()
    Provides a string representation of the control.
    Overrides:
    toString in class Control
    Returns:
    a string description