|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wilmascope.graphgen.GraphGenerator
org.wilmascope.graphgen.plugin.GridGenerator
public class GridGenerator
Generates a "grid graph", that is, a rectangular lattice of arbitrary width and height.
Constructor Summary | |
---|---|
GridGenerator()
|
Method Summary | |
---|---|
void |
generate(GraphControl gc)
Generates a "grid graph", that is, a rectangular lattice |
javax.swing.JPanel |
getControls()
|
java.lang.String |
getName()
|
Methods inherited from class org.wilmascope.graphgen.GraphGenerator |
---|
addRandomNode, getEdgeView, getNodeView, setView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridGenerator()
Method Detail |
---|
public java.lang.String getName()
public void generate(GraphControl gc)
generate
in class GraphGenerator
gc
- the instance of GraphControl inwhich the graph will be generatedpublic javax.swing.JPanel getControls()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |