public enum GAlign extends java.lang.Enum<GAlign>
Enum Constant and Description |
---|
BOTTOM |
CENTER |
EAST |
INVALID |
JUSTIFY |
LEFT |
MIDDLE |
NORTH |
RIGHT |
SOUTH |
TOP |
WEST |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDesc()
Returns the textual verbose description of this alignment.
|
static GAlign |
getFromText(java.lang.String textID)
Get an alignment based from its textual ID.
|
java.lang.String |
getTextID()
Returns the textual ID of with this alignment.
|
boolean |
isHorzAlign()
Is this a horizontal alignment constant?
|
boolean |
isPosAlign()
Is this an icon position constant?
|
boolean |
isVertAlign()
Is this a vertical alignment constant?
|
java.lang.String |
toString()
Returns a full description
|
static GAlign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GAlign INVALID
public static final GAlign LEFT
public static final GAlign CENTER
public static final GAlign RIGHT
public static final GAlign JUSTIFY
public static final GAlign TOP
public static final GAlign MIDDLE
public static final GAlign BOTTOM
public static final GAlign SOUTH
public static final GAlign NORTH
public static final GAlign WEST
public static final GAlign EAST
public static GAlign[] values()
for (GAlign c : GAlign.values()) System.out.println(c);
public static GAlign 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 nullpublic static GAlign getFromText(java.lang.String textID)
textID
- the text ID to search forpublic java.lang.String getTextID()
public java.lang.String getDesc()
public boolean isHorzAlign()
public boolean isVertAlign()
public boolean isPosAlign()
public java.lang.String toString()
toString
in class java.lang.Enum<GAlign>
Processing library G4P by Peter Lager. (c) 2017