public class AnimatedWinPane extends WinPane
WinPane that configures all turtles to have animated move-turn
actions.| Modifier and Type | Class and Description |
|---|---|
static class |
AnimatedWinPane.AnimationSpeed
Animation speeds.
|
JPAZ_DEFAULT_TITLEreferenceIdentification| Constructor and Description |
|---|
AnimatedWinPane() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PaneObject o)
Adds the new pane object (Pane, Turtle, etc.) on the pane.
|
AnimatedWinPane.AnimationSpeed |
getAnimationSpeed()
Returns the animation speed.
|
void |
setAnimationSpeed(AnimatedWinPane.AnimationSpeed animationSpeed)
Sets the animation speed of move-turn operations.
|
getPane, getTitle, invalidate, isResizable, paintToPaneGraphics, resize, setPane, setPosition, setResizable, setRotation, setTitlebringToBack, bringToBackOf, bringToFront, bringToFrontOf, canClick, clear, containsPoint, draw, fill, getBackgroundColor, getBorderColor, getBorderWidth, getCenter, getHeight, getKeyRepeatPeriod, getKeyRepeatPeriod, getObjectCount, getPane, getPaneCount, getPaneObject, getPaneObjects, getPanes, getPosition, getRotation, getTickPeriod, getTransparency, getTurtle, getTurtleCount, getTurtles, getWidth, getX, getXCenter, getY, getYCenter, isAntialiased, isMouseTransparent, isTransparentBackground, isTurtleCentering, onCanClick, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMousePressed, onMouseReleased, onTick, remove, savePicture, setAntialiased, setBackgroundColor, setBorderColor, setBorderWidth, setCenter, setCenter, setHeight, setKeyRepeatPeriod, setKeyRepeatPeriod, setMouseTransparent, setPosition, setTickPeriod, setTransparency, setTransparentBackground, setTurtleCentering, setWidth, setX, setXCenter, setY, setYCenter, toStringpublic void add(PaneObject o)
Panepublic AnimatedWinPane.AnimationSpeed getAnimationSpeed()
public void setAnimationSpeed(AnimatedWinPane.AnimationSpeed animationSpeed)
animationSpeed - the speed of animations.Copyright © 2017. All rights reserved.