|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectnet.sourceforge.combean.graph.decorators.AbstractDecoratedGraph
net.sourceforge.combean.graph.decorators.OrderedNodesGraph
public class OrderedNodesGraph
A decorator which returns a specific all nodes iterator, i.e., which enforces traversal of the nodes of the graph in a given order.
| Constructor Summary | |
|---|---|
OrderedNodesGraph(GlobalNodesGraphProp g,
NodeIterator itAllNodes)
Constructor |
|
| Method Summary | |
|---|---|
NodeIterator |
getAllNodesIterator()
Return an iterator for all nodes in the graph |
int |
getNumNodes()
Return number of nodes in the graph. |
boolean |
mayNestGraphProp(Class wantedProp)
All nested properties except those which refer to the global nodes and their identity (GlobalNodesGraphProp and derivatives) may be nested. |
| Methods inherited from class net.sourceforge.combean.graph.decorators.AbstractDecoratedGraph |
|---|
getEdgeClass, getNestedGraph, getNodeClass, isModifiableGraphProp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sourceforge.combean.interfaces.graph.Graph |
|---|
getEdgeClass, getNodeClass |
| Constructor Detail |
|---|
public OrderedNodesGraph(GlobalNodesGraphProp g,
NodeIterator itAllNodes)
g - the graph the nodes of which shall be traversed in a specific orderitAllNodes - the iterator (with the current implementation
getAllNodesIterator() may only be invoked once on the decorated graph)| Method Detail |
|---|
public int getNumNodes()
GlobalNodesGraphProp
getNumNodes in interface GlobalNodesGraphProppublic NodeIterator getAllNodesIterator()
GlobalNodesGraphProp
getAllNodesIterator in interface GlobalNodesGraphProppublic boolean mayNestGraphProp(Class wantedProp)
mayNestGraphProp in interface NestedGraphPropwantedProp - the property which the user wants to use
NestedGraphProp.mayNestGraphProp(java.lang.Class)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||