All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.samples.javadraw.AnimationDecorator
CH.ifa.draw.standard.AbstractFigure
|
+----CH.ifa.draw.standard.DecoratorFigure
|
+----CH.ifa.draw.samples.javadraw.AnimationDecorator
- public class AnimationDecorator
- extends DecoratorFigure
-
AnimationDecorator()
-
-
AnimationDecorator(Figure)
-
-
animationStep()
-
-
basicDisplayBox(Point, Point)
- Forwards basicDisplayBox to its contained figure.
-
basicMoveBy(int, int)
- Forwards basicMoveBy to its contained figure.
-
displayBox()
- Forwards displayBox to its contained figure.
-
read(StorableInput)
- Reads itself and the contained figure from the StorableInput.
-
velocity()
-
-
velocity(int, int)
-
-
write(StorableOutput)
- Writes itself and the contained figure to the StorableOutput.
AnimationDecorator
public AnimationDecorator()
AnimationDecorator
public AnimationDecorator(Figure figure)
velocity
public void velocity(int xVelocity,
int yVelocity)
velocity
public Point velocity()
animationStep
public void animationStep()
basicMoveBy
public synchronized void basicMoveBy(int x,
int y)
- Forwards basicMoveBy to its contained figure.
- Overrides:
- basicMoveBy in class DecoratorFigure
basicDisplayBox
public synchronized void basicDisplayBox(Point origin,
Point corner)
- Forwards basicDisplayBox to its contained figure.
- Overrides:
- basicDisplayBox in class DecoratorFigure
displayBox
public synchronized Rectangle displayBox()
- Forwards displayBox to its contained figure.
- Overrides:
- displayBox in class DecoratorFigure
write
public void write(StorableOutput dw)
- Writes itself and the contained figure to the StorableOutput.
- Overrides:
- write in class DecoratorFigure
read
public void read(StorableInput dr) throws IOException
- Reads itself and the contained figure from the StorableInput.
- Overrides:
- read in class DecoratorFigure
All Packages Class Hierarchy This Package Previous Next Index