public class AttributeBoundsManipulator extends diva.canvas.interactor.BoundsManipulator
| Constructor and Description |
|---|
AttributeBoundsManipulator(NamedObj container)
Construct a new bounds manipulator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
mousePressed(diva.canvas.event.LayerEvent e)
Make a record of the size before resizing.
|
void |
mouseReleased(diva.canvas.event.LayerEvent e)
Make a persistent record of the new size by issuing a change request.
|
diva.canvas.FigureDecorator |
newInstance(diva.canvas.Figure f)
Create a new instance of this manipulator.
|
void |
setSnapResolution(double resolution)
Set the snap resolution.
|
getDragInteractor, getGeometry, refresh, setChild, setDragInteractoraddGrabHandle, clearGrabHandles, getBounds, getGrabHandleFactory, getHandleInteractor, isRepainting, paint, pick, relocateGrabHandles, removeGrabHandle, repaint, repaint, repaintAlready, setGrabHandleFactory, setHandleFilter, setHandleInteractor, setRepaintingadd, contains, figures, figuresFromBack, figuresFromFront, getChild, getContainer, getDecoratedFigure, getFigureCount, getShape, hit, remove, replaceChild, transform, translatecontains, getInteractor, getLayer, getOrigin, getParent, getToolTipText, getTransformContext, getUserObject, intersects, isVisible, paint, setInteractor, setParent, setToolTipText, setUserObject, setVisiblepublic AttributeBoundsManipulator(NamedObj container)
container - The container of the icon to be manipulated.public void mouseReleased(diva.canvas.event.LayerEvent e)
mouseReleased in class diva.canvas.interactor.BoundsManipulatore - The mouse event.public void mousePressed(diva.canvas.event.LayerEvent e)
mousePressed in class diva.canvas.interactor.BoundsManipulatore - The mouse event.public diva.canvas.FigureDecorator newInstance(diva.canvas.Figure f)
newInstance in class diva.canvas.interactor.BoundsManipulatorf - The figurepublic void setSnapResolution(double resolution)
resolution - The snap resolution.