org.eclipse.handly.ui.preference

## Interface IBooleanPreference

- All Superinterfaces:
    IPreference
  All Known Implementing Classes:
    BooleanPreference, LexicalSortPreference, LinkWithEditorPreference

      public interface IBooleanPreference
      extends IPreference

  Represents a boolean-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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `getValue()` Returns the current value of this preference.
    `void` | `setValue(boolean value)` Sets the current value of this preference.

    - ### Methods inherited from interface org.eclipse.handly.ui.preference.IPreference

      `addListener, removeListener`

- - ### Method Detail

    - #### getValue

          boolean getValue()

      Returns the current value of this preference.
      Returns:
        the current value of this preference

    - #### setValue

          void setValue(boolean 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

Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0