Skip navigation links
A B C D E F G H I L M N O P R S T U W 

A

add(Track, Turtle.UnderTheShell) - Method in class org.gannacademy.cdf.turtlelogo.Terrarium
Adds a new turtle track to the terrarium
add(Turtle, Turtle.UnderTheShell) - Method in class org.gannacademy.cdf.turtlelogo.Terrarium
Adds a new turtle to the terrarium
AnimatedTurtle - Class in org.gannacademy.cdf.turtlelogo
Animated turtles are turtles that move more slowly, so that we can observe them following their instructions.
AnimatedTurtle() - Constructor for class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
Construct an animated turtle with DEFAULT_FRAME_DELAY
AnimatedTurtle(long) - Constructor for class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
Construct an animated turtle with a custom frame delay
AnimatedTurtle(Terrarium) - Constructor for class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
Construct an animated turtle with DEFAULT_FRAME_DELAY in a specific terrarium
AnimatedTurtle(long, Terrarium) - Constructor for class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
Construct an animated turtle with a custom frame delay in a specific terrarium

B

back(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
bk(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle

C

clear() - Method in class org.gannacademy.cdf.turtlelogo.Terrarium
Clear all turtle tracks from the terrarium

D

DEFAULT_BACKGROUND - Static variable in class org.gannacademy.cdf.turtlelogo.Terrarium
DEFAULT_FRAME_DELAY - Static variable in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
10 milliseconds
DEFAULT_HEADING_IN_DEGREES - Static variable in class org.gannacademy.cdf.turtlelogo.Turtle
DEFAULT_HEIGHT - Static variable in class org.gannacademy.cdf.turtlelogo.Terrarium
400 pixels
DEFAULT_HIDDEN - Static variable in class org.gannacademy.cdf.turtlelogo.Turtle
false
DEFAULT_PEN_COLOR - Static variable in class org.gannacademy.cdf.turtlelogo.Turtle
DEFAULT_PEN_DOWN - Static variable in class org.gannacademy.cdf.turtlelogo.Turtle
true
DEFAULT_PEN_WIDTH - Static variable in class org.gannacademy.cdf.turtlelogo.Turtle
1.0 pixels
DEFAULT_WIDTH - Static variable in class org.gannacademy.cdf.turtlelogo.Terrarium
600 pixels
draw(Graphics2D, Terrarium.UnderTheSurface) - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
draw(Graphics2D) - Method in class org.gannacademy.cdf.turtlelogo.Terrarium
For synchronous drawing requests (e.g.
draw(Graphics2D, Terrarium.UnderTheSurface) - Method in class org.gannacademy.cdf.turtlelogo.Track
Draw the track in the terrarium
draw(Graphics2D, Terrarium.UnderTheSurface) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Draw the turtle
drawIcon(double, double, double, Graphics2D) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 

E

EAST - Static variable in class org.gannacademy.cdf.turtlelogo.Turtle

F

fd(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
forward(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle

G

getHeadingInDegrees() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 
getHeadingInRadians() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 
getInstance() - Static method in class org.gannacademy.cdf.turtlelogo.Terrarium
Get the default terrarium instance (instantiating it, if necessary)
getInstance(int) - Static method in class org.gannacademy.cdf.turtlelogo.Terrarium
Get a particular Terrarium instance
getPenColor() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 
getPenStroke() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 
getPenWidth() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 
getTerrarium() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 
getX() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 
getY() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 

H

hd(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
head(double) - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
head(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Turn the turtle to a particular heading
hide() - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
hide() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Hide the turtle
home() - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
home() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Reset the turtle to its home position
ht() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Alias for Turtle.hide()

I

isHidden() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 
isPenDown() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
 

L

left(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
lt(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle

M

move(double) - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
move(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Move the turtle in the direction of its current heading
moveTo(double, double) - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
moveTo(double, double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Move the turtle to a particular location

N

NORTH - Static variable in class org.gannacademy.cdf.turtlelogo.Turtle
270°

O

org.gannacademy.cdf.turtlelogo - package org.gannacademy.cdf.turtlelogo
Turtle logo is an introduction to computer programming.

P

paintComponent(Graphics) - Method in class org.gannacademy.cdf.turtlelogo.Terrarium
Repaint the contents of the terrarium (tracks and turtles) as-needed
pc(Color) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
pd() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Alias for Turtle.penDown()
penColor(Color) - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
penColor(Color) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Set the color of the turtle's pen
penDown() - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
penDown() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Lower the turtle's pen, causing it to leave a trail
penUp() - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
penUp() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Lift the turtle's pen up, causing it not to leave a track
penWidth(double) - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
penWidth(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Set the width of the turtle's pen
pu() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Alis for Turtle.penUp()
pw(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle

R

remove(Turtle, Turtle.UnderTheShell) - Method in class org.gannacademy.cdf.turtlelogo.Terrarium
Remove a turtle from the terrarium
right(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
rt(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
run() - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
Thread execution

S

setPosition(int, int) - Method in class org.gannacademy.cdf.turtlelogo.Terrarium
Adjust the location of the terrarium window.
setSize(int, int) - Method in class org.gannacademy.cdf.turtlelogo.Terrarium
Adjust the dimensions of the terrarium view
setTerrarium(Terrarium) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Move the turtle to another terrarium
show() - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
show() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Show the turtle (if it was hidden)
SOUTH - Static variable in class org.gannacademy.cdf.turtlelogo.Turtle
90°
sp(long) - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
Alias for speed(long)
speed(long) - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
Set the speed of the turtle's animation
st() - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Alias for Turtle.show()

T

teleport(double, double) - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
teleport(double, double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Move the turtle instantaneously to a particular location
Terrarium - Class in org.gannacademy.cdf.turtlelogo
A Turtle lives (and draws) inside a Terrarium.
Terrarium() - Constructor for class org.gannacademy.cdf.turtlelogo.Terrarium
Construct a new terrarium of default dimensions, centered on the screen in its own window
Terrarium.UnderTheSurface - Class in org.gannacademy.cdf.turtlelogo
The parts of the terrarium that are "under the surface" are not meant to be used by students.
to(double, double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
tp(double, double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Track - Class in org.gannacademy.cdf.turtlelogo
Turtles make visible tracks in terraria (by dragging their pens, of course)
Track(double, double, double, double, Color, Stroke, Turtle.UnderTheShell) - Constructor for class org.gannacademy.cdf.turtlelogo.Track
Construct a new track segment
turn(double) - Method in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
 
turn(double) - Method in class org.gannacademy.cdf.turtlelogo.Turtle
Turn the turtle from its current heading
TURN_SPEED_CUTOFF - Static variable in class org.gannacademy.cdf.turtlelogo.AnimatedTurtle
25 milliseconds
Turtle - Class in org.gannacademy.cdf.turtlelogo
A turtles lives in a Terrarium.
Turtle() - Constructor for class org.gannacademy.cdf.turtlelogo.Turtle
Construct a turtle in the default terrarium
Turtle(Terrarium) - Constructor for class org.gannacademy.cdf.turtlelogo.Turtle
Construct a turtle in a custom terrarium
Turtle.UnderTheShell - Class in org.gannacademy.cdf.turtlelogo
The parts of the turtle that are "under the shell" are not meant to be used by students.

U

UNDER_THE_SHELL - Static variable in class org.gannacademy.cdf.turtlelogo.Turtle
 
UNDER_THE_SURFACE - Static variable in class org.gannacademy.cdf.turtlelogo.Terrarium
 

W

WEST - Static variable in class org.gannacademy.cdf.turtlelogo.Turtle
180°
A B C D E F G H I L M N O P R S T U W 
Skip navigation links

Copyright © 2018. All rights reserved.