Package io.anyline2.view
Enum FlashConfig.FlashAlignment
- java.lang.Object
-
- java.lang.Enum<FlashConfig.FlashAlignment>
-
- io.anyline2.view.FlashConfig.FlashAlignment
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FlashConfig.FlashAlignment>
- Enclosing class:
- FlashConfig
public static enum FlashConfig.FlashAlignment extends java.lang.Enum<FlashConfig.FlashAlignment>
Enum for all possible flash alignments.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM
BOTTOM_LEFT
BOTTOM_RIGHT
TOP
TOP_LEFT
TOP_RIGHT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlashConfig.FlashAlignment
fromInt(int pos)
static FlashConfig.FlashAlignment
fromString(java.lang.String flashPos)
static FlashConfig.FlashAlignment
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FlashConfig.FlashAlignment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP_LEFT
public static final FlashConfig.FlashAlignment TOP_LEFT
-
TOP_RIGHT
public static final FlashConfig.FlashAlignment TOP_RIGHT
-
BOTTOM_LEFT
public static final FlashConfig.FlashAlignment BOTTOM_LEFT
-
BOTTOM_RIGHT
public static final FlashConfig.FlashAlignment BOTTOM_RIGHT
-
BOTTOM
public static final FlashConfig.FlashAlignment BOTTOM
-
TOP
public static final FlashConfig.FlashAlignment TOP
-
-
Method Detail
-
values
public static FlashConfig.FlashAlignment[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FlashConfig.FlashAlignment c : FlashConfig.FlashAlignment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlashConfig.FlashAlignment valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static FlashConfig.FlashAlignment fromString(java.lang.String flashPos)
-
fromInt
public static FlashConfig.FlashAlignment fromInt(int pos)
-
-