Package diva.canvas.demo
Class SimplePane
- java.lang.Object
-
- diva.canvas.CanvasPane
-
- diva.canvas.GraphicsPane
-
- diva.canvas.demo.SimplePane
-
- All Implemented Interfaces:
CanvasComponent
,EventAcceptor
public class SimplePane extends GraphicsPane
A pane containing instances of some basic figures. The figures can be dragged about with the mouse.- Version:
- $Id$
- Author:
- John Reekie
-
-
Field Summary
-
Fields inherited from class diva.canvas.GraphicsPane
_backgroundEventLayer, _backgroundLayer, _foregroundEventLayer, _foregroundLayer, _layers, _overlayLayer
-
-
Constructor Summary
Constructors Constructor Description SimplePane()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawFigures()
Draw some figuresSelectionInteractor
getSelectionInteractor()
Return the selection interactor-
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
-
-
-
-
Method Detail
-
drawFigures
public void drawFigures()
Draw some figures
-
getSelectionInteractor
public SelectionInteractor getSelectionInteractor()
Return the selection interactor
-
-