|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectBasicGraphGenerator
public class BasicGraphGenerator
An implementation of GraphGenerator. Graphs are generated as follows:
modules/extension/graph (gt-graph.jar)
Constructor Summary | |
---|---|
BasicGraphGenerator()
Constructs a new generator. |
Method Summary | |
---|---|
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. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicGraphGenerator()
Method Detail |
---|
public Graphable add(Object obj)
GraphGenerator
add
in interface GraphGenerator
obj
- The object to be modelled in the graph.
GraphGenerator.add(Object)
public Graphable get(Object obj)
GraphGenerator
get
in interface GraphGenerator
obj
- The object modelled by the component.
GraphGenerator.get(Object)
public Graphable remove(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 |