Package diva.graph
Class GraphPane
- java.lang.Object
-
- diva.canvas.CanvasPane
-
- diva.canvas.GraphicsPane
-
- diva.graph.GraphPane
-
- All Implemented Interfaces:
CanvasComponent
,EventAcceptor
- Direct Known Subclasses:
BasicGraphPane
,BubblePane
public class GraphPane extends GraphicsPane
The display part of the JGraph user-level widget.- Version:
- $Id$
- Author:
- Michael Shilman
- See Also:
JGraph
- Pt.AcceptedRating:
- Red
-
-
Field Summary
-
Fields inherited from class diva.canvas.GraphicsPane
_backgroundEventLayer, _backgroundLayer, _foregroundEventLayer, _foregroundLayer, _layers, _overlayLayer
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphController
getGraphController()
Get the graph controllerGraphModel
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
-
-
-
-
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.
-
-