B C F G H I L N P R S T U W

B

backward(double) - Method in class com.otherwise.jurtle.Turtle
Move the turtle backward the specified distance.

C

Console - class com.otherwise.jurtle.Console.
The Console class contains an assortment of static methods for writing to and reading from the console panel (located below the display panel in the Jurtle user interface).
center() - Method in class com.otherwise.jurtle.Turtle
Center the turtle in the display pane.
clearDisplay() - Method in class com.otherwise.jurtle.Turtle
Clears the display, leaving the turtle where it is.
com.otherwise.jurtle - package com.otherwise.jurtle
 

F

forward(double) - Method in class com.otherwise.jurtle.Turtle
Move the turtle forward the specified distance.

G

getAutoUpdate() - Method in class com.otherwise.jurtle.Turtle
Gets the current value of the autoUpdate flag.
getAutoUpdatePause() - Method in class com.otherwise.jurtle.Turtle
Gets the autoUpdate pause value.
getDisplay() - Method in class com.otherwise.jurtle.Turtle
Returns the JPanel used for the Turtle's display area.
getDisplayColor() - Method in class com.otherwise.jurtle.Turtle
Returns the display's background color.
getDisplayContainer() - Method in class com.otherwise.jurtle.Turtle
Returns the Container that contains the Turtle's display area.
getDisplaySize() - Method in class com.otherwise.jurtle.Turtle
Return the size of the turtle's display pane.
getGraphics() - Method in class com.otherwise.jurtle.Turtle
Return the turtle's graphics context.
getHeading() - Method in class com.otherwise.jurtle.Turtle
Return the turtle's heading.
getPenColor() - Method in class com.otherwise.jurtle.Turtle
 
getPenWidth() - Method in class com.otherwise.jurtle.Turtle
Returns the turtle's penWidth.
getPixelColor(int, int) - Method in class com.otherwise.jurtle.Turtle
Returns the color of the pixel at the specified point in the display's coordinate system (0,0 is at the upper left of the display).
getPosition() - Method in class com.otherwise.jurtle.Turtle
Return the current position of the turtle.
getTurtles() - Method in class com.otherwise.jurtle.Turtle
Returns an Enumeration of all the current turtles.

H

hideTurtle() - Method in class com.otherwise.jurtle.Turtle
Hide the turtle so it will not be seen while drawing.
home() - Method in class com.otherwise.jurtle.Turtle
Return the turtle to its default (home) state.

I

isPenDown() - Method in class com.otherwise.jurtle.Turtle
Returns whether the pen is currently down.
isRunning() - Method in class com.otherwise.jurtle.Turtle
Gets the turtle's running status.
isVisible() - Method in class com.otherwise.jurtle.Turtle
Determine if the turtle is visible.

L

left(double) - Method in class com.otherwise.jurtle.Turtle
Rotate the turtle to the left (counterclockwise).

N

NO_PAUSE - Static variable in class com.otherwise.jurtle.Turtle
Constant that can be passed to pause() or setAutoUpdatePause() to indicate there should be no actual pause.

P

paintTurtle(Graphics) - Method in class com.otherwise.jurtle.Turtle
Called to have the turtle paint itself.
pause(long) - Method in class com.otherwise.jurtle.Turtle
Pauses the turtle's execution for pauseMillis milliseconds.
penDown() - Method in class com.otherwise.jurtle.Turtle
Put the turtle's pen back down so it will draw when moving.
penErase() - Method in class com.otherwise.jurtle.Turtle
Change the pen to an eraser.
penPaint() - Method in class com.otherwise.jurtle.Turtle
Return the drawing version of the pen after erasing.
penUp() - Method in class com.otherwise.jurtle.Turtle
Lift the turtle's pen so it doesn't draw when moving
print(boolean) - Static method in class com.otherwise.jurtle.Console
Print a boolean value.
print(char) - Static method in class com.otherwise.jurtle.Console
Print a character.
print(double) - Static method in class com.otherwise.jurtle.Console
Print a double-precision floating-point number.
print(float) - Static method in class com.otherwise.jurtle.Console
Print a floating-point number.
print(int) - Static method in class com.otherwise.jurtle.Console
Print an integer.
print(long) - Static method in class com.otherwise.jurtle.Console
Print a long integer.
print(Object) - Static method in class com.otherwise.jurtle.Console
Print an object.
print(String) - Static method in class com.otherwise.jurtle.Console
Print a string.
println() - Static method in class com.otherwise.jurtle.Console
Terminate the current line by writing the line separator string.
println(boolean) - Static method in class com.otherwise.jurtle.Console
Print a boolean and then terminate the line.
println(char) - Static method in class com.otherwise.jurtle.Console
Print a character and then terminate the line.
println(double) - Static method in class com.otherwise.jurtle.Console
Print a double and then terminate the line.
println(float) - Static method in class com.otherwise.jurtle.Console
Print a float and then terminate the line.
println(int) - Static method in class com.otherwise.jurtle.Console
Print an integer and then terminate the line.
println(long) - Static method in class com.otherwise.jurtle.Console
Print a long and then terminate the line.
println(Object) - Static method in class com.otherwise.jurtle.Console
Print an Object and then terminate the line.
println(String) - Static method in class com.otherwise.jurtle.Console
Print a String and then terminate the line.

