Package-level declarations
Types
A Configurable is a component with a set of configurable Settings.
Simple progression strategy which increments or decrements the setting by a fixed number.
A Preference which accepts a closed set of values.
Typeface for a publication's text.
Simple progression strategy which increments or decrements the setting by a fixed number.
A Preference whose values must be null or in a ClosedRange of T.
A handle to edit the value of a specific preference which is able to predict which value the Configurable will effectively use.
Interactive editor of preferences.
A filter to keep only some preferences and filter out some others.
JSON serializer of P.
A strategy to increment or decrement a setting.
A Preference whose values must be in a ClosedRange of T.
Direction of the reading progression across resources.
Progression strategy based on a list of preferred values for the setting.
Functions
Unset the preference.
Returns a new preference with its boolean value flipped.
Creates a new Preference object wrapping the receiver and converting its value from and to the target type V.
Creates a new EnumPreference object wrapping the receiver and converting its value and supportedValues, from and to the target type V.
Creates a new RangePreference object wrapping the receiver and transforming its supportedRange, or overwriting its formatValue or increment and decrement strategy.
Creates a new RangePreference object wrapping the receiver and converting its value and supportedRange, from and to the target type V.
Creates a new EnumPreference object wrapping the receiver and transforming its supported values with transform.
Toggle the preference value. A default value is taken as the initial one if the preference is currently unset.
Creates a new RangePreference object wrapping the receiver and using a different supported range. A new progressionStrategy can be provided to customize the implementation of increment and decrement.
Creates a new EnumPreference object wrapping the receiver with the provided supportedValues.