diva.canvas.demo
Class SimplePane

java.lang.Object
  extended by diva.canvas.CanvasPane
      extended by diva.canvas.GraphicsPane
          extended by 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:
$Revision: 1.13 $
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



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