uavsim.graphics.text
Enum TextProperties.E_Origin
java.lang.Object
java.lang.Enum<TextProperties.E_Origin>
uavsim.graphics.text.TextProperties.E_Origin
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TextProperties.E_Origin>
- Enclosing class:
- TextProperties
public static enum TextProperties.E_Origin
- extends java.lang.Enum<TextProperties.E_Origin>
Defines the origin of a text string, which is the point at which it will be anchored.
- Author:
- Dan Tappan [09.04.11]
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BOTTOM_CENTER
public static final TextProperties.E_Origin BOTTOM_CENTER
BOTTOM_LEFT
public static final TextProperties.E_Origin BOTTOM_LEFT
BOTTOM_RIGHT
public static final TextProperties.E_Origin BOTTOM_RIGHT
MIDDLE_CENTER
public static final TextProperties.E_Origin MIDDLE_CENTER
MIDDLE_LEFT
public static final TextProperties.E_Origin MIDDLE_LEFT
MIDDLE_RIGHT
public static final TextProperties.E_Origin MIDDLE_RIGHT
TOP_CENTER
public static final TextProperties.E_Origin TOP_CENTER
TOP_LEFT
public static final TextProperties.E_Origin TOP_LEFT
TOP_RIGHT
public static final TextProperties.E_Origin TOP_RIGHT
valueOf
public static TextProperties.E_Origin valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
values
public static TextProperties.E_Origin[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TextProperties.E_Origin c : TextProperties.E_Origin.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared