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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWithin thePageView
, same behavior asSTANDARD_BEHAVIOR
.When moving outside thePageView
, let the arrows stay. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STANDARD_BEHAVIOR
-
HIDE_UPON_PAGEVIEW_LEAVE
Within thePageView
, same behavior asSTANDARD_BEHAVIOR
. If you leave thePageView
and move to another element within the browser, hide the arrows. Attention: this will not work if thePageView
is the most outer element within the browser, so leaving thePageView
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
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
-