Package com.pspdfkit.ui.settings
Enum Preset
-
-
Field Summary
Fields Modifier and Type Field Description private final PageScrollMode
scrollMode
private final PageLayoutMode
layoutMode
private final PageScrollDirection
scrollDirection
private final EnumEntries<Preset>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description HORIZONTAL
VERTICAL
-
Method Summary
Modifier and Type Method Description final Boolean
matches(SettingsOptions options)
final Preset
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<Preset>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final PageScrollMode
getScrollMode()
final PageLayoutMode
getLayoutMode()
final PageScrollDirection
getScrollDirection()
final EnumEntries<Preset>
getEntries()
Preset enum class to hold the settings presets -
-
Method Detail
-
matches
final Boolean matches(SettingsOptions options)
-
valueOf
final Preset valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Parameters:
value
- : PageScrollMode
-
values
final Array<Preset> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getScrollMode
final PageScrollMode getScrollMode()
-
getLayoutMode
final PageLayoutMode getLayoutMode()
-
getScrollDirection
final PageScrollDirection getScrollDirection()
-
getEntries
final EnumEntries<Preset> getEntries()
Preset enum class to hold the settings presets
-
-
-
-