Package 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$
- Author:
- Michael Shilman (contributor Edward A. Lee)
- Pt.AcceptedRating:
- Red
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-