Enum Class GalleryNavigationTool.ArrowHidingStrategy

All Implemented Interfaces:
Serializable, Comparable<GalleryNavigationTool.ArrowHidingStrategy>, Constable
Enclosing class:

public static enum GalleryNavigationTool.ArrowHidingStrategy extends Enum<GalleryNavigationTool.ArrowHidingStrategy>
Configure when to hide the arrows
  • Enum Constant Details


      public static final GalleryNavigationTool.ArrowHidingStrategy STANDARD_BEHAVIOR
      When moving outside the PageView, let the arrows stay. If you move the mouse inside the PageView, auto-hide the arrows when the horizontal distance between the arrow and the mouse pointer is greater than GalleryNavigationTool.pxDistanceToShow

      public static final GalleryNavigationTool.ArrowHidingStrategy HIDE_UPON_PAGEVIEW_LEAVE
      Within the PageView, same behavior as STANDARD_BEHAVIOR. If you leave the PageView and move to another element within the browser, hide the arrows. Attention: this will not work if the PageView is the most outer element within the browser, so leaving the PageView means automatically leaving the browser.
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GalleryNavigationTool.ArrowHidingStrategy 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null