com.vaadin.flow.component.map.configuration.style.
Enum Icon.AnchorOrigin
- java.lang.Object
-
- java.lang.Enum<Icon.AnchorOrigin>
-
- com.vaadin.flow.component.map.configuration.style.Icon.AnchorOrigin
-
All Implemented Interfaces:
Enclosing class:
public static enum Icon.AnchorOrigin extends Enum<Icon.AnchorOrigin>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM_LEFT
BOTTOM_RIGHT
TOP_LEFT
TOP_RIGHT
-
Method Summary
All Methods Modifier and Type Method Description static Icon.AnchorOrigin
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static Icon.AnchorOrigin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOTTOM_LEFT
public static final Icon.AnchorOrigin BOTTOM_LEFT
-
BOTTOM_RIGHT
public static final Icon.AnchorOrigin BOTTOM_RIGHT
-
TOP_LEFT
public static final Icon.AnchorOrigin TOP_LEFT
-
TOP_RIGHT
public static final Icon.AnchorOrigin TOP_RIGHT
-
-
Method Detail
-
values
public static Icon.AnchorOrigin[] 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 (Icon.AnchorOrigin c : Icon.AnchorOrigin.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Icon.AnchorOrigin valueOf​(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-