CSE115.ShapeWorld
Class CircleGraphic

java.lang.Object
  extended byNGP.Graphics.Shape
      extended byNGP.Graphics.RectangularShape
          extended byNGP.Graphics.FilledRectangularShape
              extended byNGP.Graphics.FilledEllipse
                  extended byCSE115.ShapeWorld.CircleGraphic
All Implemented Interfaces:
Colorable, EventListener, Graphic, Graphic, Locatable, MouseListener, MouseMotionListener, Reactor, Rotatable, Sizeable

public class CircleGraphic
extends FilledEllipse
implements Graphic

A circle that moves when told to. Created: Wed Sep 15, 2004

Author:
Carl Alphonce

Field Summary
 
Fields inherited from class NGP.Graphics.Shape
_awtShape, _dpanel
 
Fields inherited from interface NGP.Colorable
DEFAULT_GRAY
 
Constructor Summary
CircleGraphic(DrawingPanel dp)
          Creates a new CircleGraphic instance.
 
Methods inherited from class NGP.Graphics.FilledRectangularShape
actualPaint
 
Methods inherited from class NGP.Graphics.RectangularShape
getDimension, getLocation, setCenterLocation, setDimension, setLocation, unwrap, wrap
 
Methods inherited from class NGP.Graphics.Shape
contains, drag, getBounds, getCenterLocation, getColor, getDrawingPanel, getRotation, hide, intersects, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, react, setColor, setDrawingPanel, setRotation, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface CSE115.ShapeWorld.Graphic
getCenterLocation, getColor, getDimension, getDrawingPanel, getLocation, getRotation, setCenterLocation, setColor, setDimension, setDrawingPanel, setLocation, setRotation
 

Constructor Detail

CircleGraphic

public CircleGraphic(DrawingPanel dp)
Creates a new CircleGraphic instance.