R

readBoolean() - Static method in class com.otherwise.jurtle.Console
Reads the next boolean.
readChar() - Static method in class com.otherwise.jurtle.Console
Reads a character typed on the console
readDouble() - Static method in class com.otherwise.jurtle.Console
Reads the next double (without validating its format).
readFloat() - Static method in class com.otherwise.jurtle.Console
Reads the next float (without validating its format).
readInt() - Static method in class com.otherwise.jurtle.Console
Reads the next integer (without validating its format).
readLine() - Static method in class com.otherwise.jurtle.Console
Reads a line of text from the console
readLong() - Static method in class com.otherwise.jurtle.Console
Reads the next long (without validating its format).
readWord() - Static method in class com.otherwise.jurtle.Console
Skips whitespace and reads the next word (a string of consecutive non-whitespace characters up to but excluding the next space).
right(double) - Method in class com.otherwise.jurtle.Turtle
Rotate the turtle to the right (clockwise).
run() - Method in class com.otherwise.jurtle.Turtle
Called by start() to begin running the turtle's thread.
runTurtle() - Method in class com.otherwise.jurtle.Turtle
Called to execute the turtle code in a separate thread.

S

setAutoUpdate(boolean) - Method in class com.otherwise.jurtle.Turtle
Sets a flag indicating whether to automatically update the display after each turtle command that affects it.
setAutoUpdatePause(long) - Method in class com.otherwise.jurtle.Turtle
Sets the number of milliseconds the system pauses after performing an automatic update.
setDisplayColor(Color) - Method in class com.otherwise.jurtle.Turtle
Set the display's background color.
setHeading(double) - Method in class com.otherwise.jurtle.Turtle
Set the direction the turtle is pointing in.
setPenColor(Color) - Method in class com.otherwise.jurtle.Turtle
Set the pen color for the trail the turtle leaves.
setPenWidth(int) - Method in class com.otherwise.jurtle.Turtle
Set the pen width for the trail the turtle leaves.
setPixelColor(int, int, Color) - Method in class com.otherwise.jurtle.Turtle
Sets the color of the pixel at the specified point in the display's coordinate system (0,0 is at the upper left of the display).
setPosition(double, double) - Method in class com.otherwise.jurtle.Turtle
Move the turtle to the specified coordinates.
setPositionX(double) - Method in class com.otherwise.jurtle.Turtle
Move the turtle to the new x coordinate leaving the y coordinate unchanged.
setPositionY(double) - Method in class com.otherwise.jurtle.Turtle
Move the turtle to the new y coordinate leaving the x coordinate unchanged.
showTurtle() - Method in class com.otherwise.jurtle.Turtle
Shows the turtle, making it visible.
start() - Method in class com.otherwise.jurtle.Turtle
Called to start running the turtle in its own thread of execution.
stopTurtle() - Method in class com.otherwise.jurtle.Turtle
Stops the turtle's execution.

T

Turtle - class com.otherwise.jurtle.Turtle.
The Turtle class is an abstract class you extend to give your turtle its specific behavior.
Turtle() - Constructor for class com.otherwise.jurtle.Turtle
Basic Turtle constructor.
Turtle(Color, int, double, double, double) - Constructor for class com.otherwise.jurtle.Turtle
Turtle constructor that allows you to specify the initial penColor, penWidth, heading and position.
turtleStopped() - Method in class com.otherwise.jurtle.Turtle
Called by Jurtle when the turtle has been stopped.

U

updateDisplay() - Method in class com.otherwise.jurtle.Turtle
Update the display with any turtle drawing.

W

waitForStop() - Method in class com.otherwise.jurtle.Turtle
Causes the turtle's thread to sleep and wait for either stopTurtle() to be called or Stop command to be invoked from Jurtle's GUI.

B C F G H I L N P R S T U W