All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.samples.javadraw.BouncingDrawing

CH.ifa.draw.standard.AbstractFigure
   |
   +----CH.ifa.draw.standard.CompositeFigure
           |
           +----CH.ifa.draw.standard.StandardDrawing
                   |
                   +----CH.ifa.draw.samples.javadraw.BouncingDrawing

public class BouncingDrawing
extends StandardDrawing
implements Animatable

Constructor Index

 o BouncingDrawing()

Method Index

 o add(Figure)
Adds a figure to the list of figures.
 o animationStep()
 o remove(Figure)
Removes the figure from the drawing and releases it.
 o replace(Figure, Figure)
Replaces a figure in the drawing without removing it from the drawing.

Constructors

 o BouncingDrawing
 public BouncingDrawing()

Methods

 o add
 public synchronized Figure add(Figure figure)
Adds a figure to the list of figures.

Overrides:
add in class CompositeFigure
 o remove
 public synchronized Figure remove(Figure figure)
Removes the figure from the drawing and releases it.

Overrides:
remove in class StandardDrawing
 o replace
 public synchronized void replace(Figure figure,
                                  Figure replacement)
Replaces a figure in the drawing without removing it from the drawing.

Overrides:
replace in class CompositeFigure
 o animationStep
 public void animationStep()

All Packages  Class Hierarchy  This Package  Previous  Next  Index