public class BasicGraphGenerator extends Object implements GraphGenerator
| Constructor and Description |
|---|
BasicGraphGenerator()
Constructs a new generator.
|
| Modifier and Type | Method and Description |
|---|---|
Graphable |
add(Object obj)
Adds an object to the graph.
|
Graphable |
get(Object obj)
Retrieves a component of the graph.
|
Graph |
getGraph()
Returns the graph being generated.
|
GraphBuilder |
getGraphBuilder()
Returns the underlying builder.
|
Graphable |
remove(Object obj)
Removes an object from the graph.
|
void |
setGraphBuilder(GraphBuilder builder)
Sets the underlying builder used to physically construct the graph.
|
public Graphable add(Object obj)
GraphGeneratoradd in interface GraphGeneratorobj - The object to be modelled in the graph.GraphGenerator.add(Object)public Graphable get(Object obj)
GraphGeneratorget in interface GraphGeneratorobj - The object modelled by the component.GraphGenerator.get(Object)public Graphable remove(Object obj)
GraphGeneratorremove in interface GraphGeneratorobj - The object modelled by the component.GraphGenerator.remove(Object)public void setGraphBuilder(GraphBuilder builder)
GraphGeneratorsetGraphBuilder in interface GraphGeneratorbuilder - The new underlying GraphBuilder.GraphGenerator.setGraphBuilder(GraphBuilder)public GraphBuilder getGraphBuilder()
GraphGeneratorgetGraphBuilder in interface GraphGeneratorGraphGenerator.getGraphBuilder()public Graph getGraph()
GraphGeneratorgetGraph in interface GraphGeneratorGraphGenerator.getGraph()Copyright © 1996–2019 Geotools. All rights reserved.