public enum DistanceType extends java.lang.Enum<DistanceType>
Enum Constant and Description |
---|
AVERAGE |
BOTTOM |
BOTTOMLEFT |
BOTTOMRIGHT |
CENTER |
LEFT |
RIGHT |
TOP |
TOPLEFT |
TOPRIGHT |
Modifier and Type | Method and Description |
---|---|
static DistanceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceType TOPLEFT
public static final DistanceType TOP
public static final DistanceType TOPRIGHT
public static final DistanceType LEFT
public static final DistanceType CENTER
public static final DistanceType RIGHT
public static final DistanceType BOTTOMLEFT
public static final DistanceType BOTTOM
public static final DistanceType BOTTOMRIGHT
public static final DistanceType AVERAGE
public static DistanceType[] values()
for (DistanceType c : DistanceType.values()) System.out.println(c);
public static DistanceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null