diva.graph
Class GraphPane

java.lang.Object
  extended by diva.canvas.CanvasPane
      extended by diva.canvas.GraphicsPane
          extended by diva.graph.GraphPane
All Implemented Interfaces:
CanvasComponent, EventAcceptor
Direct Known Subclasses:
BubblePane

public class GraphPane
extends GraphicsPane

The display part of the JGraph user-level widget.

Version:
$Revision: 1.62 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)
See Also:
JGraph

Field Summary
 
Fields inherited from class diva.canvas.GraphicsPane
_backgroundEventLayer, _backgroundLayer, _foregroundEventLayer, _foregroundLayer, _layers, _overlayLayer
 
Constructor Summary
GraphPane(GraphController controller, GraphModel model)
          Create a new graph pane with the given controller and model.
GraphPane(GraphModel model)
          Create a new graph pane with a view on the given model.
 
Method Summary
 GraphController getGraphController()
          Get the graph controller
 GraphModel getGraphModel()
          Return the graph being viewed.
 
Methods inherited from class diva.canvas.GraphicsPane
_rebuildLayerArray, getBackgroundEventLayer, getBackgroundLayer, getForegroundEventLayer, getForegroundLayer, getOverlayLayer, layersFromBack, layersFromFront, setBackgroundEventLayer, setBackgroundLayer, setForegroundEventLayer, setForegroundLayer, setOverlayLayer
 
Methods inherited from class diva.canvas.CanvasPane
_initNewLayer, _nullifyLayer, dispatchEvent, getCanvas, getParent, getSize, getToolTipText, getTransformContext, isAntialiasing, isEnabled, layers, paint, paint, processLayerEvent, repaint, repaint, scale, setAntialiasing, setCanvas, setEnabled, setParent, setSize, setSize, setTransform, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphPane

public GraphPane(GraphModel model)
Create a new graph pane with a view on the given model.


GraphPane

public GraphPane(GraphController controller,
                 GraphModel model)
Create a new graph pane with the given controller and model.

Method Detail

getGraphController

public GraphController getGraphController()
Get the graph controller


getGraphModel

public GraphModel getGraphModel()
Return the graph being viewed.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.