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
-
BouncingDrawing()
-
-
add(Figure)
- Adds a figure to the list of figures.
-
animationStep()
-
-
remove(Figure)
- Removes the figure from the drawing and releases it.
-
replace(Figure, Figure)
- Replaces a figure in the drawing without
removing it from the drawing.
BouncingDrawing
public BouncingDrawing()
add
public synchronized Figure add(Figure figure)
- Adds a figure to the list of figures.
- Overrides:
- add in class CompositeFigure
remove
public synchronized Figure remove(Figure figure)
- Removes the figure from the drawing and releases it.
- Overrides:
- remove in class StandardDrawing
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
animationStep
public void animationStep()
All Packages Class Hierarchy This Package Previous Next Index