|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphEnumeration
An extension of the Enumeration interface specific to enumerations of graph elements.
Method Summary | |
---|---|
int |
getEnumerationTypes()
Get the types of elements possibly contained in this enumeration. |
Subgraph |
getSubgraphRoot()
Get the root of this enumeration. |
Element |
nextGraphElement()
A convenience method that should just return a cast of a call to nextElement() |
Methods inherited from interface java.util.Enumeration |
---|
hasMoreElements, nextElement |
Method Detail |
---|
Subgraph getSubgraphRoot()
int getEnumerationTypes()
GrappaConstants.NODE
,
GrappaConstants.EDGE
,
GrappaConstants.SUBGRAPH
Element nextGraphElement() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- whenever the enumeration has no more
elements.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |