diva.canvas.demo
Class SimplePane

java.lang.Object
  extended bydiva.canvas.CanvasPane
      extended bydiva.canvas.GraphicsPane
          extended bydiva.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: SimplePane.java,v 1.6 2004/04/13 06:23:54 cxh Exp $
Author:
John Reekie

Field Summary
 
Fields inherited from class diva.canvas.GraphicsPane
_backgroundEventLayer, _backgroundLayer, _foregroundEventLayer, _foregroundLayer, _layers, _overlayLayer
 
Constructor Summary
SimplePane()
          Constructor
 
Method Summary
 void drawFigures()
          Draw some figures
 SelectionInteractor 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePane

public SimplePane()
Constructor

Method Detail

drawFigures

public void drawFigures()
Draw some figures


getSelectionInteractor

public SelectionInteractor getSelectionInteractor()
Return the selection interactor