A B C D E F G H I K L M N O P R S T V W X Y _ 

A

add(Turtle) - Method in class ch.aplu.turtle.Playground
Adds a new Turtle to the Playground.
addComponentListener(ComponentListener) - Method in class ch.aplu.turtle.Turtle
Adds the specified component listener to receive component events.
addFocusListener(FocusListener) - Method in class ch.aplu.turtle.Turtle
Adds the specified focus listener to receive focus events.
addKeyListener(KeyListener) - Method in class ch.aplu.turtle.Turtle
Adds the specified key listener to receive key events.
addMouseListener(MouseListener) - Method in class ch.aplu.turtle.Turtle
Adds the specified mouse listener to receive mouse events.
addMouseListener(MouseListener) - Method in class ch.aplu.turtle.TurtleFrame
Adds the specified mouse listener to receive mouse events.
addMouseMotionListener(MouseMotionListener) - Method in class ch.aplu.turtle.Turtle
Adds the specified mouse motion listener to receive mouse motion events.
addStatusBar(int) - Method in class ch.aplu.turtle.Turtle
Adds a status window attached at the bottom of the game grid window.
addStatusBar(int) - Method in class ch.aplu.turtle.TurtleFrame
Adds the status window attached at the bottom of the game grid window.
addWindowFocusListener(WindowFocusListener) - Method in class ch.aplu.turtle.Turtle
Adds the specified window focus listener to receive window focus events.
addWindowListener(WindowListener) - Method in class ch.aplu.turtle.Turtle
Adds the specified window listener to receive window events.
antiAliasing(boolean) - Method in class ch.aplu.turtle.Turtle
Sets anti-aliasing (for the turtle trace buffer) on or off.
APPLETFRAME - Static variable in class ch.aplu.turtle.Turtle
Mode attribute for turtle applets in a standalone window (value: 1).
ASK_ON_CLOSE - Static variable in class ch.aplu.turtle.Turtle
Mode attribute for a turtle frame that opens a confirm dialog when the close button is hit (value: 3).

B

back(double) - Method in class ch.aplu.turtle.Turtle
Same as bk().
backgroundColor - Variable in class ch.aplu.turtle.TurtlePane
Property for bean support.
beep() - Method in class ch.aplu.turtle.Turtle
Emits a 'beep'.
bk(double) - Method in class ch.aplu.turtle.Turtle
Moves the turtle backwards.
BLACK - Static variable in class ch.aplu.turtle.Turtle
 
BLUE - Static variable in class ch.aplu.turtle.Turtle
Short for Color.BLUE.
bong() - Method in class ch.aplu.turtle.Turtle
Emits a 'bong' via the sound card.

C

ch.aplu.turtle - package ch.aplu.turtle
Java multiple turtle package with a focus on education.
clean(Color) - Method in class ch.aplu.turtle.Playground
Cleans the traces using the given color.
clean() - Method in class ch.aplu.turtle.Playground
Same as clean(Color color) with the current background color.
clean() - Method in class ch.aplu.turtle.Turtle
Clears the turtle's playground.
clean(Color) - Method in class ch.aplu.turtle.Turtle
Clears the turtle's playground but painting it with the given color.
clean(String) - Method in class ch.aplu.turtle.Turtle
Clears the turtle's playground but painting it with the given color.
clear(Color) - Method in class ch.aplu.turtle.Playground
Clears the playground with given color.
clear() - Method in class ch.aplu.turtle.Playground
Same as clear(Color color) with the current background color.
clear() - Method in class ch.aplu.turtle.Turtle
Clears the turtle's playground.
clear(Color) - Method in class ch.aplu.turtle.Turtle
Clears the turtle's playground but painting it with the given color.
clear(String) - Method in class ch.aplu.turtle.Turtle
Clears the turtle's playground but painting it with the given color.
CLEAR_ON_CLOSE - Static variable in class ch.aplu.turtle.Turtle
Mode attribute for a turtle frame that calls Turtle.clear() when the close button is hit (value: 2).
clearTurtle(Turtle) - Method in class ch.aplu.turtle.Playground
Removes the given turtle from the turtle buffer.
clearTurtles() - Method in class ch.aplu.turtle.Playground
Remove all turtles from the turtle buffer.
clip() - Method in class ch.aplu.turtle.Turtle
Sets the turtle to clip mode.
clone() - Method in class ch.aplu.turtle.Turtle
Creates a partial clone of the turtle.
countTurtles() - Method in class ch.aplu.turtle.Playground
Tells current number of Turtles in this Playground.
currentImage() - Method in class ch.aplu.turtle.TurtleRenderer
Returns the current image.
CYAN - Static variable in class ch.aplu.turtle.Turtle
Short for Color.CYAN.

