All Packages Class Hierarchy This Package Previous Next Index
Class fundamentals.wrapItem
java.lang.Object
|
+----fundamentals.wrapItem
- public class wrapItem
- extends Object
- implements constants
-
flag
- A flag describing the status of the object.
-
number
- A reference by number to the object as it is stored in a
-
subType
- The subtype of the object.
-
wrapItem(int, int, int)
- Initialization
-
checkMatch(wrapItem)
- Throws various exceptions if the passed wrapItem is not the same as the present one
-
isFull()
-
-
toString()
- Documents the contents of the wrapItem in the format exemplified
by H3, A6!.
-
type()
- Returns the type of the item, one of the constants RADIUS, POINT, LINE, CIRCLE
from the
-
typeNumber()
- Returns the number of the type of the item as follows:
RADIUS=0, POINT=1, LINE=2, CIRCLE=3, or -1 if there is a problem.
number
public int number
- A reference by number to the object as it is stored in a @see EuLab
flag
public int flag
- A flag describing the status of the object. One of the constants
NEW KNOWN KNOWN_ONLY_AS_TARGET UNKNOWN HIDDEN NORMAL HIGHLIGHTED
OUT_OF_HIDING
defined in the @see constants interface
subType
public int subType
- The subtype of the object. One of the constants A_RADIUS, A_POINT,
A_LINE, AN_INTERVAL, A_HALF, A_CIRCLE, AN_ARC from the @see
constants interface
wrapItem
public wrapItem(int n,
int f,
int s)
- Initialization
- Parameters:
- n - the number
- f - the flag
- s - the subtype
checkMatch
public void checkMatch(wrapItem other) throws LeaException
- Throws various exceptions if the passed wrapItem is not the same as the present one
- Parameters:
- other - the wrapItem to be compared to the present one
type
public int type()
- Returns the type of the item, one of the constants RADIUS, POINT, LINE, CIRCLE
from the @see constants interface
isFull
public boolean isFull()
- Returns:
- true if the item is of subtype A_RADIUS, A_POINT, A_LINE, A_CIRCLE
typeNumber
public int typeNumber()
- Returns the number of the type of the item as follows:
RADIUS=0, POINT=1, LINE=2, CIRCLE=3, or -1 if there is a problem.
toString
public String toString()
- Documents the contents of the wrapItem in the format exemplified
by H3, A6!. The exclamamation point is used with
and only with the NEW flag
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index