A B C D E F H I J M N P R S T U

A

add(DrawingController) - Method in class galapagos.TurtleDrawingWindow
A mutator method that adds another DrawingController that will draw its trajectory on this canvas.
addOwner(DrawingController) - Method in class galapagos.DrawingCanvas
A mutator method that adds another DrawingController that will draw its trajectory on this canvas.

B

backup(double) - Method in class galapagos.Turtle
Moves this turtle backward for a specified length.
bodyColor(Color) - Method in class galapagos.Turtle
Changes the body color of this turtle.
bodyShape(Point[]) - Method in class galapagos.Turtle
Sets the shape of this turtle to the give shape expressed in an array of Point objects.

C

clear() - Method in class galapagos.DrawingCanvas
Erases the current contents of the PlottingCanvas by painting the whole canvas with the background color.
clear() - Method in class galapagos.TurtleDrawingWindow
Erases the current contents of the PlottingCanvas by painting the whole canvas with the background color.
CREATE_DEFAULT_WINDOW - Static variable in class galapagos.Turtle
Constant for creating a default drawing window

D

DrawingCanvas - class galapagos.DrawingCanvas.
Generic Canvas descendant object for drawing lines.
DrawingCanvas() - Constructor for class galapagos.DrawingCanvas
A default constructor that creates an instance of the PlottingCanvas class.
drawPolygon(Graphics, Polygon, Color) - Method in class galapagos.DrawingCanvas
 

E

EMPTY - Variable in class galapagos.DrawingCanvas
A class constant for denoting an empty list.

F

forward(double) - Method in class galapagos.Turtle
Moves this turtle forward for a given length.

H

heading(double) - Method in class galapagos.Turtle
Sets this turtle's heading for a specified degree.
hide() - Method in class galapagos.Turtle
Hides this turtle.

I

init() - Method in class galapagos.DrawingCanvas
Initializes the necessary objects for double-buffering drawing.
init() - Method in class galapagos.Turtle
Initializes this turtle.

J

jumpTo(double, double) - Method in class galapagos.Turtle
Jumps to the given (x, y).

M

move(double) - Method in class galapagos.Turtle
Moves this turtle's for a specified length.
moveTo(double, double) - Method in class galapagos.Turtle
Moves this turtle to the specified target (x, y) position.

N

NO_DEFAULT_WINDOW - Static variable in class galapagos.Turtle
Constant for not creating any default drawing window

P

paint(Graphics) - Method in class galapagos.DrawingCanvas
Painting of the canvas is done by drawing the whole contents using the double-buffering technique.
pause() - Method in class galapagos.Turtle
Stops this turtle from moving.
penColor(Color) - Method in class galapagos.Turtle
Sets the color of the turtle's pen.
penDown() - Method in class galapagos.Turtle
Sets the pen state to down.
penSize(int) - Method in class galapagos.Turtle
Sets the size of this turtle's pen.
penUp() - Method in class galapagos.Turtle
Sets the pen state to up.
plot(Graphics, Color, double, Position, Position) - Method in class galapagos.DrawingCanvas
Draws a line between two points pt1 and pt2 on the parameter graphic.

R

redraw(Graphics) - Method in class galapagos.Turtle
Required method to implement the DrawingController interface.
run() - Method in class galapagos.Turtle
Required method to implement the Runnable interface.

S

setCanvas(DrawingCanvas) - Method in class galapagos.Turtle
Required method to implement the DrawingController interface.
setGrid(boolean) - Method in class galapagos.DrawingCanvas
A mutator method that sets the flag for drawing the grid lines.
setGrid(boolean) - Method in class galapagos.TurtleDrawingWindow
A mutator method that sets the flag for drawing the grid lines.
setOrigin(int, int) - Method in class galapagos.DrawingCanvas
A mutator method that sets the origin point.
setOrigin(int, int) - Method in class galapagos.TurtleDrawingWindow
A mutator method that sets the origin point.
setUnit(double) - Method in class galapagos.DrawingCanvas
A mutator method that sets the scaling factor.
setUnit(double) - Method in class galapagos.TurtleDrawingWindow
A mutator method that sets the scaling factor.
setVisible(boolean) - Method in class galapagos.TurtleDrawingWindow
Overrides the inherited method so the canvas is set up correctly.
show() - Method in class galapagos.Turtle
Shows this turtle.
speed(int) - Method in class galapagos.Turtle
Changes the speed of this turtle
start() - Method in class galapagos.Turtle
Starts moving this turtle in its own thread.

T

turn(double) - Method in class galapagos.Turtle
Turns the turtle
Turtle - class galapagos.Turtle.
This Turtle draws geometric shapes a DrawingCanvas.
Turtle() - Constructor for class galapagos.Turtle
A default constructor that creates an instance of the Turtle class with a default drawing window.
Turtle(int) - Constructor for class galapagos.Turtle
Constructs a standard turtle with or without default drawing window assigned.
TurtleDrawingWindow - class galapagos.TurtleDrawingWindow.
A simple window for allowing turtles to draw.
TurtleDrawingWindow() - Constructor for class galapagos.TurtleDrawingWindow
A default constructor that creates an instance of the PlottingCanvas class.

U

update(Graphics) - Method in class galapagos.DrawingCanvas
Overrides the inherited update so no refreshing is done.

A B C D E F H I J M N P R S T U