|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DrawableConstants.Location>
de.erichseifert.gral.DrawableConstants.Location
public static enum DrawableConstants.Location
Indicates the location of a Drawable.
Enum Constant Summary | |
---|---|
CENTER
Central location. |
|
EAST
Eastern location. |
|
NORTH
Northern location. |
|
NORTH_EAST
North-eastern location. |
|
NORTH_WEST
North-western location. |
|
SOUTH
Southern location. |
|
SOUTH_EAST
South-eastern location. |
|
SOUTH_WEST
South-western location. |
|
WEST
Western location. |
Method Summary | |
---|---|
double |
getAlignmentH()
Returns the horizontal alignment as a double value. |
double |
getAlignmentV()
Returns the vertical alignment as a double value. |
static DrawableConstants.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DrawableConstants.Location[] |
values()
Returns an array containing the constants of this enum type, in the order they are 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 |
Enum Constant Detail |
---|
public static final DrawableConstants.Location CENTER
public static final DrawableConstants.Location NORTH
public static final DrawableConstants.Location NORTH_EAST
public static final DrawableConstants.Location EAST
public static final DrawableConstants.Location SOUTH_EAST
public static final DrawableConstants.Location SOUTH
public static final DrawableConstants.Location SOUTH_WEST
public static final DrawableConstants.Location WEST
public static final DrawableConstants.Location NORTH_WEST
Method Detail |
---|
public static DrawableConstants.Location[] values()
for (DrawableConstants.Location c : DrawableConstants.Location.values()) System.out.println(c);
public static DrawableConstants.Location valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic double getAlignmentH()
public double getAlignmentV()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |