Class EDU.auburn.VGJ.gui.GraphWindow
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.auburn.VGJ.gui.GraphWindow

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----EDU.auburn.VGJ.gui.GraphWindow

public class GraphWindow
extends Frame
GraphWindow is a graph editing tool window.

Here is the source.

Variable Index

 o spacing_
spacing of controls

Constructor Index

 o GraphWindow(boolean)
 o GraphWindow(Graph)

Method Index

 o action(Event, Object)
 o addAlgorithm(GraphAlgorithm, String)
 o addAlgorithm(GraphAlgorithm, String, String)
 o addAlgorithmMenu(String)
 o applyAlgorithm(String)
 o handleEvent(Event)
 o keyDown(Event, int)
 o loadFile(String)
 o selectNode(int)
 o setContext(URL)

Variables

 o spacing_
  protected static int spacing_
spacing of controls

Constructors

 o GraphWindow
  public GraphWindow(boolean directed)
 o GraphWindow
  public GraphWindow(Graph graph_in)

Methods

 o action
  public boolean action(Event event,
                        Object what)
Overrides:
action in class Component
 o handleEvent
  public boolean handleEvent(Event event)
Overrides:
handleEvent in class Component
 o keyDown
  public boolean keyDown(Event e,
                         int key)
Overrides:
keyDown in class Component
 o addAlgorithm
  public void addAlgorithm(GraphAlgorithm alg,
                           String name)
 o addAlgorithmMenu
  public void addAlgorithmMenu(String name)
 o addAlgorithm
  public void addAlgorithm(GraphAlgorithm alg,
                           String menuname,
                           String name)
 o setContext
  public static void setContext(URL context)
 o loadFile
  public void loadFile(String filename)
 o selectNode
  public void selectNode(int node_index)
 o applyAlgorithm
  public void applyAlgorithm(String name)

All Packages  Class Hierarchy  This Package  Previous  Next  Index