Interface EDU.auburn.VGJ.algorithm.GraphUpdate
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface EDU.auburn.VGJ.algorithm.GraphUpdate

public interface GraphUpdate
extends Object
This interface represents an updatable graph display.

Here is the source.

Method Index

 o center()
Update the display and boundaries, and center the graph in the display window.
 o getFrame()
Get an application Frame from which to pop up windows.
 o getHSpacing()
 o getSelectedNode()
Get the index of the selected node.
 o getVSpacing()
 o scale(double)
Set the scale value for display, and update the display.
 o update(boolean)
Update the display.
 o windowRect()
Get the position and dimensions of the display window.

Methods

 o update
  public abstract void update(boolean adjust_bounds)
Update the display. If adjust_bounds is set, the boundaries are recomputed (basically, the controls get updated as well as the display, and this will be slow for large graphs).
 o scale
  public abstract void scale(double scaleval)
Set the scale value for display, and update the display. scaleval is interpreted as follows: screen_distance = physical_distance * scaleval.
 o center
  public abstract void center()
Update the display and boundaries, and center the graph in the display window.
 o windowRect
  public abstract DRect windowRect()
Get the position and dimensions of the display window.
 o getHSpacing
  public abstract double getHSpacing()
 o getVSpacing
  public abstract double getVSpacing()
 o getFrame
  public abstract Frame getFrame()
Get an application Frame from which to pop up windows.
 o getSelectedNode
  public abstract Node getSelectedNode()
Get the index of the selected node. -1 is returned if no node is selected.

All Packages  Class Hierarchy  This Package  Previous  Next  Index