Enum Class GalleryNavigationTool.ArrowHidingStrategy

java.lang.Object
java.lang.Enum<GalleryNavigationTool.ArrowHidingStrategy>
com.levigo.jadice.web.client.tools.GalleryNavigationTool.ArrowHidingStrategy
All Implemented Interfaces:
Serializable, Comparable<GalleryNavigationTool.ArrowHidingStrategy>, Constable
Enclosing class:
GalleryNavigationTool

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

    • STANDARD_BEHAVIOR

      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
    • HIDE_UPON_PAGEVIEW_LEAVE

      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.
      Returns:
      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.)
      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