Package com.levigo.jadice.web.client
Enum Class PageView.VisibleRectPositioningStrategy
java.lang.Object
java.lang.Enum<PageView.VisibleRectPositioningStrategy>
com.levigo.jadice.web.client.PageView.VisibleRectPositioningStrategy
- All Implemented Interfaces:
Serializable
,Comparable<PageView.VisibleRectPositioningStrategy>
,Constable
- Enclosing interface:
PageView
public static enum PageView.VisibleRectPositioningStrategy
extends Enum<PageView.VisibleRectPositioningStrategy>
Configures the position of the visible rectangle when navigating through a document.
Default is TOP_BOTTOM.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPositions the visible rectangle of the destination page at the location of its current page counterpart.Positions the visible rectangle of the destination page at the top of the page when navigating forward bottom of the page when navigating backward through a document. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP_BOTTOM
Positions the visible rectangle of the destination page at the- top of the page when navigating forward
- bottom of the page when navigating backward
-
CURRENT
Positions the visible rectangle of the destination page at the location of its current page counterpart.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-