|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdiva.canvas.AbstractFigure
diva.canvas.AbstractFigureContainer
diva.canvas.FigureDecorator
diva.canvas.interactor.Manipulator
diva.canvas.interactor.BoundsManipulator
ptolemy.vergil.toolbox.AttributeBoundsManipulator
This is a bounds manipulator supporting resizable icons. It records the new size when the mouse is released, and supports snap to grid.
| Red (johnr) |
| Red (eal) |
| Constructor Summary | |
AttributeBoundsManipulator(NamedObj container)
Construct a new bounds manipulator. |
|
| Method Summary | |
void |
mouseReleased(LayerEvent e)
Make a persistent record of the new size by issuing a change request. |
FigureDecorator |
newInstance(Figure f)
Create a new instance of this manipulator. |
void |
setSnapResolution(double resolution)
Set the snap resolution. |
| Methods inherited from class diva.canvas.interactor.BoundsManipulator |
getDragInteractor, getGeometry, refresh, setChild, setDragInteractor |
| Methods inherited from class diva.canvas.interactor.Manipulator |
addGrabHandle, clearGrabHandles, getBounds, getGrabHandleFactory, getHandleInteractor, isRepainting, paint, pick, relocateGrabHandles, removeGrabHandle, repaint, repaint, repaintAlready, setGrabHandleFactory, setHandleFilter, setHandleInteractor, setRepainting |
| Methods inherited from class diva.canvas.FigureDecorator |
add, contains, figures, figuresFromBack, figuresFromFront, getChild, getContainer, getDecoratedFigure, getFigureCount, getShape, hit, remove, replaceChild, transform, translate |
| Methods inherited from class diva.canvas.AbstractFigureContainer |
decorate, pick, undecorate |
| Methods inherited from class diva.canvas.AbstractFigure |
contains, getInteractor, getLayer, getOrigin, getParent, getToolTipText, getTransformContext, getUserObject, intersects, isVisible, paint, setInteractor, setParent, setToolTipText, setUserObject, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface diva.canvas.VisibleComponent |
isVisible, paint, setVisible |
| Methods inherited from interface diva.canvas.CanvasComponent |
getParent, getTransformContext |
| Constructor Detail |
public AttributeBoundsManipulator(NamedObj container)
container - The container of the icon to be manipulated.| Method Detail |
public void mouseReleased(LayerEvent e)
mouseReleased in class BoundsManipulatore - The mouse event.public FigureDecorator newInstance(Figure f)
newInstance in class BoundsManipulatorpublic void setSnapResolution(double resolution)
resolution - The snap resolution.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||