A B C D H I M P R S T U W X Y

A

AbstractPen - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
AbstractPen(SketchPad) - Constructor for class TurtleGraphics.AbstractPen
 
adjustX(double, int) - Method in class TurtleGraphics.Command
 
adjustY(double, int) - Method in class TurtleGraphics.Command
 

B

BackwardPen - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
BackwardPen() - Constructor for class TurtleGraphics.BackwardPen
 
BackwardPen(SketchPad) - Constructor for class TurtleGraphics.BackwardPen
 
BackwardPen(SketchPadWindow) - Constructor for class TurtleGraphics.BackwardPen
 

C

color - Variable in class TurtleGraphics.AbstractPen
 
Command - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
Command() - Constructor for class TurtleGraphics.Command
 
CommandDrawLine - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
CommandDrawLine(double, double, double, double) - Constructor for class TurtleGraphics.CommandDrawLine
 
CommandDrawString - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
CommandDrawString(String, double, double) - Constructor for class TurtleGraphics.CommandDrawString
 
CommandSetColor - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
CommandSetColor(Color) - Constructor for class TurtleGraphics.CommandSetColor
 
CommandSetPenWidth - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
CommandSetPenWidth(int) - Constructor for class TurtleGraphics.CommandSetPenWidth
 

D

direction - Variable in class TurtleGraphics.AbstractPen
 
doCommand(Graphics2D, int, int) - Method in class TurtleGraphics.Command
 
doCommand(Graphics2D, int, int) - Method in class TurtleGraphics.CommandDrawLine
 
doCommand(Graphics2D, int, int) - Method in class TurtleGraphics.CommandDrawString
 
doCommand(Graphics2D, int, int) - Method in class TurtleGraphics.CommandSetColor
 
doCommand(Graphics2D, int, int) - Method in class TurtleGraphics.CommandSetPenWidth
 
down() - Method in class TurtleGraphics.AbstractPen
 
down() - Method in interface TurtleGraphics.Pen
Action: The pen lowers itself to the drawing surface.
drawCircle(double, double, double) - Method in class TurtleGraphics.Shapes
Action: Draws a circle.
drawLine(double, double) - Method in class TurtleGraphics.AbstractPen
 
drawLine(double, double) - Method in class TurtleGraphics.BackwardPen
 
drawLine(double, double, double, double) - Method in class TurtleGraphics.Shapes
Action: Draws a line segment.
drawLine(double, double, double, double, Color, int) - Method in class TurtleGraphics.SketchPad
 
drawLine(double, double) - Method in class TurtleGraphics.StandardPen
 
drawRectangle(double, double, double, double) - Method in class TurtleGraphics.Shapes
Action: Draws a rectangle.
drawString(String) - Method in class TurtleGraphics.AbstractPen
 
drawString(String) - Method in class TurtleGraphics.BackwardPen
 
drawString(String) - Method in interface TurtleGraphics.Pen
Action: Draws the string at the pen's position.
drawString(String) - Method in class TurtleGraphics.RainbowPen
 
drawString(String, double, double, Color) - Method in class TurtleGraphics.SketchPad
 
drawString(String) - Method in class TurtleGraphics.StandardPen
 
drawString(String) - Method in class TurtleGraphics.WiggleRainbowPen
 

H

home() - Method in class TurtleGraphics.AbstractPen
 
home() - Method in interface TurtleGraphics.Pen
The pen jumps to the center of the graphics window without drawing and points north.

I

isDown - Variable in class TurtleGraphics.AbstractPen
 
isDown() - Method in class TurtleGraphics.AbstractPen
 

M

move(double) - Method in class TurtleGraphics.AbstractPen
 
move(double, double) - Method in class TurtleGraphics.AbstractPen
 
move(double) - Method in interface TurtleGraphics.Pen
Action: The pen moves the specified distance in the current direction.
move(double, double) - Method in interface TurtleGraphics.Pen
Action: Moves the pen to the position (x, y).
move(double) - Method in class TurtleGraphics.RainbowPen
 
move(double, double) - Method in class TurtleGraphics.RainbowPen
 
move(double) - Method in class TurtleGraphics.WigglePen
 
move(double, double) - Method in class TurtleGraphics.WigglePen
 
move(double) - Method in class TurtleGraphics.WiggleRainbowPen
 
move(double, double) - Method in class TurtleGraphics.WiggleRainbowPen
 

P

pad - Variable in class TurtleGraphics.AbstractPen
 
paintComponent(Graphics) - Method in class TurtleGraphics.SketchPad
 
Pen - Interface in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.

R

RainbowPen - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
RainbowPen() - Constructor for class TurtleGraphics.RainbowPen
 
