NGP.Graphics
Class FramedRectangle

java.lang.Object
  extended byNGP.Graphics.Shape
      extended byNGP.Graphics.RectangularShape
          extended byNGP.Graphics.FramedRectangularShape
              extended byNGP.Graphics.FramedRectangle
All Implemented Interfaces:
Colorable, EventListener, Graphic, Locatable, MouseListener, MouseMotionListener, Reactor, Rotatable, Sizeable

public class FramedRectangle
extends FramedRectangularShape

A framed rectangular shape (for rectangles and squares)

Author:
Matt Chotin (mhc)

Field Summary
 
Fields inherited from class NGP.Graphics.Shape
_awtShape, _dpanel
 
Fields inherited from interface NGP.Colorable
DEFAULT_GRAY
 
Constructor Summary
FramedRectangle(DrawingPanel dp)
          Create a Rectangle with the specified DrawingPanel
 
Methods inherited from class NGP.Graphics.FramedRectangularShape
actualPaint, getBounds, getThickness, setThickness
 
Methods inherited from class NGP.Graphics.RectangularShape
getDimension, getLocation, setCenterLocation, setDimension, setLocation, unwrap, wrap
 
Methods inherited from class NGP.Graphics.Shape
contains, drag, 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
 

Constructor Detail

FramedRectangle

public FramedRectangle(DrawingPanel dp)
Create a Rectangle with the specified DrawingPanel

Parameters:
dp - the DrawingPanel for this Rectangle