C D G R W 

C

clickHitEllipse(int, int, int, int, int, int) - Static method in class DrawingObject
This utility function makes it easy to check whether the coordinates of the user's mouse click (px,py) are on (or very close to) the ellipse defined by the bounding box with corners at (x1,y1) and (x2,y2).
clickHitLine(int, int, int, int, int, int) - Static method in class DrawingObject
This utility function makes it easy to check whether the coordinates of the user's mouse click (px,py) are on (or very close to) the line between the two points, (x1,y1) and (x2,y2).

D

DrawingEllipse - Class in <Unnamed>
A DrawingEllipse is an extension of the DrawingObject abstract class.
DrawingEllipse(int, int, int, int) - Constructor for class DrawingEllipse
This constructs a new DrawingEllipse object.
DrawingLine - Class in <Unnamed>
A DrawingLine is an extension of the DrawingObject abstract class.
DrawingLine(int, int, int, int) - Constructor for class DrawingLine
This constructs a new DrawingLine object.
DrawingObject - Class in <Unnamed>
This abstract class defines the four functions that all of the DrawingObject derived classes must have.
DrawingObject() - Constructor for class DrawingObject
 
DrawingSquare - Class in <Unnamed>
A DrawingSquare is an extension of the DrawingObject abstract class.
DrawingSquare(int, int, int, int) - Constructor for class DrawingSquare
This constructs a new DrawingSquare object.
DrawingX - Class in <Unnamed>
A DrawingX is an extension of the DrawingObject abstract class.
DrawingX(int, int, int, int) - Constructor for class DrawingX
This constructs a new DrawingX object.
drawObject(Graphics2D) - Method in class DrawingEllipse
This function draws the ellipse using the given Graphics2D context.
drawObject(Graphics2D) - Method in class DrawingLine
This function draws the line using the given Graphics2D context.
drawObject(Graphics2D) - Method in class DrawingObject
This function is called to request that the object draw itself using the provided Graphics2D context.
drawObject(Graphics2D) - Method in class DrawingSquare
This function draws the square using the given Graphics2D context.
drawObject(Graphics2D) - Method in class DrawingX
This function draws the X using the given Graphics2D context.

G

getBoundingBox() - Method in class DrawingEllipse
This function returns a Bounding Box.
getBoundingBox() - Method in class DrawingLine
This function returns a Bounding Box.
getBoundingBox() - Method in class DrawingObject
This function returns a Rectangle object that describes the 'bounding box'.
getBoundingBox() - Method in class DrawingSquare
This function returns a Bounding Box.
getBoundingBox() - Method in class DrawingX
This function returns a Bounding Box.

R

resizeObject(int, int, int, int) - Method in class DrawingEllipse
This resizes a DrawingEllipse object.
resizeObject(int, int, int, int) - Method in class DrawingLine
This resizes a DrawingLine object.
resizeObject(int, int, int, int) - Method in class DrawingObject
This function changes the coordinates that define the location and size of the object.
resizeObject(int, int, int, int) - Method in class DrawingSquare
This resizes a DrawingSquare object.
resizeObject(int, int, int, int) - Method in class DrawingX
This resizes a DrawingX object.

W

wasClicked(int, int) - Method in class DrawingEllipse
This function determines whether the given point (px, py), where the user has clicked, hits the edge of this ellipse.
wasClicked(int, int) - Method in class DrawingLine
This function determines whether the given point (px, py), where the user has clicked, hits this line.
wasClicked(int, int) - Method in class DrawingObject
This function returns a boolean that indicates whether the provided coordinate (px,py) hits any part of the object.
wasClicked(int, int) - Method in class DrawingSquare
This function determines whether the given point (px, py), where the user has clicked, hits the edge of this square.
wasClicked(int, int) - Method in class DrawingX
This function determines whether the given point (px, py), where the user has clicked, hits any part of this X.
C D G R W