Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
F
G
H
I
J
M
N
P
R
S
T
A
add(DrawingController)
- Method in class galapagos.
TurtleDrawingWindow
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
CREATE_DEFAULT_WINDOW
- Static variable in class galapagos.
Turtle
Constant for creating a default drawing window
clear()
- Method in class galapagos.
TurtleDrawingWindow
Erases the current contents of the PlottingCanvas by painting the whole canvas with the background color.
F
forward(double)
- Method in class galapagos.
Turtle
Moves this turtle forward for a given length.
G
galapagos
- package galapagos
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.
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
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.
print(String)
- Method in class galapagos.
Turtle
Prints the given text at the current location
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.
TurtleDrawingWindow
A mutator method that sets the flag for drawing the grid lines.
setOrigin(int, int)
- Method in class galapagos.
TurtleDrawingWindow
A mutator method that sets the origin point.
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
Turtle
- Class in
galapagos
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 in
galapagos
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.
turn(double)
- Method in class galapagos.
Turtle
Turns the turtle
A
B
C
F
G
H
I
J
M
N
P
R
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes