public class FSMGraphModel.StateModel extends NamedObjNodeModel
Constructor and Description |
---|
StateModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeleteNodeMoML(java.lang.Object node)
Return a MoML String that will delete the given node from the
Ptolemy model.
|
java.lang.Object |
getParent(java.lang.Object node)
Return the graph parent of the given node.
|
java.util.Iterator |
inEdges(java.lang.Object node)
Return an iterator over the edges coming into the given node.
|
java.util.Iterator |
outEdges(java.lang.Object node)
Return an iterator over the edges coming into the given node.
|
void |
removeNode(java.lang.Object eventSource,
java.lang.Object node)
Remove the given node from the model.
|
public java.lang.String getDeleteNodeMoML(java.lang.Object node)
getDeleteNodeMoML
in class NamedObjNodeModel
node
- The node to be deleted.public java.lang.Object getParent(java.lang.Object node)
node
- The node, which is assumed to be a location.public java.util.Iterator inEdges(java.lang.Object node)
node
- The node, which is assumed to be a location.public java.util.Iterator outEdges(java.lang.Object node)
node
- The node, which is assumed to be a location.public void removeNode(java.lang.Object eventSource, java.lang.Object node)
removeNode
in class NamedObjNodeModel
eventSource
- The event source.node
- The given node to be deleted.