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

Constructor Index

 o AnimationDecorator()
 o AnimationDecorator(Figure)

Method Index

 o animationStep()
 o basicDisplayBox(Point, Point)
Forwards basicDisplayBox to its contained figure.
 o basicMoveBy(int, int)
Forwards basicMoveBy to its contained figure.
 o displayBox()
Forwards displayBox to its contained figure.
 o read(StorableInput)
Reads itself and the contained figure from the StorableInput.
 o velocity()
 o velocity(int, int)
 o write(StorableOutput)
Writes itself and the contained figure to the StorableOutput.

Constructors

 o AnimationDecorator
 public AnimationDecorator()
 o AnimationDecorator
 public AnimationDecorator(Figure figure)

Methods

 o velocity
 public void velocity(int xVelocity,
                      int yVelocity)
 o velocity
 public Point velocity()
 o animationStep
 public void animationStep()
 o basicMoveBy
 public synchronized void basicMoveBy(int x,
                                      int y)
Forwards basicMoveBy to its contained figure.

Overrides:
basicMoveBy in class DecoratorFigure
 o basicDisplayBox
 public synchronized void basicDisplayBox(Point origin,
                                          Point corner)
Forwards basicDisplayBox to its contained figure.

Overrides:
basicDisplayBox in class DecoratorFigure
 o displayBox
 public synchronized Rectangle displayBox()
Forwards displayBox to its contained figure.

Overrides:
displayBox in class DecoratorFigure
 o write
 public void write(StorableOutput dw)
Writes itself and the contained figure to the StorableOutput.

Overrides:
write in class DecoratorFigure
 o 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