|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fundamentals.EuBeacon
Field Summary | |
static int |
CCW
A constant indicating the ccw beacon |
static int |
CLOSE
A constant indicating the close beacon |
static int |
CW
A constant indicating the cw beacon |
static int |
FAR
A constant indicating the far beacon |
static int |
ICCW
A constant indicating the close beacon |
static int |
ICW
A constant indicating the far beacon |
static int |
MINUS
A constant indicating the minus beacon |
static int |
NEW
A constant indicating the new beacon |
static int |
OLD
A constant indicating the old beacon |
static int |
PLUS
A constant indicating the plus beacon |
Constructor Summary | |
EuBeacon()
|
|
EuBeacon(int b)
Initializes the beacon with a constant |
|
EuBeacon(int b,
int f)
Initializes the beacon with a constant and a flag |
Method Summary | |
int |
choose()
Used for lookup purposes: |
boolean |
is(int other)
|
boolean |
isAge()
|
boolean |
isInternal()
|
boolean |
isInternalOrientation()
|
boolean |
isOrientation()
|
boolean |
isProximity()
|
java.lang.String |
operationName()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int PLUS
public static final int MINUS
public static final int OLD
public static final int NEW
public static final int CCW
public static final int CW
public static final int CLOSE
public static final int FAR
public static final int ICCW
public static final int ICW
Constructor Detail |
public EuBeacon(int b)
b
- one of the beacon constants abovepublic EuBeacon()
public EuBeacon(int b, int f)
b
- one of the beacon constants abovef
- -1 if beacon FAR, MINUS, CW, NEW is desired.Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public boolean is(int other)
other
- a beacon
public boolean isInternal()
public boolean isAge()
public boolean isOrientation()
public boolean isProximity()
public boolean isInternalOrientation()
public int choose()
public java.lang.String operationName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |