protected static enum PositionMetric.Origin extends Enum<PositionMetric.Origin>
| Enum Constant and Description | 
|---|
FROM_BEGINING  | 
FROM_CENTER  | 
FROM_END  | 
| Modifier and Type | Method and Description | 
|---|---|
static PositionMetric.Origin | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static PositionMetric.Origin[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final PositionMetric.Origin FROM_BEGINING
public static final PositionMetric.Origin FROM_CENTER
public static final PositionMetric.Origin FROM_END
public static PositionMetric.Origin[] values()
for (PositionMetric.Origin c : PositionMetric.Origin.values()) System.out.println(c);
public static PositionMetric.Origin 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 null