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.

  • Enum Constant Details

    • TOP_BOTTOM

      public static final PageView.VisibleRectPositioningStrategy 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
      through a document.
    • CURRENT

      public static final PageView.VisibleRectPositioningStrategy CURRENT
      Positions the visible rectangle of the destination page at the location of its current page counterpart.
  • Method Details

    • values

      public static PageView.VisibleRectPositioningStrategy[] 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 PageView.VisibleRectPositioningStrategy 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