|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.graph.build.basic.BasicGraphGenerator
An implementation of GraphGenerator. Graphs are generated as follows:
Constructor Summary | |
BasicGraphGenerator()
Constructs a new generator. |
Method Summary | |
Graphable |
add(java.lang.Object obj)
Adds an object to the graph. |
Graphable |
get(java.lang.Object obj)
Retrieves a component of the graph. |
Graph |
getGraph()
Returns the graph being generated. |
GraphBuilder |
getGraphBuilder()
Returns the underlying builder. |
Graphable |
remove(java.lang.Object obj)
Removes an object from the graph. |
void |
setGraphBuilder(GraphBuilder builder)
Sets the underlying builder used to physically construct the graph. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicGraphGenerator()
Method Detail |
public Graphable add(java.lang.Object obj)
GraphGenerator
add
in interface GraphGenerator
obj
- The object to be modelled in the graph.
GraphGenerator.add(Object)
public Graphable get(java.lang.Object obj)
GraphGenerator
get
in interface GraphGenerator
obj
- The object modelled by the component.
GraphGenerator.get(Object)
public Graphable remove(java.lang.Object obj)
GraphGenerator
remove
in interface GraphGenerator
obj
- The object modelled by the component.
GraphGenerator.remove(Object)
public void setGraphBuilder(GraphBuilder builder)
GraphGenerator
setGraphBuilder
in interface GraphGenerator
builder
- The new underlying GraphBuilder.GraphGenerator.setGraphBuilder(GraphBuilder)
public GraphBuilder getGraphBuilder()
GraphGenerator
getGraphBuilder
in interface GraphGenerator
GraphGenerator.getGraphBuilder()
public Graph getGraph()
GraphGenerator
getGraph
in interface GraphGenerator
GraphGenerator.getGraph()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |