Package 

Interface RangePreference

    • Method Summary

      Modifier and Type Method Description
      abstract Unit increment() Increment the preference value from its current value or a default value.
      abstract Unit decrement() Decrement the preference value from its current value or a default value.
      abstract String formatValue(T value) Format value in a way suitable for display, including unit if relevant.
      abstract ClosedRange<T> getSupportedRange()
      abstract T getValue() The current value of the preference.
      abstract T getEffectiveValue() The value that will be effectively used by the navigator if preferences are submitted as they are.
      abstract Boolean getIsEffective() If this preference will be effectively used by the navigator if preferences are submitted as they are.
      • Methods inherited from class org.readium.r2.navigator.preferences.RangePreference

        set
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • increment

         abstract Unit increment()

        Increment the preference value from its current value or a default value.

      • decrement

         abstract Unit decrement()

        Decrement the preference value from its current value or a default value.

      • formatValue

         abstract String formatValue(T value)

        Format value in a way suitable for display, including unit if relevant.

      • getValue

         abstract T getValue()

        The current value of the 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.