RainbowPen(SketchPad) - Constructor for class TurtleGraphics.RainbowPen
 
RainbowPen(SketchPadWindow) - Constructor for class TurtleGraphics.RainbowPen
 
round(double) - Method in class TurtleGraphics.Command
 

S

setColor(Color) - Method in class TurtleGraphics.AbstractPen
 
setColor(Color) - Method in interface TurtleGraphics.Pen
Action: Sets the pen's color to the specified color.
setColor(Color) - Method in class TurtleGraphics.Shapes
 
setColor(Color) - Method in class TurtleGraphics.SketchPad
 
setDirection(double) - Method in class TurtleGraphics.AbstractPen
 
setDirection(double) - Method in interface TurtleGraphics.Pen
Action: The pen points in the indicated direction.
setPenWidth(int) - Method in class TurtleGraphics.SketchPad
 
setWidth(int) - Method in class TurtleGraphics.AbstractPen
 
setWidth(int) - Method in interface TurtleGraphics.Pen
Action: Sets the pen's width to the specified width (the default width is 2 pixels).
Shapes - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
Shapes() - Constructor for class TurtleGraphics.Shapes
 
Shapes(int, int) - Constructor for class TurtleGraphics.Shapes
 
SketchPad - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
SketchPad() - Constructor for class TurtleGraphics.SketchPad
 
SketchPadWindow - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
SketchPadWindow() - Constructor for class TurtleGraphics.SketchPadWindow
Action: Sets the close operation to exit, but the client must add the sketchpad(s) and set all of the other attributes of the window.
SketchPadWindow(int, int) - Constructor for class TurtleGraphics.SketchPadWindow
Action: Sets the close operation to exit and the window's width and height to the parameters, but the client must add the sketchpad(s) and set all of the other attributes of the window.
SketchPadWindow(SketchPad) - Constructor for class TurtleGraphics.SketchPadWindow
Action: Pops up an application window with the client's sketchpad and a default size of 150, 150.
SketchPadWindow(int, int, SketchPad) - Constructor for class TurtleGraphics.SketchPadWindow
Action: Pops up an application window with the client's sketchpad, width, and height.
StandardPen - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
StandardPen() - Constructor for class TurtleGraphics.StandardPen
Action: Pops up an application window containing a sketchpad and an associated standard pen.
StandardPen(SketchPad) - Constructor for class TurtleGraphics.StandardPen
Action: Associates a standard pen with a client-supplied sketchpad.
StandardPen(SketchPadWindow) - Constructor for class TurtleGraphics.StandardPen
Action: Pops up the client's application window containing a sketchpad and an associated standard pen.

T

toString() - Method in class TurtleGraphics.AbstractPen
 
toString() - Method in interface TurtleGraphics.Pen
Action: Returns information about the pen's state.
turn(double) - Method in class TurtleGraphics.AbstractPen
 
turn(double, double) - Method in class TurtleGraphics.AbstractPen
 
turn(double) - Method in interface TurtleGraphics.Pen
Action: The pen adds the indicated degrees to its current direction.
TurtleGraphics - package TurtleGraphics
 

U

up() - Method in class TurtleGraphics.AbstractPen
 
up() - Method in interface TurtleGraphics.Pen
Action: The pen raises itself from the drawing surface.

W

width - Variable in class TurtleGraphics.AbstractPen
 
WigglePen - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
WigglePen() - Constructor for class TurtleGraphics.WigglePen
Action: Pops up an application window containing a sketchpad and an associated wiggle pen with a wiggle rate of 5 and a wiggle angle of 30 degrees.
WigglePen(SketchPad, int, double) - Constructor for class TurtleGraphics.WigglePen
Action: Associates a wiggle pen with the client's sketchpad using the client's wiggle rate and wiggle angle.
WigglePen(SketchPadWindow) - Constructor for class TurtleGraphics.WigglePen
Action: Pops up the client's application window containing a sketchpad and an associated wiggle pen.
WiggleRainbowPen - Class in TurtleGraphics
Copyright 2006 by Ken Lambert and Martin Osborne.
WiggleRainbowPen() - Constructor for class TurtleGraphics.WiggleRainbowPen
 
WiggleRainbowPen(SketchPad, int, double) - Constructor for class TurtleGraphics.WiggleRainbowPen
 
WiggleRainbowPen(SketchPadWindow) - Constructor for class TurtleGraphics.WiggleRainbowPen
 

X

xPos - Variable in class TurtleGraphics.AbstractPen
 

Y

yPos - Variable in class TurtleGraphics.AbstractPen
 

A B C D H I M P R S T U W X Y