diva.graph.modular
Interface CompositeModel

All Known Subinterfaces:
CompositeNodeModel, MutableCompositeNodeModel
All Known Implementing Classes:
ActorGraphModel.IconModel, BasicModularGraphModel.BasicNodeModel, CompositePtolemyModel

public interface CompositeModel

Models of composite object.

Version:
$Id: CompositeModel.java 39592 2005-10-24 19:09:12Z cxh $
Author:
Michael Shilman (contributor Edward A. Lee)
Accepted Rating:
Red

Method Summary
 int getNodeCount(java.lang.Object composite)
          Return a count of the nodes this graph contains.
 java.util.Iterator nodes(java.lang.Object composite)
          Return an iterator over the nodes that this graph contains.
 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)
          Return an iterator over the nodes that should be rendered prior to the edges.
 

Method Detail

nodes

java.util.Iterator nodes(java.lang.Object composite)
Return an iterator over the nodes that this graph contains.


nodesBeforeEdges

java.util.Iterator nodesBeforeEdges(java.lang.Object composite)
Return an iterator over the nodes that should be rendered prior to the edges. This iterator does not necessarily support removal operations.


nodesAfterEdges

java.util.Iterator nodesAfterEdges(java.lang.Object composite)
Provide an iterator over the nodes that should be rendered after to the edges. This iterator does not necessarily support removal operations.


getNodeCount

int getNodeCount(java.lang.Object composite)
Return a count of the nodes this graph contains.