public static class ActorGraphModel.IconModel extends NamedObjNodeModel implements CompositeNodeModel
| Constructor and Description |
|---|
IconModel() |
| 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.
|
int |
getNodeCount(java.lang.Object composite)
Return the number of nodes contained in
this graph or composite node.
|
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 |
nodes(java.lang.Object composite)
Provide an iterator over the nodes in the
given graph or composite node.
|
java.util.Iterator |
nodesAfterEdges(java.lang.Object composite)
Provide an iterator over the nodes that should
be rendered after to the edges.
|
java.util.Iterator |
nodesBeforeEdges(java.lang.Object composite)
Provide an iterator over the nodes that should
be rendered prior to the edges.
|
java.util.Iterator |
outEdges(java.lang.Object node)
Return an iterator over the edges coming out of 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 NamedObjNodeModelnode - The node.public int getNodeCount(java.lang.Object composite)
getNodeCount in interface CompositeModelcomposite - The composite, which is assumed to be an icon.public java.lang.Object getParent(java.lang.Object node)
public java.util.Iterator inEdges(java.lang.Object node)
public java.util.Iterator nodes(java.lang.Object composite)
nodes in interface CompositeModelcomposite - The composite, which is assumed to be an icon.public java.util.Iterator nodesBeforeEdges(java.lang.Object composite)
nodesBeforeEdges in interface CompositeModelcomposite - The composite, which is assumed to be an icon.public java.util.Iterator nodesAfterEdges(java.lang.Object composite)
nodesAfterEdges in interface CompositeModelcomposite - The composite, which is assumed to be an icon.public java.util.Iterator outEdges(java.lang.Object node)
public void removeNode(java.lang.Object eventSource,
java.lang.Object node)
removeNode in class NamedObjNodeModeleventSource - The source of the event that will be dispatched,
e.g. the view that made this call.node - The node.