All Packages Class Hierarchy This Package Previous Next Index
Class eduni.simdiag.GraphWindow
java.lang.Object
|
+----java.lang.Thread
|
+----eduni.simdiag.GraphWindow
- public class GraphWindow
- extends Thread
A graph diagram in a separate window (and thread).
Note that it is the GraphDiagram which listens
to graph event objects, not the GraphWindow.
Usage (from a class which generates GraphObjects)
GraphWindow gw = new GraphWindow();
addGraphListener( gw.getDiag());
gw.start();
-
GraphWindow()
-
-
getDiag()
- Returns the graph diagram for this window
-
run()
- Displays the window
GraphWindow
public GraphWindow()
run
public void run()
- Displays the window
- Overrides:
- run in class Thread
getDiag
public GraphDiagram getDiag()
- Returns the graph diagram for this window
All Packages Class Hierarchy This Package Previous Next Index