public enum VerticalOrigin extends Enum<VerticalOrigin>
Modifier and Type | Method and Description |
---|---|
double |
toNumber() |
double |
toNumber(String asString) |
static VerticalOrigin |
valueOf(int nativeValue) |
static VerticalOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerticalOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerticalOrigin BOTTOM
public static final VerticalOrigin CENTER
public static final VerticalOrigin TOP
public static VerticalOrigin[] values()
for (VerticalOrigin c : VerticalOrigin.values()) System.out.println(c);
public static VerticalOrigin 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 static VerticalOrigin valueOf(int nativeValue)
public double toNumber()
public double toNumber(String asString)
Copyright © 2014. All rights reserved.