D

DEFAULT_FONT - Static variable in class ch.aplu.turtle.Pen
The default font that is used when drawing text.
dispose() - Method in class ch.aplu.turtle.TurtleFrame
Release all used system resources.
DISPOSE_ON_CLOSE - Static variable in class ch.aplu.turtle.Turtle
Mode attribute for a turtle frame that closes the turtle frame and releases grapics resources (value: 4), but does not call System.exit().
distance(double, double) - Method in class ch.aplu.turtle.Turtle
Returns the distance between the current turtle position and the given position,
distance(Point2D.Double) - Method in class ch.aplu.turtle.Turtle
Returns the distance between the current turtle position and the given position,
DKGRAY - Static variable in class ch.aplu.turtle.Turtle
Short for Color.GRAY.
dot(double) - Method in class ch.aplu.turtle.Turtle
Draws a dot (filled circle) at the current turtle position using the current pen color.
draw() - Method in interface ch.aplu.turtle.TPrintable
This method must perform all drawing operations.

E

enableFocus - Variable in class ch.aplu.turtle.TurtlePane
Property for bean support.
enableRepaint(boolean) - Method in class ch.aplu.turtle.Playground
Enables/disables automatic screen rendering.
enableRepaint(boolean) - Method in class ch.aplu.turtle.Turtle
Enables/disables automatic repainting (default: enabled).

F

