public class ExampleGraphCreator extends java.lang.Object implements GraphCreator
| Constructor and Description |
|---|
ExampleGraphCreator(ExampleGraph exampleGraph) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(javax.swing.JPanel parent)
Draw the GUI on the given panel.
|
java.util.Optional<Graph> |
getGraph()
Get the corresponding graph, if possible.
|
public ExampleGraphCreator(ExampleGraph exampleGraph)
public void draw(javax.swing.JPanel parent)
GraphCreatordraw in interface GraphCreatorparent - The parent panel within which to initialize this GUI.public java.util.Optional<Graph> getGraph()
GraphCreatorgetGraph in interface GraphCreator