|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The base interface of all nodes in the GridWorld environment. All nodes should implement this interface.
| Method Summary | |
GridHint |
getHint()
Provides a hint about the node |
NodeDisplay |
getNodeDisplay()
returns the node's display component |
java.lang.Object |
getNodeObject()
Gets a generic object that the node can hold |
java.lang.String |
getType()
Returns the type of node that this is |
void |
setNodeDisplay(NodeDisplay comp)
sets the nodes display component |
void |
setNodeObject(java.lang.Object o)
Sets a generic object the the node can hold |
void |
setType(java.lang.String t)
This sets the type of node that is |
java.lang.String |
toString()
Provides command line output |
| Method Detail |
public java.lang.Object getNodeObject()
public void setNodeObject(java.lang.Object o)
public NodeDisplay getNodeDisplay()
public void setNodeDisplay(NodeDisplay comp)
public java.lang.String getType()
public void setType(java.lang.String t)
public java.lang.String toString()
public GridHint getHint()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||