: Index

Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A C D F G H I L M P R S T U W _

## A

actualPaint(Graphics2D) - Method in class NGP.Graphics.Filled3DRectangle
  Normal users need not use this!
actualPaint(Graphics2D) - Method in class NGP.Graphics.FilledRectangularShape
actualPaint(Graphics2D) - Method in class NGP.Graphics.Framed3DRectangle
  Normal users need not use this!
actualPaint(Graphics2D) - Method in class NGP.Graphics.FramedRectangularShape
  Normal users need not use this!
actualPaint(Graphics2D) - Method in class NGP.Graphics.Line
  Normal users need not use this!
actualPaint(Graphics2D) - Method in class NGP.Graphics.Shape
  Subclasses will define how painting actually works, filled or framed

## C

contains(Point) - Method in class NGP.Graphics.Image
  See if this Image contains the Point
contains(Point) - Method in class NGP.Graphics.Shape
  Determine if a Point is within this shape.
contains(Point) - Method in class NGP.Graphics.Text
  Return whether this Text contains the Point passed in
createBounds() - Method in class NGP.Graphics.Text
  Create the bounding rectangle for this text object.

## D

drag(MouseEvent) - Method in class NGP.Graphics.Image
  Override to do something useful.
drag(MouseEvent) - Method in class NGP.Graphics.Shape
  Override to do something useful.
drag(MouseEvent) - Method in class NGP.Graphics.Text
  Override to do something useful.

## F

Filled3DRectangle - class NGP.Graphics.Filled3DRectangle.
  A special subclass of FilledRectangularShape that draws 3D rectangles.
Filled3DRectangle(DrawingPanel) - Constructor for class NGP.Graphics.Filled3DRectangle
  Create a Filled3DRectangle with the specified DrawingPanel
FilledEllipse - class NGP.Graphics.FilledEllipse.
  A filled elliptical shape (for ovals and circles).
FilledEllipse(DrawingPanel) - Constructor for class NGP.Graphics.FilledEllipse
  Create an Ellipse with the specified DrawingPanel
FilledRectangle - class NGP.Graphics.FilledRectangle.
  A filled rectangular shape (for rectangles and squares)
FilledRectangle(DrawingPanel) - Constructor for class NGP.Graphics.FilledRectangle
  Create a Rectangle with the specified DrawingPanel
FilledRectangularShape - class NGP.Graphics.FilledRectangularShape.
  All subclasses will use a filled in drawing method.
FilledRectangularShape(DrawingPanel, Shape) - Constructor for class NGP.Graphics.FilledRectangularShape
FilledRoundRectangle - class NGP.Graphics.FilledRoundRectangle.
  A filled rounded-edges rectangle.
FilledRoundRectangle(DrawingPanel) - Constructor for class NGP.Graphics.FilledRoundRectangle
  Create a RoundRectangle with the specified DrawingPanel and arc width and height of 5.
Framed3DRectangle - class NGP.Graphics.Framed3DRectangle.
  A special subclass of FramedRectangularShape that draws 3D rectangles.
Framed3DRectangle(DrawingPanel) - Constructor for class NGP.Graphics.Framed3DRectangle
  Create a Framed3DRectangle with the specified DrawingPanel
FramedEllipse - class NGP.Graphics.FramedEllipse.
  A framed elliptical shape (for ovals and circles)
FramedEllipse(DrawingPanel) - Constructor for class NGP.Graphics.FramedEllipse
  Create an Ellipse with the specified DrawingPanel
FramedRectangle - class NGP.Graphics.FramedRectangle.
  A framed rectangular shape (for rectangles and squares)
FramedRectangle(DrawingPanel) - Constructor for class NGP.Graphics.FramedRectangle
  Create a Rectangle with the specified DrawingPanel
FramedRectangularShape - class NGP.Graphics.FramedRectangularShape.
  All subclasses use an outlined drawing method.
FramedRectangularShape(DrawingPanel, Shape) - Constructor for class NGP.Graphics.FramedRectangularShape
  Create the shape with a default outline thickness of 1
