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

public enum MCRIIIFViewingDirection extends Enum<MCRIIIFViewingDirection>
The direction that canvases of the resource should be presented when rendered for the user to navigate and/or read.
See Also:
  • Enum Constant Details

    • left_to_right

      @SerializedName("left-to-right") public static final MCRIIIFViewingDirection left_to_right
      The object is read from left to right, and is the default if not specified.
    • right_to_left

      @SerializedName("right-to-left") public static final MCRIIIFViewingDirection right_to_left
      The object is read from right to left.
    • top_to_bottom

      @SerializedName("top-to-bottom") public static final MCRIIIFViewingDirection top_to_bottom
      The object is read from the top to the bottom.
    • bottom_to_top

      @SerializedName("bottom-to-top") public static final MCRIIIFViewingDirection bottom_to_top
      The object is read from the bottom to the top.
  • Method Details

    • values

      public static MCRIIIFViewingDirection[] 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

      public static MCRIIIFViewingDirection valueOf(String name)
      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 name
      NullPointerException - if the argument is null