-
- All Implemented Interfaces:
-
org.readium.r2.navigator.preferences.EnumPreference,org.readium.r2.navigator.preferences.Preference
public final class EnumPreferenceDelegate<T extends Object> extends PreferenceDelegate<T> implements EnumPreference<T>
-
-
Field Summary
Fields Modifier and Type Field Description private final List<T>supportedValuesprivate final Tvalueprivate final TeffectiveValueprivate final BooleanisEffective
-
Method Summary
Modifier and Type Method Description List<T>getSupportedValues()List of valid values for this preference. TgetValue()TgetEffectiveValue()BooleangetIsEffective()Unitset(T value)Set the preference to value. -
-
Method Detail
-
getSupportedValues
List<T> getSupportedValues()
List of valid values for this preference.
-
getEffectiveValue
T getEffectiveValue()
-
getIsEffective
Boolean getIsEffective()
-
-
-
-