|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--interagents.wrapItemBlock
Field Summary | |
int |
number
|
static java.lang.String |
supertypecodes
|
static java.lang.String |
typecodes
|
Constructor Summary | |
wrapItemBlock()
Constructor for literals |
|
wrapItemBlock(int number,
char type)
|
|
wrapItemBlock(int number,
int typei)
|
Method Summary | |
interagents.wrapItemBlock |
cloneAs()
|
boolean |
isFull()
|
static boolean |
isTypeName(char type)
Static method for looking up typecodes |
int |
superTypeIndex()
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. |
char |
superTypeName()
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. |
java.lang.String |
toString()
Documents the contents of the wrapItemBlock in the format exemplified by H3, A6. |
int |
typeIndex()
|
static int |
typeIndex(char type)
Static method for looking up typecodes |
char |
typeName()
Gives object subtype as a char or a '?' |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int number
public static final java.lang.String typecodes
public static final java.lang.String supertypecodes
Constructor Detail |
public wrapItemBlock(int number, char type) throws DesignException
type
- one of the letters R, P, L, H, I, C, A; possibly lower casepublic wrapItemBlock(int number, int typei)
public wrapItemBlock()
Method Detail |
public static int typeIndex(char type)
type
- the character to be looked up
public int typeIndex()
public static boolean isTypeName(char type)
type
- the character to be looked up
public char typeName()
public int superTypeIndex()
public char superTypeName()
public boolean isFull()
public java.lang.String toString()
toString
in class java.lang.Object
public interagents.wrapItemBlock cloneAs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |