Interface IFloatPreference

  • All Superinterfaces:
    IPreference
    All Known Implementing Classes:
    FloatPreference

    public interface IFloatPreference
    extends IPreference
    Represents a float-valued preference.
    Restriction:
    This interface is not intended to be extended by clients.
    Restriction:
    This interface is not intended to be implemented by clients.
    • Method Detail

      • getValue

        float getValue()
        Returns the current value of this preference.
        Returns:
        the current value of this preference
      • setValue

        void setValue​(float value)
        Sets the current value of this preference.

        A preference change event is reported if the current value of the preference actually changes from its previous value.

        Parameters:
        value - the new current value of this preference