org.vizzini.ui.graphics
Class ShapeCanvasAWT

java.lang.Object
  extended by org.vizzini.ui.graphics.AbstractShapeCanvas
      extended by org.vizzini.ui.graphics.ShapeCanvasAWT
All Implemented Interfaces:
IStateful, IShapeCanvas

 class ShapeCanvasAWT
extends AbstractShapeCanvas

Provides a canvas for drawing 3D shapes.

Since:
v0.2
Version:
v0.2
Author:
Jeffrey M. Thompson

Field Summary
 
Fields inherited from class org.vizzini.ui.graphics.AbstractShapeCanvas
_canvas, _canvasCenter, _isDrawn
 
Constructor Summary
ShapeCanvasAWT()
           
 
Method Summary
protected  Component createCanvas()
          Create the appropriate canvas.
 void paint(Graphics g)
          Override the paint method so that double buffering is used.
 
Methods inherited from class org.vizzini.ui.graphics.AbstractShapeCanvas
add, clear, computeQuaternion, getAbsoluteState, getAnchor, getAnchorShapeGroupIterator, getComponent, getMagnify, getPerspectiveConstant, getState, getStatefulParent, getXRotation, getYRotation, getZRotation, isViewPointLightUsed, myPaint, orientationChanged, remove, setBackground, setBounds, setBounds, setMagnify, setPerspectiveConstant, setQuaternion, setStatefulParent, setViewPointLightUsed, setXRotation, setYRotation, setZRotation, sizeChanged, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeCanvasAWT

ShapeCanvasAWT()
Method Detail

paint

public void paint(Graphics g)
Override the paint method so that double buffering is used.

Since:
v0.2

createCanvas

protected Component createCanvas()
Create the appropriate canvas.

Specified by:
createCanvas in class AbstractShapeCanvas
Since:
v0.2


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02