fd(double) - Method in class ch.aplu.turtle.Turtle
Moves the turtle forwards.
fill(Turtle, Color) - Method in class ch.aplu.turtle.Playground
Fills a region.
fill() - Method in class ch.aplu.turtle.Turtle
Fills a closed region (flood fill) with the current fill color (default: Color.black).
fill(double, double) - Method in class ch.aplu.turtle.Turtle
/** Fills a closed region (flood fill) with the current fill color (default: Color.black) as if the turtle where at the given coordinates.
fillOff() - Method in class ch.aplu.turtle.Turtle
Stops the filling started by calling fillToPoint(), fillToHorizontal() or fillToVertical().
fillToHorizontal(double) - Method in class ch.aplu.turtle.Turtle
Draws a imaginary horizonatal line at given y-coordinate.
fillToPoint(double, double) - Method in class ch.aplu.turtle.Turtle
Attachs a imaginary rubber band between the turtle and the given anchor point.
fillToVertical(double) - Method in class ch.aplu.turtle.Turtle
Draws a imaginary vertical line at given x-coordinate.
focusGained(FocusEvent) - Method in class ch.aplu.turtle.TurtleFrame
Empty implementation of a FocusListener method.
focusLost(FocusEvent) - Method in class ch.aplu.turtle.TurtleFrame
For standalone applets we must put the applet window in front of the browser.
forward(double) - Method in class ch.aplu.turtle.Turtle
Same as fd().

G

getAvailableFontFamilies() - Static method in class ch.aplu.turtle.Pen
Provides information about the currently available font families (e.g.
getAvailableFontFamilies() - Static method in class ch.aplu.turtle.Turtle
Provides information about all font families currently available on your system.
getBackgroundColor() - Method in class ch.aplu.turtle.TurtlePane
Property getter.
getColor() - Method in class ch.aplu.turtle.Pen
Queries the Pens color.
getColor() - Method in class ch.aplu.turtle.Turtle
Returns the turtle's current color.
getColorNames() - Static method in class ch.aplu.turtle.X11Color
Returns the implemented X11 color names.
getColorStr() - Method in class ch.aplu.turtle.Turtle
Returns the X11 color string of the turtle's current color.
getDashArray() - Method in class ch.aplu.turtle.Pen
Queries the Pens dash array.
getDashPhase() - Method in class ch.aplu.turtle.Pen
Queries the Pens dash phase.
getEnableFocus() - Method in class ch.aplu.turtle.TurtlePane
Property getter.
getEndCap() - Method in class ch.aplu.turtle.Pen
Queries the Pens end cap style.
getEnvironment() - Static method in class ch.aplu.turtle.Turtle
Returns environment information (JRE and OS).
getFillColor() - Method in class ch.aplu.turtle.Pen
Queries the Pens fill color.
getFillColor() - Method in class ch.aplu.turtle.Turtle
Returns the turtle's current fill color.
getFillColorStr() - Method in class ch.aplu.turtle.Turtle
Returns the X11 color string of the turtle's current fill color.
getFont() - Method in class ch.aplu.turtle.Pen
Queries the current font.
getFont() - Method in class ch.aplu.turtle.Turtle
Returns the current font.
getFontSize() - Method in class ch.aplu.turtle.Pen
Queries the size (in points, rounded to int) of the current font.
getFrame() - Method in class ch.aplu.turtle.Turtle
Returns the turtle's TurtleFrame (derivated from JFrame).
getKeyCodeWait() - Static method in class ch.aplu.turtle.TurtleKeyAdapter
Waits for a keystroke and returns the keycode.
getLineJoin() - Method in class ch.aplu.turtle.Pen
Queries the Pens line join style.
getLineWidth() - Method in class ch.aplu.turtle.Pen
Queries the Pens line width
getMiterLimit() - Method in class ch.aplu.turtle.Pen
Queries the Pens miter limit style.
getPen() - Method in class ch.aplu.turtle.Turtle
Return the turtle's Pen reference.
getPenColor() - Method in class ch.aplu.turtle.Turtle
Returns the turtle's pen color.
getPenColorStr() - Method in class ch.aplu.turtle.Turtle
Returns the X11 color string of the turtle's current pen color.
getPixelColor(Turtle) - Method in class ch.aplu.turtle.Playground
Returns the color of the pixel at the current turtle position.
getPixelColor() - Method in class ch.aplu.turtle.Turtle
Returns the color of the pixel at the current turtle position.
getPixelColorStr() - Method in class ch.aplu.turtle.Turtle
Returns the color of the pixel at the current turtle position as X11 string.
getPlayground() - Method in class ch.aplu.turtle.Turtle
Returns the turtle's Playground.
getPlayground() - Method in class ch.aplu.turtle.TurtleArea
Returns the playground of this AppletFrame.
getPlayground() - Method in interface ch.aplu.turtle.TurtleContainer
As the Turtles live in a Playground actually, you must have access to it.
getPlayground() - Method in class ch.aplu.turtle.TurtleFrame
Returns the playground of this TurtleFrame.
getPlayground() - Method in class ch.aplu.turtle.TurtlePane
Returns current instance reference.
getPos() - Method in class ch.aplu.turtle.Turtle
Returns the current playground bounded turtle position.
getPrinterG2D() - Method in class ch.aplu.turtle.Playground
Returns the graphics context of the printer.
getPropertyDescriptors() - Method in class ch.aplu.turtle.TurtlePaneBeanInfo
Returns the descriptor of visible properties.
getPropLocation() - Static method in class ch.aplu.turtle.Turtle
Returns properties file location.
getSize() - Method in class ch.aplu.turtle.Playground
Returns the size in pixels of the playground.
getSpeed() - Method in class ch.aplu.turtle.Turtle
Returns the current turtle animation speed.
getStroke() - Method in class ch.aplu.turtle.Pen
Gets the Pens Stroke
getTraceBuffer() - Method in class ch.aplu.turtle.Playground
Returns the image of the trace buffer.
getTraceG2D() - Method in class ch.aplu.turtle.Playground
Returns the graphics context of the trace buffer.
getTurtle(int) - Method in class ch.aplu.turtle.Playground
Returns the Turtle at index index.
getTurtleBuffer() - Method in class ch.aplu.turtle.Playground
Returns the image of the turtle buffer.
getTurtleFactory() - Method in class ch.aplu.turtle.Turtle
Returns the turtle's TurtleFactory.
getTurtleG2D() - Method in class ch.aplu.turtle.Playground
Returns the graphics context of the turtle buffer.
getX() - Method in class ch.aplu.turtle.Turtle
Returns the current playground bounded turtle's x-coordinate.
getY() - Method in class ch.aplu.turtle.Turtle
Returns the current playground bounded turtle's y-coordinate.
GRAY - Static variable in class ch.aplu.turtle.Turtle
Short for Color.GRAY.
GREEN - Static variable in class ch.aplu.turtle.Turtle
Short for Color.GREEN.

H

heading() - Method in class ch.aplu.turtle.Turtle
Returns the turtle's heading.
heading(double) - Method in class ch.aplu.turtle.Turtle
Sets the turtle's heading (zero to north, clockwise positive).
hideTurtle() - Method in class ch.aplu.turtle.Turtle
Hide the Turtle.
home() - Method in class ch.aplu.turtle.Turtle
Moves the turtle back "home", i.e. to coordinates (0, 0), heading north.
ht() - Method in class ch.aplu.turtle.Turtle
Hides the Turtle.

I

imageChanged(double) - Method in class ch.aplu.turtle.TurtleRenderer
Tells whether the image has changed.
imageUpdate(Image, int, int, int, int, int) - Method in class ch.aplu.turtle.TurtleRenderer
As an image stays unchanged, there's no need to ever update it.
init(double, double) - Method in class ch.aplu.turtle.LineRenderer
Initialisation with coordinates x and y.
init(Point2D.Double) - Method in class ch.aplu.turtle.LineRenderer
Same as init(double x, double y), but with a Point2D.Double argument for convenience
init(TurtleFactory, int) - Method in class ch.aplu.turtle.TurtleRenderer
Creates the images.
isClip() - Method in class ch.aplu.turtle.Turtle
Reports if the turtle is in clip mode.
isDisposed() - Static method in class ch.aplu.turtle.Turtle
Checks if the turtle frame was disposed or released.
isDisposed() - Static method in class ch.aplu.turtle.TurtleFrame
Checks if the turtle frame was disposed or released.
isHidden() - Method in class ch.aplu.turtle.Turtle
Reports if the turtle is hidden or shown.
isPenUp() - Method in class ch.aplu.turtle.Turtle
Reports if the pen is up.
isWrap() - Method in class ch.aplu.turtle.Turtle
Requests if the turtle is in wrap mode.

K

keyPressed(KeyEvent) - Method in class ch.aplu.turtle.TurtleKeyAdapter
For internal use only.

L

label(String, Turtle) - Method in class ch.aplu.turtle.Playground
Draws the text at the current position of the Turtle t.
label(String) - Method in class ch.aplu.turtle.Turtle
Draw the specified text at the current turtle position using the current text font (default SansSerif, Font.PLAIN, 24).
left(double) - Method in class ch.aplu.turtle.Turtle
Same as lt()
leftCircle(double) - Method in class ch.aplu.turtle.Turtle
Draws a left-oriented circle from the current position with turtle's heading tangent direction and given radius.
LineRenderer - Class in ch.aplu.turtle
This class is responsible for drawing the turtle's lines.
lineTo(double, double) - Method in class ch.aplu.turtle.LineRenderer
Calls the internalLineTo(x,y), which does the actual painting.
lineTo(Point2D.Double) - Method in class ch.aplu.turtle.LineRenderer
Calls the internalLineTo(x,y), which does the actual painting.
lt(double) - Method in class ch.aplu.turtle.Turtle
Turns the turtle to the left.
LTGRAY - Static variable in class ch.aplu.turtle.Turtle
Short for Color.LIGHT_GRAY.

M

MAGENTA - Static variable in class ch.aplu.turtle.Turtle
Short for Color.MAGENTA.
Main - Class in ch.aplu.turtle
Main contains a public static void main() entry point and is able to create an instance of another class (by Java reflection), so that its default contructor is invoked.
main(String[]) - Static method in class ch.aplu.turtle.Main
Program entry point.
main(String[]) - Static method in class ch.aplu.turtle.TurtleRunner
Program entry point.
moveTo(double, double) - Method in class ch.aplu.turtle.Turtle
Moves the turtle to the given position.

N

NoMain - Annotation Type in ch.aplu.turtle
Annotation definition for applications with no public static void main() method.
NOTHING_ON_CLOSE - Static variable in class ch.aplu.turtle.Turtle
Mode attribute for a turtle frame that does nothing when the close button is hit (value: -1).

O

openDot(double) - Method in class ch.aplu.turtle.Turtle
Draws an open dot (unfilled circle) with line width 1 at the current turtle position using the current pen color.

P

paint(double, double) - Method in class ch.aplu.turtle.TurtleRenderer
This method is responsible for painting the turtle onto the playground at (x, y).
paint(Point2D.Double) - Method in class ch.aplu.turtle.TurtleRenderer
This method is responsible for painting the turtle onto the playground at p.
paint(double, double, Graphics) - Method in class ch.aplu.turtle.TurtleRenderer
This method is responsible for painting the Turtle at (x, y).
paint(Point2D.Double, Graphics) - Method in class ch.aplu.turtle.TurtleRenderer
This method is responsible for painting the Turtle at p.
paintComponent() - Method in class ch.aplu.turtle.Playground
Paints the playground.
paintComponent(Graphics) - Method in class ch.aplu.turtle.Playground
Draws the trace and turtle buffers.
paintTurtle(Turtle) - Method in class ch.aplu.turtle.Playground
Paints the given Turtle
paintTurtles(Turtle) - Method in class ch.aplu.turtle.Playground
Moves the given Turtle above all the others, then paints all turtles.
paintTurtles() - Method in class ch.aplu.turtle.Playground
Paints all turtles (calling paintComponent())
pd() - Method in class ch.aplu.turtle.Turtle
Lowers the turtle's pen, so the trace is drawn.
pe() - Method in class ch.aplu.turtle.Turtle
Sets the pen color to the background color, so existing traces are erased.
Pen - Class in ch.aplu.turtle
The Pen class provides anything used for drawing the lines, such as line width, pen color, end caps, dashed lines, etc.
Pen() - Constructor for class ch.aplu.turtle.Pen
Constructor with standard pen color (black) and and standard Stroke.
Pen(Color) - Constructor for class ch.aplu.turtle.Pen
Constructor with Color color and standard Stroke.
penDown() - Method in class ch.aplu.turtle.Turtle
Same as pd().
penErase() - Method in class ch.aplu.turtle.Turtle
Same as pe().
penUp() - Method in class ch.aplu.turtle.Turtle
Same as pu().
penWidth(int) - Method in class ch.aplu.turtle.Turtle
Sets the line width of the traces.
penWidth() - Method in class ch.aplu.turtle.Turtle
Returns the current pen width.
Playground - Class in ch.aplu.turtle
A Playground is the turtle's home, i.e. where the turtle moves and draws traces.
Playground() - Constructor for class ch.aplu.turtle.Playground
Creates a Playground inside the given TurtleContainer and with standard size (400 x 400 pixels) and default background color.
Playground(Color) - Constructor for class ch.aplu.turtle.Playground
Creates a Playground inside the given TurtleContainer and with standard size (400 x 400 pixels) and given background color.
Playground(Dimension) - Constructor for class ch.aplu.turtle.Playground
Creates a new Playground inside the given TurtleContainer and size.
Playground(Dimension, Color) - Constructor for class ch.aplu.turtle.Playground
Creates a new Playground inside the given TurtleContainer, size and background color.
playgroundPressed(double, double) - Method in class ch.aplu.turtle.TurtleFrame
Mouse callback invoked in a separate thread when a mouse press event inside the turtle playground is detected.
print(Graphics, PageFormat, int) - Method in class ch.aplu.turtle.Playground
For internal use only.
print(TPrintable, double) - Method in class ch.aplu.turtle.Turtle
Prints the graphics context to an attached printer with the given magnification scale factor.
print(TPrintable) - Method in class ch.aplu.turtle.Turtle
Same as print(tp, scale) with scale = 1.
printScreen(double) - Method in class ch.aplu.turtle.Turtle
Print the turtle's current playground with given scale.
printScreen() - Method in class ch.aplu.turtle.Turtle
Same as printScreen(scale) with scale = 1.
pu() - Method in class ch.aplu.turtle.Turtle
Lifts the turtle's pen up, so no trace is drawn.

R

RED - Static variable in class ch.aplu.turtle.Turtle
Short for Color.RED.
RELEASE_ON_CLOSE - Static variable in class ch.aplu.turtle.Turtle
Mode attribute for a turtle frame that closes the turtle frame by disposing all resources (value: 5), but does not call System.exit().
remove(Turtle) - Method in class ch.aplu.turtle.Playground
Removes a Turtle from the Playground.
repaint() - Method in class ch.aplu.turtle.Turtle
Performs manual repainting when automatic repainting is disabled.
right(double) - Method in class ch.aplu.turtle.Turtle
Same as rt().
rightCircle(double) - Method in class ch.aplu.turtle.Turtle
Draws a right-oriented circle from the current position with turtle's heading tangent direction and given radius.
rt(double) - Method in class ch.aplu.turtle.Turtle
Turns the turtle to the right.

S

setAngle(double) - Method in class ch.aplu.turtle.TurtleRenderer
Sets the current image to the one corresponding to the angle angle.
setAngleResolution(int) - Method in class ch.aplu.turtle.Turtle
Sets the angle resolution when animating the turtle rotation.
setAntiAliasing(boolean) - Method in class ch.aplu.turtle.Playground
Sets antialiasing on or off for the turtle trace buffer This may result in an better trace quality.
setBackgroundColor(Color) - Method in class ch.aplu.turtle.TurtlePane
Property setter.
setBkColor(Color) - Method in class ch.aplu.turtle.Playground
Sets the background color of the playground.
setColor(Color) - Method in class ch.aplu.turtle.Pen
Sets the Pens color.
setColor(Color) - Method in class ch.aplu.turtle.Turtle
Sets the turtle's color.
setColor(String) - Method in class ch.aplu.turtle.Turtle
Sets the turtle's color as string.
setDash(float[]) - Method in class ch.aplu.turtle.Pen
Sets the Pens dash array.
setDashPhase(float) - Method in class ch.aplu.turtle.Pen
Sets the Pens dash phase.
setEnableFocus(boolean) - Method in class ch.aplu.turtle.TurtlePane
Property setter.
setEndCap(int) - Method in class ch.aplu.turtle.Pen
Sets the Pens end cap style.
setFillColor(Color) - Method in class ch.aplu.turtle.Pen
Sets the Pens fill color.
setFillColor(Color) - Method in class ch.aplu.turtle.Turtle
Sets the fill color for fill().
setFillColor(String) - Method in class ch.aplu.turtle.Turtle
Sets the fill color for fill() using the color as string.
setFont(Font) - Method in class ch.aplu.turtle.Pen
Changes the font to the given one.
setFont(Font) - Method in class ch.aplu.turtle.Turtle
Sets the current text font (default: Font("SansSerif", Font.PLAIN, 24).
setFont(String, int, int) - Method in class ch.aplu.turtle.Turtle
Sets the current text font (default: Font("SansSerif", Font.PLAIN, 24).
setFontSize(int) - Method in class ch.aplu.turtle.Pen
Changes the font size (in points).
setFontSize(float) - Method in class ch.aplu.turtle.Pen
Changes the font size (in points).
setFontSize(int) - Method in class ch.aplu.turtle.Turtle
Sets the font size.
setFontStyle(int) - Method in class ch.aplu.turtle.Pen
Changes the font style.
setFontStyle(int) - Method in class ch.aplu.turtle.Turtle
Sets the font style.
setH(double) - Method in class ch.aplu.turtle.Turtle
Sets the turtle's heading (zero to north, clockwise positive).
setHeading(double) - Method in class ch.aplu.turtle.Turtle
Same as setH().
setLineJoin(int) - Method in class ch.aplu.turtle.Pen
Sets the Pens line join style.
setLineWidth(float) - Method in class ch.aplu.turtle.Pen
Sets the Pens line width.
setLineWidth(double) - Method in class ch.aplu.turtle.Turtle
Sets the line width of the traces.
setMiterLimit(float) - Method in class ch.aplu.turtle.Pen
Sets the Pens miter limit.
setPenColor(Color) - Method in class ch.aplu.turtle.Turtle
Sets the turtle's pen color.
setPenColor(String) - Method in class ch.aplu.turtle.Turtle
Sets the turtle's pen color as string.
setPos(double, double) - Method in class ch.aplu.turtle.Turtle
Puts the turtle to a new position without drawing a trace.
setPos(Point2D.Double) - Method in class ch.aplu.turtle.Turtle
Puts the turtle to a new position without drawing a trace.
setScreenPos(Point) - Method in class ch.aplu.turtle.Turtle
Puts the Turtle to a new screen position without drawing a trace.
setScreenX(int) - Method in class ch.aplu.turtle.Turtle
Puts the turtle to a new position with the given screen x-coordinates (coordinate system with origin at upper left vertex of playground, same coordinate increments as turtle coordinates)
setScreenY(int) - Method in class ch.aplu.turtle.Turtle
Puts the turtle to a new position with the given screen y-coordinates.
setStatusText(String) - Method in class ch.aplu.turtle.Turtle
Replaces the text in the status bar by the given text using the current JOptionPane font and color.
setStatusText(String, Font, Color) - Method in class ch.aplu.turtle.Turtle
Replaces the text in the status bar by the given text using the given font and text color.
setStatusText(String) - Method in class ch.aplu.turtle.TurtleFrame
Replaces the text in the status bar by the given text using the current JOptionPane font and color.
setStatusText(String, Font, Color) - Method in class ch.aplu.turtle.TurtleFrame
Replaces the text in the status bar by the given text using the given font and text color.
setTitle(String) - Method in class ch.aplu.turtle.Turtle
Sets the title of turtle's playground
setX(double) - Method in class ch.aplu.turtle.Turtle
Puts the turtle to a new position with the given x-coordinates.
setY(double) - Method in class ch.aplu.turtle.Turtle
Puts the turtle to a new position with the given y-coordinates.
showStatusBar(boolean) - Method in class ch.aplu.turtle.Turtle
Shows/hides the status bar.
showStatusBar(boolean) - Method in class ch.aplu.turtle.TurtleFrame
Shows or hides the status bar.
showTurtle() - Method in class ch.aplu.turtle.Turtle
Same as st().
sleep(int) - Static method in class ch.aplu.turtle.Turtle
Delays execution for the given amount of time (in ms).
speed(double) - Method in class ch.aplu.turtle.Turtle
Sets the turtle's speed.
st() - Method in class ch.aplu.turtle.Turtle
Makes a hidden turtle visible.
stampTurtle() - Method in class ch.aplu.turtle.Turtle
Creates a new turtle image (a clone) at the current position, where it will stay.
STANDARDFRAME - Static variable in class ch.aplu.turtle.Turtle
Mode attribute for normal turtle applications (default, value: 0).

T

toBottom(Turtle) - Method in class ch.aplu.turtle.Playground
Puts a Turtle below all others.
toBottom() - Method in class ch.aplu.turtle.Turtle
Puts the turtle to the bottom, so other turtles will be drawn above.
toColor(String) - Static method in class ch.aplu.turtle.Turtle
Returns the Color reference for the given color as string.
toColor(String) - Static method in class ch.aplu.turtle.X11Color
Returns the color reference attributed to the given X11 color name.
toScreenCoords(Point2D.Double) - Method in class ch.aplu.turtle.Playground
Calculates the screen coordinates of the given point.
toScreenCoords(double, double) - Method in class ch.aplu.turtle.Playground
Calculates the screen coordinates of the given point coordinates.
toTop(Turtle) - Method in class ch.aplu.turtle.Playground
Puts a Turtle above all others.
toTop() - Method in class ch.aplu.turtle.Turtle
Puts the turtle to the top, so other turtles will be drawn below.
toTurtleCoords(double, double) - Method in class ch.aplu.turtle.Playground
Calculates the turtle coordinates of the given screen coordinates.
toTurtleCoords(Point2D.Double) - Method in class ch.aplu.turtle.Playground
Calculates the turtle coordinates of the given screen point.
toTurtlePos(Point) - Method in class ch.aplu.turtle.Turtle
Converts from screen coordinates to turtle coordinates.
toTurtlePos(int, int) - Method in class ch.aplu.turtle.Turtle
Converts from screen coordinates to turtle coordinates.
toTurtleX(int) - Method in class ch.aplu.turtle.Turtle
Converts from screen coordinates to turtle coordinates.
toTurtleY(int) - Method in class ch.aplu.turtle.Turtle
Converts from screen coordinates to turtle coordinates.
towards(double, double) - Method in class ch.aplu.turtle.Turtle
Returns the direction (heading) to a given position.
towards(Point2D.Double) - Method in class ch.aplu.turtle.Turtle
Returns the direction (heading) to a given position.
toX11Str(Color) - Static method in class ch.aplu.turtle.X11Color
Returns the X11 color string attributed to the given color.
TPrintable - Interface in ch.aplu.turtle
Interface for printing on an attached printer.
Turtle - Class in ch.aplu.turtle
The core class for turtles.
Turtle() - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle in its own new window.
Turtle(boolean) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle with specified visibility in its own new window.
Turtle(Color) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle with specified color in its own new window.
Turtle(String) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle with specified color as string in its own new window.
Turtle(JMenuBar, Color) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle with specified color in its own new window with the given menu.
Turtle(TurtleContainer) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle in the given TurtleContainer.
Turtle(TurtlePane) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle in the given TurtlePane.
Turtle(TurtleContainer, boolean) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle with specified visibility in the given TurtleContainer.
Turtle(TurtleContainer, Color) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle with specified color in the given TurtleContainer.
Turtle(TurtleContainer, String) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle with specified color as a string in the given TurtleContainer.
Turtle(Turtle) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle in the same TurtleContainer (window) as the given turtle.
Turtle(Turtle, boolean) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle in the same TurtleContainer (window) as the given turtle and specifies its visibility.
Turtle(Turtle, Color) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle with the specified color in the same TurtleContainer (window) as the given turtle.
Turtle(Turtle, String) - Constructor for class ch.aplu.turtle.Turtle
Creates a new turtle with specified color as string in the same TurtleContainer (window) as the given turtle.
TurtleArea - Class in ch.aplu.turtle
This class is used for a turtle applet.
TurtleArea(JApplet) - Constructor for class ch.aplu.turtle.TurtleArea
Creates an applet window with given applet container.
TurtleArea(JApplet, Color) - Constructor for class ch.aplu.turtle.TurtleArea
Creates an applet window with given applet container and background color.
TurtleArea(JApplet, int, int) - Constructor for class ch.aplu.turtle.TurtleArea
Creates an applet window with given applet container, width and height.
TurtleArea(JApplet, int, int, Color) - Constructor for class ch.aplu.turtle.TurtleArea
Creates an applet window with given applet container, width, height and background color.
TurtleContainer - Interface in ch.aplu.turtle
Implement this interface to define your own top-level container which contains turtles.
TurtleFrame - Class in ch.aplu.turtle
This class is used for the turtle application.
TurtleFrame() - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with default title.
TurtleFrame(String) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given title.
TurtleFrame(JMenuBar) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with default title and given JMenuBar.
TurtleFrame(String, JMenuBar) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given title and JMenuBar.
TurtleFrame(Color) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with default title and give background color.
TurtleFrame(String, Color) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given title and background color.
TurtleFrame(String, JMenuBar, Color) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given title, JMenuBar and background color.
TurtleFrame(String, int, int) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given title, width and height.
TurtleFrame(String, int, int, Color) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given title, width, height and background color.
TurtleFrame(String, JMenuBar, int, int) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given title, JMenuBar, width and height.
TurtleFrame(String, JMenuBar, int, int, Color) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given title, JMenuBar, width, height and background color.
TurtleFrame(int, int, String) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given r, g and title.
TurtleFrame(int, int, String, int, int) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given r, g, title, width and height.
TurtleFrame(int, int, String, int, int, Color) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given r, g, title, width, height and background color.
TurtleFrame(int, int, String, JMenuBar, int, int, Color) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given r, g, title, JMenuBar, width, height and background color.
TurtleFrame(int) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given mode.
TurtleFrame(int, String, int, int, Color) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given mode, title, width, height and background color.
TurtleFrame(int, int, int, String, JMenuBar, int, int, Color) - Constructor for class ch.aplu.turtle.TurtleFrame
Creates a window with given mode, r, g, title, JMenuBar, width, height and background color.
TurtleKeyAdapter - Class in ch.aplu.turtle
Class that overides KeyAdapter.keyPressed() in order to get key events.
TurtleKeyAdapter() - Constructor for class ch.aplu.turtle.TurtleKeyAdapter
 
TurtlePane - Class in ch.aplu.turtle
A bean class derived from Playground that can be used as component in a Gui builder.
TurtlePane() - Constructor for class ch.aplu.turtle.TurtlePane
Parameterless bean constructor.
TurtlePaneBeanInfo - Class in ch.aplu.turtle
A bean info class derived from SimpleBeanInfo in order to restrict the visible properties of bean class TurtlePane.
TurtlePaneBeanInfo() - Constructor for class ch.aplu.turtle.TurtlePaneBeanInfo
 
TurtleProgram - Interface in ch.aplu.turtle
Empty interface to signal that the program is an application without public static void main() and should be created by the TurtleRunner.
TurtleRenderer - Class in ch.aplu.turtle
This class is responsible for creating and selecting the correct turtle picture.
TurtleRenderer(Turtle) - Constructor for class ch.aplu.turtle.TurtleRenderer
Creates a TurtleRenderer instance for the given turtle.
TurtleRunner - Class in ch.aplu.turtle
TurtleRunner contains a public static void main() entry point and is able to create an instance of another class (by Java reflection), so that its default contructor is invoked.

V

version() - Static method in class ch.aplu.turtle.Turtle
Returns libarary version information.

W

WHITE - Static variable in class ch.aplu.turtle.Turtle
Short for Color.WHITE.
wrap() - Method in class ch.aplu.turtle.Turtle
Sets the turtle to wrap mode.

X

X11Color - Class in ch.aplu.turtle
This class provides the mapping of X11 colors names (in string notation) to RGB colors represented the java.awt.Color class.
X11Color(String) - Constructor for class ch.aplu.turtle.X11Color
Creates a colr with given X11 color name.

Y

YELLOW - Static variable in class ch.aplu.turtle.Turtle
Short for Color.YELLOW.

_

_getPos() - Method in class ch.aplu.turtle.Turtle
Returns the current unbounded turtle position.
_getX() - Method in class ch.aplu.turtle.Turtle
Returns the current unbounded turtle's x-coordinate.
_getY() - Method in class ch.aplu.turtle.Turtle
Returns the current unbounded turtle's y-coordinate.
A B C D E F G H I K L M N O P R S T V W X Y _