FramedRoundRectangle - class NGP.Graphics.FramedRoundRectangle.
  A framed rounded-edge rectangle.
FramedRoundRectangle(DrawingPanel) - Constructor for class NGP.Graphics.FramedRoundRectangle
  Create a RoundRectangle with the specified DrawingPanel and an arc height and width of 5.

## G

getAWTImage() - Method in class NGP.Graphics.Image
  Get the AWT Image that we are using, not necessary for most users.
getBounds() - Method in class NGP.Graphics.FramedRectangularShape
getBounds() - Method in class NGP.Graphics.Image
  Get the rectangle that indicates the bounds of this `Image`
getBounds() - Method in class NGP.Graphics.Line
  Return the bounding rectangle.
getBounds() - Method in class NGP.Graphics.Shape
  Find the bounding rectangle of this Shape.
getBounds() - Method in class NGP.Graphics.Text
  Return the rectangle that represents the bounds of this Text
getCenterLocation() - Method in class NGP.Graphics.Image
  Return the Point that represents the center of the bounding rectangle of this shape.
getCenterLocation() - Method in class NGP.Graphics.Shape
  Return the Point that represents the center of the bounding rectangle of this shape.
getCenterLocation() - Method in class NGP.Graphics.Text
  Return the Point that represents the center of the bounding rectangle of this shape.
getColor() - Method in class NGP.Graphics.Shape
  Get the color of the Shape
getColor() - Method in class NGP.Graphics.Text
  Get the color of this Text object
getDimension() - Method in class NGP.Graphics.Image
  Get the dimensions of this Image
getDimension() - Method in class NGP.Graphics.RectangularShape
  Get the dimensions of this RectangularShape.
getDrawingPanel() - Method in class NGP.Graphics.Image
  Get the DrawingPanel for this Image
getDrawingPanel() - Method in class NGP.Graphics.Shape
  Return the DrawingPanel for this Shape
getDrawingPanel() - Method in class NGP.Graphics.Text
  Return the DrawingPanel for this Shape
getFont() - Method in class NGP.Graphics.Text
  Get the font that this Text is using.
getFontSize() - Method in class NGP.Graphics.Text
  Return the font size of the Text object.
getLocation() - Method in class NGP.Graphics.Image
  Get the location of this Image
getLocation() - Method in class NGP.Graphics.RectangularShape
  Get the location of this RectangularShape
getLocation() - Method in class NGP.Graphics.Text
  Get the current location of this Text
getP1() - Method in class NGP.Graphics.Line
  Gets the first endpoint
getP2() - Method in class NGP.Graphics.Line
  Gets the second endpoint
getRotation() - Method in class NGP.Graphics.Image
  Get the rotation for this Image
getRotation() - Method in class NGP.Graphics.Shape
  Get the rotation of the Shape.
getRotation() - Method in class NGP.Graphics.Text
  Get the rotation for this Text
getString() - Method in class NGP.Graphics.Text
  Get the String that this Text is using
getThickness() - Method in class NGP.Graphics.FramedRectangularShape
  Get the thickness of this shape
getThickness() - Method in class NGP.Graphics.Line
  Get the thickness of the Line

## H

hide() - Method in class NGP.Graphics.Image
  Hide the Image so it won't paint
hide() - Method in class NGP.Graphics.Shape
  Hide the Shape so it won't be drawn anymore (NGP will lose it's reference to it).
hide() - Method in class NGP.Graphics.Text
  Hide the Text so it won't be drawn anymore (NGP will lose it's reference to it).

## I

Image - class NGP.Graphics.Image.
  An image that knows how to draw itself on the screen.
Image(DrawingPanel, String) - Constructor for class NGP.Graphics.Image
  Create an image from a filename.
Image(DrawingPanel, URL) - Constructor for class NGP.Graphics.Image
  Create an image from a URL.
intersects(Graphic) - Method in class NGP.Graphics.Image
  Determine whether the passed in `Graphic` intersects with this `Image`.
intersects(Graphic) - Method in class NGP.Graphics.Shape
  Determine if the passed in `Graphic` intersects with this `Shape`.
