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();
 


Constructor Index

 o GraphWindow()

Method Index

 o getDiag()
Returns the graph diagram for this window
 o run()
Displays the window

Constructors

 o GraphWindow
 public GraphWindow()

Methods

 o run
 public void run()
Displays the window

Overrides:
run in class Thread
 o getDiag
 public GraphDiagram getDiag()
Returns the graph diagram for this window


All Packages  Class Hierarchy  This Package  Previous  Next  Index