-
- All Implemented Interfaces:
-
org.readium.r2.navigator.preferences.Preference
public interface EnumPreference<T extends Object> implements Preference<T>
A Preference which accepts a closed set of values.
-
-
Method Summary
Modifier and Type Method Description abstract List<T>getSupportedValues()List of valid values for this preference. abstract TgetValue()The current value of the preference. abstract TgetEffectiveValue()The value that will be effectively used by the navigator if preferences are submitted as they are. abstract BooleangetIsEffective()If this preference will be effectively used by the navigator if preferences are submitted as they are. -
-
Method Detail
-
getSupportedValues
abstract List<T> getSupportedValues()
List of valid values for this preference.
-
getEffectiveValue
abstract T getEffectiveValue()
The value that will be effectively used by the navigator if preferences are submitted as they are.
-
getIsEffective
abstract Boolean getIsEffective()
If this preference will be effectively used by the navigator if preferences are submitted as they are.
-
-
-
-