intersects(Graphic) - Method in class NGP.Graphics.Text
  Return whether this Text intersects with the passed in Graphic

## L

Line - class NGP.Graphics.Line.
  A Line is a Shape composed of two endpoints.
Line(DrawingPanel) - Constructor for class NGP.Graphics.Line
  Create a line with the given DrawingPanel

## M

mouseClicked(MouseEvent) - Method in class NGP.Graphics.Image
  Called when the Panel detects that the mouse was clicked.
mouseClicked(MouseEvent) - Method in class NGP.Graphics.Shape
  Called when the Panel detects that the mouse was clicked.
mouseClicked(MouseEvent) - Method in class NGP.Graphics.Text
  Called when the Panel detects that the mouse was clicked.
mouseDragged(MouseEvent) - Method in class NGP.Graphics.Image
  Called when the Panel detects that the mouse was dragged.
mouseDragged(MouseEvent) - Method in class NGP.Graphics.Shape
  Called when the Panel detects that the mouse was dragged.
mouseDragged(MouseEvent) - Method in class NGP.Graphics.Text
  Called when the Panel detects that the mouse was dragged.
mouseEntered(MouseEvent) - Method in class NGP.Graphics.Image
  Called when the Panel detects that the mouse entered.
mouseEntered(MouseEvent) - Method in class NGP.Graphics.Shape
  Called when the Panel detects that the mouse entered.
mouseEntered(MouseEvent) - Method in class NGP.Graphics.Text
  Called when the Panel detects that the mouse entered.
mouseExited(MouseEvent) - Method in class NGP.Graphics.Image
  Called when the Panel detects that the mouse exited.
mouseExited(MouseEvent) - Method in class NGP.Graphics.Shape
  Called when the Panel detects that the mouse exited.
mouseExited(MouseEvent) - Method in class NGP.Graphics.Text
  Called when the Panel detects that the mouse exited.
mouseMoved(MouseEvent) - Method in class NGP.Graphics.Image
  Called when the Panel detects that the mouse was moved.
mouseMoved(MouseEvent) - Method in class NGP.Graphics.Shape
  Called when the Panel detects that the mouse was moved.
mouseMoved(MouseEvent) - Method in class NGP.Graphics.Text
  Called when the Panel detects that the mouse was moved.
mousePressed(MouseEvent) - Method in class NGP.Graphics.Image
  Called when the Panel detects that the mouse was pressed.
mousePressed(MouseEvent) - Method in class NGP.Graphics.Shape
  Called when the Panel detects that the mouse was pressed.
mousePressed(MouseEvent) - Method in class NGP.Graphics.Text
  Called when the Panel detects that the mouse was pressed.
mouseReleased(MouseEvent) - Method in class NGP.Graphics.Image
  Called when the Panel detects that the mouse was released.
mouseReleased(MouseEvent) - Method in class NGP.Graphics.Shape
  Called when the Panel detects that the mouse was released.
mouseReleased(MouseEvent) - Method in class NGP.Graphics.Text
  Called when the Panel detects that the mouse was released.

## P

paint(Graphics2D) - Method in class NGP.Graphics.Image
  Normal users need not use this!
paint(Graphics2D) - Method in class NGP.Graphics.Shape
  Normal users need not use this!
paint(Graphics2D) - Method in class NGP.Graphics.Text
  Normal users need not use this!

## R

react() - Method in class NGP.Graphics.Image
  Override to do something useful.
react() - Method in class NGP.Graphics.Line
  Lines cannot react.
react() - Method in class NGP.Graphics.Shape
  Override to do something useful.
react() - Method in class NGP.Graphics.Text
  Override to do something useful.
RectangularShape - class NGP.Graphics.RectangularShape.
  Used for defining the all of the geometric shapes except for a Line.
RectangularShape(DrawingPanel, Shape) - Constructor for class NGP.Graphics.RectangularShape
  Create a RectangularShape in the specified DrawingPanel

## S

setCenterLocation(Point) - Method in class NGP.Graphics.Image
  Set the location of the Image so that its center point is at the specified location.
