|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AbsoluteCompass>
org.axsl.common.value.AbsoluteCompass
public enum AbsoluteCompass
An enumeration for the various absolute compass-point directions.
Enum Constant Summary | |
---|---|
BOTTOM
Constant indicating the "bottom" (south) absolute compass-point. |
|
LEFT
Constant indicating the "left" (west) absolute compass-point. |
|
RIGHT
Constant indicating the "right" (east) absolute compass-point. |
|
TOP
Constant indicating the "top" (north) absolute compass-point. |
Method Summary | |
---|---|
boolean |
isAbsolute()
Indicates whether this compass direction is an absolute direction. |
boolean |
isRelative()
Indicates whether this compass direction is a relative direction. |
static AbsoluteCompass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AbsoluteCompass[] |
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 |
Enum Constant Detail |
---|
public static final AbsoluteCompass LEFT
public static final AbsoluteCompass RIGHT
public static final AbsoluteCompass TOP
public static final AbsoluteCompass BOTTOM
Method Detail |
---|
public static final AbsoluteCompass[] values()
for(AbsoluteCompass c : AbsoluteCompass.values()) System.out.println(c);
public static AbsoluteCompass 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 namepublic boolean isRelative()
isRelative
in interface Compass
public boolean isAbsolute()
isAbsolute
in interface Compass
|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.