shady.common.ui
Class GraphicsDisplay.TransformProxy

java.lang.Object
  extended by java.awt.geom.AffineTransform
      extended by shady.common.ui.GraphicsDisplay.TransformProxy
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
GraphicsDisplay

protected class GraphicsDisplay.TransformProxy
extends java.awt.geom.AffineTransform

Makes a Graphics2D look like an AffineTransform.

See Also:
Serialized Form

Field Summary
private  java.awt.Graphics2D g2d
          The Graphics2D whose transform we proxy.
 
Fields inherited from class java.awt.geom.AffineTransform
TYPE_FLIP, TYPE_GENERAL_ROTATION, TYPE_GENERAL_SCALE, TYPE_GENERAL_TRANSFORM, TYPE_IDENTITY, TYPE_MASK_ROTATION, TYPE_MASK_SCALE, TYPE_QUADRANT_ROTATION, TYPE_TRANSLATION, TYPE_UNIFORM_SCALE
 
Constructor Summary
protected GraphicsDisplay.TransformProxy()
           
 
Method Summary
 void rotate(double t)
           
 void scale(double sx, double sy)
           
 void translate(double tx, double ty)
           
 
Methods inherited from class java.awt.geom.AffineTransform
clone, concatenate, createInverse, createTransformedShape, deltaTransform, deltaTransform, equals, getDeterminant, getMatrix, getQuadrantRotateInstance, getQuadrantRotateInstance, getRotateInstance, getRotateInstance, getRotateInstance, getRotateInstance, getScaleInstance, getScaleX, getScaleY, getShearInstance, getShearX, getShearY, getTranslateInstance, getTranslateX, getTranslateY, getType, hashCode, inverseTransform, inverseTransform, invert, isIdentity, preConcatenate, quadrantRotate, quadrantRotate, rotate, rotate, rotate, setToIdentity, setToQuadrantRotation, setToQuadrantRotation, setToRotation, setToRotation, setToRotation, setToRotation, setToScale, setToShear, setToTranslation, setTransform, setTransform, shear, toString, transform, transform, transform, transform, transform, transform
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

g2d

private java.awt.Graphics2D g2d

The Graphics2D whose transform we proxy.

Constructor Detail

GraphicsDisplay.TransformProxy

protected GraphicsDisplay.TransformProxy()
Method Detail

rotate

public void rotate(double t)
Overrides:
rotate in class java.awt.geom.AffineTransform

translate

public void translate(double tx,
                      double ty)
Overrides:
translate in class java.awt.geom.AffineTransform

scale

public void scale(double sx,
                  double sy)
Overrides:
scale in class java.awt.geom.AffineTransform