org.akutan.gui
Class CrossCircle

java.lang.Object
  extended by java.awt.geom.RectangularShape
      extended by java.awt.geom.Ellipse2D
          extended by java.awt.geom.Ellipse2D.Float
              extended by org.akutan.gui.CrossCircle
All Implemented Interfaces:
java.awt.Shape, java.io.Serializable, java.lang.Cloneable

public class CrossCircle
extends java.awt.geom.Ellipse2D.Float

Extends the Ellipse Shape to draw a circle with lines through it.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Ellipse2D
java.awt.geom.Ellipse2D.Double, java.awt.geom.Ellipse2D.Float
 
Field Summary
 
Fields inherited from class java.awt.geom.Ellipse2D.Float
height, width, x, y
 
Constructor Summary
CrossCircle(float w, float h)
          Constucts with a width and height
 
Method Summary
 java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
          Called to return the PathIterator to the objects responsible for drawing the shape
 
Methods inherited from class java.awt.geom.Ellipse2D.Float
getBounds2D, getHeight, getWidth, getX, getY, isEmpty, setFrame, setFrame
 
Methods inherited from class java.awt.geom.Ellipse2D
contains, contains, equals, hashCode, intersects
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, getPathIterator, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrossCircle

public CrossCircle(float w,
                   float h)
Constucts with a width and height

Parameters:
w - width
h - height
Method Detail

getPathIterator

public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
Called to return the PathIterator to the objects responsible for drawing the shape

Specified by:
getPathIterator in interface java.awt.Shape
Overrides:
getPathIterator in class java.awt.geom.Ellipse2D
See Also:
Ellipse2D.getPathIterator(java.awt.geom.AffineTransform)