public enum Position extends Enum<Position>
PropertyEditor
.Modifier and Type | Field and Description |
---|---|
static String |
ABSOLUTE
Internal constant to use in annotations.
|
static String |
FIXED
Internal constant to use in annotations.
|
static String |
RELATIVE
Internal constant to use in annotations.
|
Modifier and Type | Method and Description |
---|---|
static Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Position absolute
public static final Position relative
public static final Position fixed
public static final String ABSOLUTE
absolute
public static final String RELATIVE
relative
public static final String FIXED
fixed
public static Position[] values()
for (Position c : Position.values()) System.out.println(c);
public static Position 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 nullCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.