public enum CesiumHorizontalOrigin extends Enum<CesiumHorizontalOrigin> implements Enumeration
Enum Constant and Description |
---|
CENTER
The item is horizontally centered on the position.
|
LEFT
The left side of the item is located at the position.
|
RIGHT
The right side of the item is located at the position.
|
Modifier and Type | Method and Description |
---|---|
static CesiumHorizontalOrigin |
getDefault()
Get the enum constant that is considered to be the default.
|
static CesiumHorizontalOrigin |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static CesiumHorizontalOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CesiumHorizontalOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CesiumHorizontalOrigin LEFT
public static final CesiumHorizontalOrigin CENTER
public static final CesiumHorizontalOrigin RIGHT
public static CesiumHorizontalOrigin[] values()
for (CesiumHorizontalOrigin c : CesiumHorizontalOrigin.values()) System.out.println(c);
public static CesiumHorizontalOrigin valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static CesiumHorizontalOrigin getFromValue(int value)
value
- a numeric value.@Nonnull public static CesiumHorizontalOrigin getDefault()