|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractFigure
org.jhotdraw.standard.CompositeFigure
org.jhotdraw.standard.StandardDrawing
org.jhotdraw.samples.javadraw.BouncingDrawing
Field Summary |
Fields inherited from class org.jhotdraw.standard.CompositeFigure |
_nHighestZ, _nLowestZ, fFigures |
Fields inherited from interface org.jhotdraw.framework.Figure |
POPUP_MENU |
Constructor Summary | |
BouncingDrawing()
|
Method Summary | |
Figure |
add(Figure figure)
Adds a figure and sets its container to refer to this drawing. |
void |
animationStep()
Perform a step of the animation. |
Figure |
remove(Figure figure)
Removes the figure from the drawing and releases it. |
Figure |
replace(Figure figure,
Figure replacement)
Replaces a figure in the drawing without removing it from the drawing. |
Methods inherited from class org.jhotdraw.standard.StandardDrawing |
addDrawingChangeListener, basicDisplayBox, displayBox, drawingChangeListeners, figureInvalidated, figureRequestUpdate, fireDrawingTitleChanged, getTitle, handles, lock, orphan, removeDrawingChangeListener, setTitle, unlock |
Methods inherited from class org.jhotdraw.standard.CompositeFigure |
addAll, addAll, basicMoveBy, bringToFront, containsFigure, draw, draw, figureAt, figureChanged, figureCount, figureRemoved, figureRequestRemove, figures, figures, figuresReverse, findFigure, findFigure, findFigure, findFigureInside, findFigureInsideWithout, findFigureWithout, getFigureFromLayer, getLayer, includes, init, orphanAll, orphanAll, read, release, removeAll, removeAll, removeAll, sendToBack, sendToLayer, write |
Methods inherited from class org.jhotdraw.standard.AbstractFigure |
addDependendFigure, addFigureChangeListener, addToContainer, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, getAttribute, getAttribute, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, invalidate, invalidateRectangle, isEmpty, listener, moveBy, removeDependendFigure, removeFigureChangeListener, removeFromContainer, setAttribute, setAttribute, setZValue, size, visit, willChange |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jhotdraw.framework.Drawing |
addAll, addAll, bringToFront, containsFigure, draw, draw, figures, figures, figuresReverse, findFigure, findFigure, findFigure, findFigureInside, findFigureInsideWithout, findFigureWithout, getFigureFromLayer, getLayer, includes, init, orphanAll, orphanAll, release, removeAll, removeAll, sendToBack, sendToLayer |
Methods inherited from interface org.jhotdraw.util.Storable |
read, write |
Methods inherited from interface org.jhotdraw.framework.FigureChangeListener |
figureChanged, figureRemoved, figureRequestRemove |
Constructor Detail |
public BouncingDrawing()
Method Detail |
public Figure add(Figure figure)
Drawing
add
in interface Drawing
add
in class StandardDrawing
public Figure remove(Figure figure)
Drawing
remove
in interface Drawing
remove
in class CompositeFigure
figure
- that is part of the drawing and should be removed
CompositeFigure.removeAll(java.util.List)
public Figure replace(Figure figure, Figure replacement)
Drawing
replace
in interface Drawing
replace
in class CompositeFigure
figure
- figure to be replacedreplacement
- figure that should replace the specified figure
public void animationStep()
Animatable
animationStep
in interface Animatable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |