- getAnimated() - Method in class je.fx.util.Turtle
-
gets animation mode
Example: myTurtle.getAnimated();
- getAnimationspeed() - Method in class je.fx.util.Turtle
-
Gets the animationspeed, default is 100px/s and 100°/s
Example: myTurtle.getAnimationspeed();
- 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
-
Provide information about all font families (e.g. roman) currently available on your system.
- getColor() - Method in class ch.aplu.turtle.Pen
-
Query the Pen
s color.
- getColor() - Method in class ch.aplu.turtle.Turtle
-
Query the Turtle
's current color.
- getDashArray() - Method in class ch.aplu.turtle.Pen
-
Query the Pen
s dash array.
- getDashPhase() - Method in class ch.aplu.turtle.Pen
-
Query the Pen
s dash phase.
- getDouble() - Method in class je.NumberField
-
Gets a double-value from the NumberField.
- getDouble() - Method in class JNumberField
-
Gets a double-value from the JNumberField.
- getDouble() - Method in class NumberField
-
Gets a double-value from the NumberField.
- getEndCap() - Method in class ch.aplu.turtle.Pen
-
Query the Pen
s end cap style.
- getFill() - Method in class je.fx.util.Turtle
-
Gets the backgorund color of the Turtle.
- getFillColor() - Method in class ch.aplu.turtle.Pen
-
Query the Pen
s fill color.
- getFloat() - Method in class je.NumberField
-
Gets a float-value from the NumberField.
- getFloat() - Method in class JNumberField
-
Gets a float-value from the JNumberField.
- getFloat() - Method in class NumberField
-
Gets a float-value from the NumberField.
- getFont() - Method in class ch.aplu.turtle.Pen
-
Query the current font.
- getFont() - Method in class ch.aplu.turtle.Turtle
-
Return the current font.
- getFontSize() - Method in class ch.aplu.turtle.Pen
-
Query the size (in points, rounded to int) of the current font.
- getInt() - Method in class je.NumberField
-
Gets an int-value from the NumberField.
- getInt() - Method in class JNumberField
-
Gets an int-value from the JNumberField.
- getInt() - Method in class NumberField
-
Gets an int-value from the NumberField.
- getLineJoin() - Method in class ch.aplu.turtle.Pen
-
Query the Pen
s line join style.
- getLineWidth() - Method in class ch.aplu.turtle.Pen
-
Query the Pen
s line width
- getLong() - Method in class je.NumberField
-
Gets a long-value from the NumberField.
- getLong() - Method in class JNumberField
-
Gets a long-value from the JNumberField.
- getLong() - Method in class NumberField
-
Gets a long-value from the NumberField.
- getMiterLimit() - Method in class ch.aplu.turtle.Pen
-
Query the Pen
s miter limit style.
- getOb(Object) - Static method in class Eval
-
- getOriginX() - Method in class ch.aplu.turtle.Playground
-
- getOriginX() - Method in class je.fx.util.Turtle
-
gets OriginX of the cartesian coordinate system within the turtle's canvas.
- getOriginY() - Method in class ch.aplu.turtle.Playground
-
- getOriginY() - Method in class je.fx.util.Turtle
-
gets OriginY of the cartesian coordinate system within the turtle's canvas.
- getPen() - Method in class ch.aplu.turtle.Turtle
-
Get the Turtle
's Pen
.
- getPixelColor(Turtle) - Method in class ch.aplu.turtle.Playground
-
Return the color of the pixel at the current turtle position.
- getPixelColor() - Method in class ch.aplu.turtle.Turtle
-
Return the color of the pixel at the current turtle position.
- getPlayground() - Method in class ch.aplu.turtle.Turtle
-
Get the Playground
.
- getPos() - Method in class ch.aplu.turtle.Turtle
-
Query the Turtle
's position
- getPrinterG2D() - Method in class ch.aplu.turtle.Playground
-
Return the graphics context of the printer.
- getSpeed() - Method in class ch.aplu.turtle.Turtle
-
Get the current speed.
- getStroke() - Method in class ch.aplu.turtle.Pen
-
Get the Pen
s Stroke
- getStroke() - Method in class je.fx.util.Turtle
-
Gets the drawing color of the Turtle.
- getTraceBuffer() - Method in class ch.aplu.turtle.Playground
-
Return the image of the trace buffer.
- getTraceG2D() - Method in class ch.aplu.turtle.Playground
-
Return the graphics context of the trace buffer.
- getTurtle(int) - Method in class ch.aplu.turtle.Playground
-
Return the Turtle
at index index
.
- getTurtleBuffer() - Method in class ch.aplu.turtle.Playground
-
Return the image of the turtle buffer.
- getTurtleFactory() - Method in class ch.aplu.turtle.Turtle
-
Return the TurtleFactory
of this turtle.
- getTurtleG2D() - Method in class ch.aplu.turtle.Playground
-
Return the graphics context of the turtle buffer.
- getTurtleW() - Method in class je.fx.util.Turtle
-
Gets turtleW, the current angle of the turtle in degrees.
- getTurtleX() - Method in class je.fx.util.Turtle
-
Gets turtleX of the cartesian coordinate system within the turtle's canvas.
- getTurtleY() - Method in class je.fx.util.Turtle
-
Gets turtleY of the cartesian coordinate system within the turtle's canvas.
- getX() - Method in class ch.aplu.turtle.Turtle
-
Query the Turtle
's x-position.
- getY() - Method in class ch.aplu.turtle.Turtle
-
Query the Turtle
's x-position.
- 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
.
- paint(Graphics) - Method in class je.util.Turtle
-
Shows the Turtle's canvas.
- paintComponent() - Method in class ch.aplu.turtle.Playground
-
Paint the Playground.
- paintComponent(Graphics) - Method in class ch.aplu.turtle.Playground
-
Draw the trace and turtle buffers.
- paintPlayground() - Method in class ch.aplu.turtle.Playground
-
- paintTurtle(Turtle) - Method in class ch.aplu.turtle.Playground
-
Paint the given Turtle
- paintTurtles(Turtle) - Method in class ch.aplu.turtle.Playground
-
Move the given Turtle
above all the others, then
paints all turtles.
- paintTurtles() - Method in class ch.aplu.turtle.Playground
-
Paint all turtles (calling paintComponent())
- pd() - Method in class ch.aplu.turtle.Turtle
-
Lowers the Turtle
's pen down so it
will draw a line when moving.
- pe() - Method in class ch.aplu.turtle.Turtle
-
The Turtle
's Pen
is
changed to an eraser (which is in fact a pen with
background color).
- 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 Color 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
-
Lower the Turtle
's Pen
down so it
will draw a line when moving.
- penErase() - Method in class ch.aplu.turtle.Turtle
-
The Turtle
's Pen
is
changed to an eraser (which is in fact a pen with
background color).
- penUp() - Method in class ch.aplu.turtle.Turtle
-
Lift the Turtle
's pen up so it
won't draw a line anymore.
- penWidth(int) - Method in class ch.aplu.turtle.Turtle
-
Set the pen width.
- penWidth() - Method in class ch.aplu.turtle.Turtle
-
Query the pen width.
- Playground - Class in ch.aplu.turtle
-
A Playground
is the Turtle
's home, i.e. the Turtle
lives
and moves in the Playground
.
- Playground() - Constructor for class ch.aplu.turtle.Playground
-
Create a Playground with default background color.
- 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
-
Print 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
-
Lift the Turtle
's pen up so it
won't draw a line anymore.
- setAngle(int) - Method in class ch.aplu.turtle.Turtle
-
Sets angle of the turtle.
- setAngle(double) - Method in class ch.aplu.turtle.TurtleRenderer
-
Set the current image to the one corresponding to the angle angle
.
- setAngleResolution(int) - Method in class ch.aplu.turtle.Turtle
-
Set the angle resolution for the Turtle
's pictures.
- setAnimated(boolean) - Method in class je.fx.util.Turtle
-
Sets animation on/off.
- setAnimationspeed(double) - Method in class je.fx.util.Turtle
-
Sets the animationspeed, default is 100px/s and 100°/s
Example: myTurtle.setAnimationspeed(100);
- setAntiAliasing(boolean) - Method in class ch.aplu.turtle.Playground
-
Set antialiasing on or off for the turtle trace buffer
This may result in an better trace quality.
- setBackground(Color) - Method in class ch.aplu.turtle.Playground
-
set the background color of the playground
- setBackground(Color) - Method in class je.util.Turtle
-
Sets the canvas color of the Turtle to color c.
- setBounds(int, int, int, int) - Method in class ch.aplu.turtle.Playground
-
- setBounds(int, int, int, int) - Method in class ch.aplu.turtle.Turtle
-
Transforms the gui-position to mouse-coordinates.
- setClip(boolean) - Method in class ch.aplu.turtle.Turtle
-
Sets clipping-mode on/off.
- setColor(Color) - Method in class ch.aplu.turtle.Pen
-
Set the Pen
s color.
- setColor(Color) - Method in class ch.aplu.turtle.Turtle
-
Set the Turtle
's color to the specified one.
- setDash(float[]) - Method in class ch.aplu.turtle.Pen
-
Set the Pen
s dash array.
- setDashPhase(float) - Method in class ch.aplu.turtle.Pen
-
Set the Pen
s dash phase.
- setDouble(double) - Method in class je.NumberField
-
Sets a double-value into the NumberField.
- setDouble(double, int) - Method in class je.NumberField
-
Sets a double-value with N digits into the NumberField.
- setDouble(double) - Method in class JNumberField
-
Sets a double-value into the JNumberField.
- setDouble(double, int) - Method in class JNumberField
-
Sets a double-value with N digits into the JNumberField.
- setDouble(double) - Method in class NumberField
-
Sets a double-value into the NumberField.
- setDouble(double, int) - Method in class NumberField
-
Sets a double-value with N digits into the NumberField.
- setDrawDynamic(boolean) - Method in class je.util.Turtle
-
Sets DrawDynamic to b.
- setEndCap(int) - Method in class ch.aplu.turtle.Pen
-
Set the Pen
s end cap style.
- setFill(Color) - Method in class je.fx.util.Turtle
-
Sets the canvas color of the Turtle to color c.
- setFillColor(Color) - Method in class ch.aplu.turtle.Pen
-
Set the Pen
s fill color.
- setFillColor(Color) - Method in class ch.aplu.turtle.Turtle
-
Set the color to the specified one.
- setFloat(float) - Method in class je.NumberField
-
Sets a float-value into the NumberField.
- setFloat(float, int) - Method in class je.NumberField
-
Sets a float-value with N digits into the NumberField.
- setFloat(float) - Method in class JNumberField
-
Sets a float-value into the JNumberField.
- setFloat(float, int) - Method in class JNumberField
-
Sets a float-value with N digits into the JNumberField.
- setFloat(float) - Method in class NumberField
-
Sets a float-value into the NumberField.
- setFloat(float, int) - Method in class NumberField
-
Sets a float-value with N digits into the NumberField.
- setFont(Font) - Method in class ch.aplu.turtle.Pen
-
Change the font to the given one.
- setFont(Font) - Method in class ch.aplu.turtle.Turtle
-
Set the current font as specified.
- setFont(String, int, int) - Method in class ch.aplu.turtle.Turtle
-
Change the current font to the specified one.
- setFontSize(int) - Method in class ch.aplu.turtle.Pen
-
Change the font size (in points).
- setFontSize(float) - Method in class ch.aplu.turtle.Pen
-
Change the font size (in points).
- setFontSize(int) - Method in class ch.aplu.turtle.Turtle
-
Set the font size.
- setFontStyle(int) - Method in class ch.aplu.turtle.Pen
-
Change the font style.
- setFontStyle(int) - Method in class ch.aplu.turtle.Turtle
-
Set the font style.
- setForeground(Color) - Method in class je.util.Turtle
-
Sets the drawing color of the Turtle to color c.
- setH(double) - Method in class ch.aplu.turtle.Turtle
-
Set the Turtle
's heading.
0 means facing NORTH.
- setHeading(double) - Method in class ch.aplu.turtle.Turtle
-
This is the same as setH(double degrees).
- setHeight(int) - Method in class je.fx.util.Turtle
-
Sets the height of the Turtle.
- setInt(int) - Method in class je.NumberField
-
Sets an int-value into the NumberField.
- setInt(int) - Method in class JNumberField
-
Sets an int-value into the JNumberField.
- setInt(int) - Method in class NumberField
-
Sets an int-value into the NumberField.
- setLineCap(StrokeLineCap) - Method in class je.fx.util.Turtle
-
Sets the stroke line cap of the Turtle to cap.
- setLineDashOffset(double) - Method in class je.fx.util.Turtle
-
Sets the line dash offset of the Turtle to dash.
- setLineJoin(int) - Method in class ch.aplu.turtle.Pen
-
Set the Pen
s line join style.
- setLineJoin(StrokeLineJoin) - Method in class je.fx.util.Turtle
-
Sets the stroke line join of the Turtle to join.
- setLineWidth(float) - Method in class ch.aplu.turtle.Pen
-
Set the Pen
s line width.
- setLineWidth(double) - Method in class ch.aplu.turtle.Turtle
-
Set the line thickness.
- setLineWidth(float) - Method in class ch.aplu.turtle.Turtle
-
Set the line thickness.
- setLineWidth(int) - Method in class je.fx.util.Turtle
-
Sets the line width of the Turtle to width w.
- setLong(long) - Method in class je.NumberField
-
Sets a long-value into the NumberField.
- setLong(long) - Method in class JNumberField
-
Sets a long-value into the JNumberField.
- setLong(long) - Method in class NumberField
-
Sets a long-value into the NumberField.
- setMiterLimit(float) - Method in class ch.aplu.turtle.Pen
-
Set the Pen
s miter limit.
- setMiterLimit(double) - Method in class je.fx.util.Turtle
-
Sets the miter limit of the Turtle to ml.
- setOrigin(int, int) - Method in class ch.aplu.turtle.Playground
-
Sets the origin of the cartesian coordinate system within the playground
- setOrigin(double, double) - Method in class je.util.Turtle
-
Sets the origin of the cartesian coordinate system within the turtle's canvas.
- setOriginX(double) - Method in class je.fx.util.Turtle
-
Sets OriginX of the cartesian coordinate system within the turtle's canvas.
- setOriginY(double) - Method in class je.fx.util.Turtle
-
Sets OriginY of the cartesian coordinate system within the turtle's canvas.
- setPenColor(Color) - Method in class ch.aplu.turtle.Turtle
-
Set the Turtle
's pen color.
- setPenUp(boolean) - Method in class ch.aplu.turtle.Turtle
-
Sets pen-position up/down.
- setPlayground(Playground) - Method in class ch.aplu.turtle.Turtle
-
Set the Playground
to the specified
playground
.
- setPos(double, double) - Method in class ch.aplu.turtle.Turtle
-
Put the Turtle
to a new position with specified
x- and y-coordinates.
- setPos(Point2D.Double) - Method in class ch.aplu.turtle.Turtle
-
Put the Turtle
to a new position.
- setScreenPos(Point) - Method in class ch.aplu.turtle.Turtle
-
Put the Turtle
to a new screen position.
- setScreenX(int) - Method in class ch.aplu.turtle.Turtle
-
Put the Turtle
to a new position with the given screen x-coordinates.
- setScreenY(int) - Method in class ch.aplu.turtle.Turtle
-
Put the Turtle
to a new position with the given screen y-coordinates.
- setSleepTime(int) - Method in class je.util.Turtle
-
Sets SleepTime to s.
- setSmooth(boolean) - Method in class je.fx.util.Turtle
-
Sets the smooth-property of the Turtle to s.
- setSpeed(double) - Method in class ch.aplu.turtle.Turtle
-
Set the Turtle
's speed.
- setStroke(Color) - Method in class je.fx.util.Turtle
-
Sets the drawing color of the Turtle to color c.
- setTurtleW(double) - Method in class je.fx.util.Turtle
-
Sets turtleW, the current angle of the turtle in the range form 0 to 360 degrees.
- setTurtleW(double) - Method in class je.util.Turtle
-
Sets turtleW to w.
- setTurtleX(double) - Method in class je.fx.util.Turtle
-
Sets turtleX of the cartesian coordinate system within the turtle's canvas.
- setTurtleX(double) - Method in class je.util.Turtle
-
Sets turtleX to x.
- setTurtleY(double) - Method in class je.fx.util.Turtle
-
Sets turtleY of the cartesian coordinate system within the turtle's canvas.
- setTurtleY(double) - Method in class je.util.Turtle
-
Sets turtleY to y.
- setVisible(boolean) - Method in class ch.aplu.turtle.Turtle
-
Shows or hides the turtle.
- setWidth(int) - Method in class je.fx.util.Turtle
-
Sets the width of the Turtle.
- setX(double) - Method in class ch.aplu.turtle.Turtle
-
Put the Turtle
to a new position with the given x-coordinates.
- setY(double) - Method in class ch.aplu.turtle.Turtle
-
Put the Turtle
to a new position with the given y-coordinates.
- showTurtle() - Method in class ch.aplu.turtle.Turtle
-
The same as st().
- sleep(int) - Static method in class ch.aplu.turtle.Turtle
-
Delay execution for the given amount of time ( in ms ).
- sleepTime - Variable in class je.util.Turtle
-
For drawDynamic = true you set the delay in milliseconds for drawing.
- st() - Method in class ch.aplu.turtle.Turtle
-
Set the Turtle
to show mode.
- stampTurtle() - Method in class ch.aplu.turtle.Turtle
-
Put a Turtle image at the current position.
- stop() - Method in class je.fx.util.Turtle
-
Stops the animation
Example: myTurtle.stop();
- toBottom(Turtle) - Method in class ch.aplu.turtle.Playground
-
Put a Turtle below all others.
- toBottom() - Method in class ch.aplu.turtle.Turtle
-
Put this turtle to the bottom.
- toScreenCoords(Point2D.Double) - Method in class ch.aplu.turtle.Playground
-
Calculate the screen coordinates of the given point.
- toScreenCoords(double, double) - Method in class ch.aplu.turtle.Playground
-
Calculate 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
-
Put this turtle to the top.
- toTurtleCoords(double, double) - Method in class ch.aplu.turtle.Playground
-
Calculate the turtle coordinates of the given screen coordinates.
- toTurtleCoords(Point2D.Double) - Method in class ch.aplu.turtle.Playground
-
Calculate the turtle coordinates of the given screen point.
- toTurtlePos(Point) - Method in class ch.aplu.turtle.Turtle
-
Convert from screen coordinates to turtle coordinates
- toTurtlePos(int, int) - Method in class ch.aplu.turtle.Turtle
-
Convert from screen coordinates to turtle coordinates
- toTurtleX(int) - Method in class ch.aplu.turtle.Turtle
-
Convert from screen coordinates to turtle coordinates
- toTurtleY(int) - Method in class ch.aplu.turtle.Turtle
-
Convert from screen coordinates to turtle coordinates
- towards(double, double) - Method in class ch.aplu.turtle.Turtle
-
Calculate the direction to a given point.
- towards(Point2D.Double) - Method in class ch.aplu.turtle.Turtle
-
Calculate the direction to a given point.
- TPrintable - Interface in ch.aplu.turtle
-
Interface for printing on an attached printer.
- turn(double) - Method in class je.fx.util.Turtle
-
Turns the angle of the turtle relativ by the parameter angle.
- turn(double) - Method in class je.util.Turtle
-
Turns the angle of the turtle relativ by the parameter angle.
- turnto(double) - Method in class je.fx.util.Turtle
-
Sets the angle of the turtle absolute by the parameter angle.
- turnto(double) - Method in class je.util.Turtle
-
Sets the angle of the turtle absolute by the parameter angle.
- Turtle - Class in ch.aplu.turtle
-
The core class for turtles.
- Turtle() - Constructor for class ch.aplu.turtle.Turtle
-
Create a new Turtle
- Turtle - Class in je.fx.util
-
- Turtle() - Constructor for class je.fx.util.Turtle
-
Creates a Turtle with a canvas.
- Turtle - Class in je.util
-
This class is a turtle component for simple graphic programming.
- Turtle() - Constructor for class je.util.Turtle
-
Creates a Turtle with a canvas.
- TurtleRenderer - Class in ch.aplu.turtle
-
This class is responsible for creating and choosing the correct Turtle picture.
- TurtleRenderer(Turtle) - Constructor for class ch.aplu.turtle.TurtleRenderer
-
- turtleW - Variable in class je.util.Turtle
-
turtleW is the current angle of the turtle in the range form 0 to 360 degrees.
- turtleX - Variable in class je.util.Turtle
-
turtleX is the x-coordinate of the turtle
Example: myTurtle.turtleX = 100;
- turtleY - Variable in class je.util.Turtle
-
turtleY is the y-coordinate of the turtle.