Enum Class MCRIIIFViewingDirection
java.lang.Object
java.lang.Enum<MCRIIIFViewingDirection>
org.mycore.iiif.presentation.model.attributes.MCRIIIFViewingDirection
- All Implemented Interfaces:
Serializable
,Comparable<MCRIIIFViewingDirection>
,java.lang.constant.Constable
The direction that canvases of the resource should be presented when rendered for the user to navigate and/or read.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe object is read from the bottom to the top.The object is read from left to right, and is the default if not specified.The object is read from right to left.The object is read from the top to the bottom. -
Method Summary
Modifier and TypeMethodDescriptionstatic MCRIIIFViewingDirection
Returns the enum constant of this class with the specified name.static MCRIIIFViewingDirection[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
left_to_right
The object is read from left to right, and is the default if not specified. -
right_to_left
The object is read from right to left. -
top_to_bottom
The object is read from the top to the bottom. -
bottom_to_top
The object is read from the bottom to the top.
-
-
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
-