EnumPreference
A Preference which accepts a closed set of values.
Inheritors
Properties
The value that will be effectively used by the navigator if preferences are submitted as they are.
If this preference will be effectively used by the navigator if preferences are submitted as they are.
List of valid values for this preference.
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 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 EnumPreference object wrapping the receiver with the provided supportedValues.