|
Java 2 Platform v1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umich.visualsoar.graph.Vertex | +--edu.umich.visualsoar.graph.SoarVertex
This class is the base class for all Soar Working memory vertices
Field Summary |
Fields inherited from class edu.umich.visualsoar.graph.Vertex |
number |
Constructor Summary | |
SoarVertex(int id)
Constructs a SoarVertex with the given id |
Method Summary | |
abstract boolean |
allowsEmanatingEdges()
This method is used to determine whether or not this node allows children |
abstract edu.umich.visualsoar.graph.SoarVertex |
copy(int newId)
Method returns a new copy of the same data, but with a new id |
boolean |
edit(java.awt.Frame owner)
This method allows the user to edit the contents of this node |
boolean |
isEditable()
This method tells us whether or not the edit method will work |
boolean |
isUnknown()
|
abstract boolean |
isValid(java.lang.String value)
This method determines whether or not a given value is valid for this particular node |
abstract void |
write(java.io.Writer w)
This method writes a description of this node to the stream pointed to by the writer |
Methods inherited from class edu.umich.visualsoar.graph.Vertex |
getValue, setValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SoarVertex(int id)
Method Detail |
public abstract boolean allowsEmanatingEdges()
public boolean isEditable()
public abstract boolean isValid(java.lang.String value)
value
- the string we are checking the validity of
public abstract edu.umich.visualsoar.graph.SoarVertex copy(int newId)
public boolean edit(java.awt.Frame owner)
public abstract void write(java.io.Writer w) throws java.io.IOException
w
- the stream where this node is described to
IOException
- if there was an error writing to the streampublic boolean isUnknown()
|
Java 2 Platform v1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |