subscript.vis
Enum VisImage.ANCHOR
java.lang.Object
java.lang.Enum<VisImage.ANCHOR>
subscript.vis.VisImage.ANCHOR
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<VisImage.ANCHOR>
- Enclosing class:
- VisImage
public static enum VisImage.ANCHOR
- extends java.lang.Enum<VisImage.ANCHOR>
Method Summary |
static VisImage.ANCHOR |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VisImage.ANCHOR[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NONE
public static final VisImage.ANCHOR NONE
TOPLEFT
public static final VisImage.ANCHOR TOPLEFT
TOPCENTER
public static final VisImage.ANCHOR TOPCENTER
TOPRIGHT
public static final VisImage.ANCHOR TOPRIGHT
LEFT
public static final VisImage.ANCHOR LEFT
CENTER
public static final VisImage.ANCHOR CENTER
RIGHT
public static final VisImage.ANCHOR RIGHT
BOTTOMLEFT
public static final VisImage.ANCHOR BOTTOMLEFT
BOTTOMCENTER
public static final VisImage.ANCHOR BOTTOMCENTER
BOTTOMRIGHT
public static final VisImage.ANCHOR BOTTOMRIGHT
values
public static final VisImage.ANCHOR[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(VisImage.ANCHOR c : VisImage.ANCHOR.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static VisImage.ANCHOR 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