B C D F G H I M N P Q S T U W X Y

B

backward(double) - Method in class gpdraw.DrawingTool
This DrawingTool object is moved backward from current direction by distance pixels from the old (previous) location.

C

color - Variable in class gpdraw.DrawingTool
 

D

direction - Variable in class gpdraw.DrawingTool
 
down() - Method in class gpdraw.DrawingTool
This object is set to drawing mode.
drawCircle(double) - Method in class gpdraw.DrawingTool
If the object is in drawing mode, Draws a circle of radius radius around the current location using the current width and color.
DrawingTool - Class in gpdraw
DrawingTool is a graphics environment that provides methods for a programmer to draw pictures by moving an object (called a DrawingTool) around on the screen The center of the graphics window is at location 0,0.
DrawingTool() - Constructor for class gpdraw.DrawingTool
Constructor.
DrawingTool(long) - Constructor for class gpdraw.DrawingTool
Constructor.
DrawingTool(SketchPad) - Constructor for class gpdraw.DrawingTool
Constructor.
drawLine(double, double) - Method in class gpdraw.DrawingTool
 
drawOval(double, double) - Method in class gpdraw.DrawingTool
Draws the outline of an oval.
drawRect(double, double) - Method in class gpdraw.DrawingTool
Draws the outline of the specified rectangle.
drawString(String) - Method in class gpdraw.DrawingTool
Draw the string text at the current location using the current color.

F

fastSpeedMI - Variable in class gpdraw.SketchPad
 
fillCircle(double) - Method in class gpdraw.DrawingTool
If the object is in drawing mode, Draws and fills a circle of radius radius around the current location using the current pen width and color.
fillOval(double, double) - Method in class gpdraw.DrawingTool
Fills the specified oval.
fillRect(double, double) - Method in class gpdraw.DrawingTool
Fills the specified rectangle.
forward(double) - Method in class gpdraw.DrawingTool
This DrawingTool object is moved forward from current direction by distance pixels from the old (previous) location.

G

getColor() - Method in class gpdraw.DrawingTool
Gets the color of the DrawingTool
getDirection() - Method in class gpdraw.DrawingTool
Gets the direction of this DrawingTool.
getPadPanel() - Method in class gpdraw.DrawingTool
Returns the SketchPadPanel object for this DrawingTool.
getPosition() - Method in class gpdraw.DrawingTool
Gets the x and y coordinates of the current postion of this DrawingTool.
getWidth() - Method in class gpdraw.DrawingTool
Get the drawing width of the DrawingTool
getXPos() - Method in class gpdraw.DrawingTool
Gets the x coordinate of the current postion of this DrawingTool.
getYPos() - Method in class gpdraw.DrawingTool
Gets the y coordinate of the current postion of this DrawingTool.
gpdraw - package gpdraw
 

H

home() - Method in class gpdraw.DrawingTool
The location of the DrawingTool object is set to the center of the SketchPad window with the drawing direction of the object set to up.

I

initialize(SketchPadPanel) - Method in class gpdraw.DrawingTool
Initializes the state of this DrawingTool.
isDown - Variable in class gpdraw.DrawingTool
 
isDown() - Method in class gpdraw.DrawingTool
Get the drawing width of the DrawingTool

M

mediumSpeedMI - Variable in class gpdraw.SketchPad
 
menuItemSelected(JMenuItem) - Method in class gpdraw.SketchPad
The application must implement this method in order to handle menu events.
move(double) - Method in class gpdraw.DrawingTool
This DrawingTool object is moved in the current direction by distance pixels from the old (previous) location.
move(double, double) - Method in class gpdraw.DrawingTool
This DrawingTool object is moved from the current position to the position specified by the coordinates x and y.

N

noDelaySpeedMI - Variable in class gpdraw.SketchPad
 

P

pad - Variable in class gpdraw.DrawingTool
 
pad - Variable in class gpdraw.SketchPad
 

Q

quitFileMI - Variable in class gpdraw.SketchPad
 

S

setColor(Color) - Method in class gpdraw.DrawingTool
The color of the DrawingTool object is set to c.
setDirection(double) - Method in class gpdraw.DrawingTool
Sets the direction to d degrees.
setWidth(int) - Method in class gpdraw.DrawingTool
Sets the width of the DrawingTool object is to width pixels.
SketchPad - Class in gpdraw
A SketchPad is a top-level window for use with a DrawingTool object The center of the graphics window is at location 0,0.
SketchPad(SketchPadPanel) - Constructor for class gpdraw.SketchPad
Constructor.
SketchPad(int, int) - Constructor for class gpdraw.SketchPad
Constructor.
SketchPad(int, int, long) - Constructor for class gpdraw.SketchPad
Constructor.
slowSpeedMI - Variable in class gpdraw.SketchPad
 

T

toString() - Method in class gpdraw.DrawingTool
Returns a string representation of this object.
turn(double) - Method in class gpdraw.DrawingTool
Changes the current direction counterclockwise by degrees degrees from the current direction
turn(double, double) - Method in class gpdraw.DrawingTool
 
turnLeft(double) - Method in class gpdraw.DrawingTool
Changes the current direction counterclockwise by degrees degrees from the current direction
turnLeft() - Method in class gpdraw.DrawingTool
Changes the current direction counterclockwise by 90 degrees from the current direction
turnRight(double) - Method in class gpdraw.DrawingTool
Changes the current direction clockwise by degrees degrees from the current direction
turnRight() - Method in class gpdraw.DrawingTool
Changes the current direction clockwise by 90 degrees from the current direction

U

up() - Method in class gpdraw.DrawingTool
This object is set to moving mode.

W

width - Variable in class gpdraw.DrawingTool
 

X

xPos - Variable in class gpdraw.DrawingTool
 

Y

yPos - Variable in class gpdraw.DrawingTool
 

B C D F G H I M N P Q S T U W X Y