setCenterLocation(Point) - Method in class NGP.Graphics.RectangularShape
  Set the location of the RectangularShape so that its center point is at the specified location.
setCenterLocation(Point) - Method in class NGP.Graphics.Text
  Set the location of the Text so that its center point is at the specified location.
setColor(Color) - Method in class NGP.Graphics.Shape
  Set the color of the Shape
setColor(Color) - Method in class NGP.Graphics.Text
  Set the color of this Text object.
setDimension(Dimension) - Method in class NGP.Graphics.Image
  Set the dimensions of this Image
setDimension(Dimension) - Method in class NGP.Graphics.RectangularShape
  Set the dimensions of this RectangularShape.
setDrawingPanel(DrawingPanel) - Method in class NGP.Graphics.Image
  Set the DrawingPanel for this Image
setDrawingPanel(DrawingPanel) - Method in class NGP.Graphics.Shape
  Set the DrawingPanel of this Shape so that it appears somewhere else.
setDrawingPanel(DrawingPanel) - Method in class NGP.Graphics.Text
  Set the DrawingPanel of this Text so that it appears somewhere else.
setFont(Font) - Method in class NGP.Graphics.Text
  Set the font of this Text object.
setFontSize(int) - Method in class NGP.Graphics.Text
  Set the font size of the Text object.
setLocation(Point) - Method in class NGP.Graphics.Image
  Set the location of this Image
setLocation(Point) - Method in class NGP.Graphics.RectangularShape
  Set the location of this RectangularShape
setLocation(Point) - Method in class NGP.Graphics.Text
  Set the location for this Text object
setPoints(Point, Point) - Method in class NGP.Graphics.Line
  Set the endpoints for this Line.
setRotation(int) - Method in class NGP.Graphics.Image
  Set the rotation for this Image
setRotation(int) - Method in class NGP.Graphics.Shape
  Set the rotation of the Shape.
setRotation(int) - Method in class NGP.Graphics.Text
  Set the rotation for this Text
setString(String) - Method in class NGP.Graphics.Text
  Set the String that this Text should use
setThickness(float) - Method in class NGP.Graphics.FramedRectangularShape
  Set the thickness of this shape
setThickness(float) - Method in class NGP.Graphics.Line
  Set the thickness of the Line
setup(DrawingPanel) - Method in class NGP.Graphics.Image
  Normal users need not use this!
Shape - class NGP.Graphics.Shape.
  A geometric object that knows how to draw itself on the screen.
Shape(DrawingPanel, Shape) - Constructor for class NGP.Graphics.Shape
  Create a Shape with the specified DrawingPanel
show() - Method in class NGP.Graphics.Image
  Show the Image so it paints
show() - Method in class NGP.Graphics.Shape
  Show the shape so it will be drawn (NGP now has a reference to it).
show() - Method in class NGP.Graphics.Text
  Show the Text so it will be drawn (NGP now has a reference to it).

## T

Text - class NGP.Graphics.Text.
  A graphical text object.
Text(DrawingPanel, String) - Constructor for class NGP.Graphics.Text
  Create a Text object with the passed in DrawingPanel and use the passed in String as its text.

## U

unwrap() - Method in class NGP.Graphics.Image
  Set this image so that it will does not necessarily display in its DrawingPanel
unwrap() - Method in class NGP.Graphics.RectangularShape
  Set this shape so that it will does not necessarily display in its DrawingPanel
unwrap() - Method in class NGP.Graphics.Text
  Set this Text so that it will does not necessarily display in its DrawingPanel

## W

wrap() - Method in class NGP.Graphics.Image
  Set this image so that it will always display in its DrawingPanel
wrap() - Method in class NGP.Graphics.RectangularShape
  Set this shape so that it will always display in its DrawingPanel
wrap() - Method in class NGP.Graphics.Text
  Set this Text so that it will always display in its DrawingPanel

## _

_awtShape - Variable in class NGP.Graphics.Shape
  The AWT geometric shape used for drawing
_dpanel - Variable in class NGP.Graphics.Shape
  The DrawingPanel that contains this Shape

A C D F G H I L M P R S T U W _

Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES