- 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 Turtle
s 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.
- 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 Pen
s 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 Pen
s dash array.
- getDashPhase() - Method in class ch.aplu.turtle.Pen
-
Queries the Pen
s dash phase.
- getEnableFocus() - Method in class ch.aplu.turtle.TurtlePane
-
Property getter.
- getEndCap() - Method in class ch.aplu.turtle.Pen
-
Queries the Pen
s 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 Pen
s 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 Pen
s line join style.
- getLineWidth() - Method in class ch.aplu.turtle.Pen
-
Queries the Pen
s line width
- getMiterLimit() - Method in class ch.aplu.turtle.Pen
-
Queries the Pen
s 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 Turtle
s 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 Pen
s 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.
- 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.
- 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 Pen
s 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 Pen
s dash array.
- setDashPhase(float) - Method in class ch.aplu.turtle.Pen
-
Sets the Pen
s dash phase.
- setEnableFocus(boolean) - Method in class ch.aplu.turtle.TurtlePane
-
Property setter.
- setEndCap(int) - Method in class ch.aplu.turtle.Pen
-
Sets the Pen
s end cap style.
- setFillColor(Color) - Method in class ch.aplu.turtle.Pen
-
Sets the Pen
s 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 Pen
s line join style.
- setLineWidth(float) - Method in class ch.aplu.turtle.Pen
-
Sets the Pen
s 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 Pen
s 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).
- 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.