|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCH.ifa.draw.standard.AbstractFigure
CH.ifa.draw.standard.CompositeFigure
CH.ifa.draw.standard.StandardDrawing
CH.ifa.draw.samples.javadraw.BouncingDrawing
public class BouncingDrawing
| Field Summary |
|---|
| Fields inherited from class CH.ifa.draw.standard.CompositeFigure |
|---|
fFigures |
| Fields inherited from interface CH.ifa.draw.framework.Figure |
|---|
POPUP_MENU |
| Constructor Summary | |
|---|---|
BouncingDrawing()
|
|
| Method Summary | |
|---|---|
Figure |
add(Figure figure)
Adds a figure to the list of figures. |
void |
animationStep()
Perform a step of the animation. |
Figure |
remove(Figure figure)
Removes the figure from the drawing and releases it. |
void |
replace(Figure figure,
Figure replacement)
Replaces a figure in the drawing without removing it from the drawing. |
| Methods inherited from class CH.ifa.draw.standard.StandardDrawing |
|---|
addDrawingChangeListener, basicDisplayBox, displayBox, drawingChangeListeners, figureInvalidated, figureRequestRemove, figureRequestUpdate, handles, lock, removeDrawingChangeListener, unlock |
| Methods inherited from class CH.ifa.draw.standard.CompositeFigure |
|---|
addAll, basicMoveBy, bringToFront, draw, figureAt, figureChanged, figureCount, figureRemoved, figures, figuresReverse, findFigure, findFigure, findFigure, findFigureInside, findFigureInsideWithout, findFigureWithout, includes, orphan, orphanAll, read, release, removeAll, removeAll, sendToBack, write |
| Methods inherited from class CH.ifa.draw.standard.AbstractFigure |
|---|
addFigureChangeListener, addToContainer, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, getAttribute, invalidate, isEmpty, listener, moveBy, removeFigureChangeListener, removeFromContainer, setAttribute, size, willChange |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface CH.ifa.draw.framework.Drawing |
|---|
addAll, bringToFront, draw, figures, figuresReverse, findFigure, findFigure, findFigure, findFigureInside, findFigureInsideWithout, findFigureWithout, orphan, orphanAll, release, removeAll, sendToBack |
| Methods inherited from interface CH.ifa.draw.util.Storable |
|---|
read, write |
| Methods inherited from interface CH.ifa.draw.framework.FigureChangeListener |
|---|
figureChanged, figureRemoved |
| Constructor Detail |
|---|
public BouncingDrawing()
| Method Detail |
|---|
public Figure add(Figure figure)
CompositeFigure
add in interface Drawingadd in class CompositeFigurepublic Figure remove(Figure figure)
StandardDrawing
remove in interface Drawingremove in class StandardDrawingCompositeFigure.removeAll(java.util.Vector)
public void replace(Figure figure,
Figure replacement)
CompositeFigure
replace in interface Drawingreplace in class CompositeFigurepublic void animationStep()
Animatable
animationStep in interface Animatable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||