public class AttributeBoundsManipulator extends BoundsManipulator
| Red (johnr) |
| Red (eal) |
| Constructor and Description |
|---|
AttributeBoundsManipulator(NamedObj container)
Construct a new bounds manipulator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
mousePressed(LayerEvent e)
Make a record of the size before resizing.
|
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.
|
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, translatedecorate, pick, undecoratecontains, getInteractor, getLayer, getOrigin, getParent, getToolTipText, getTransformContext, getUserObject, intersects, isVisible, paint, setInteractor, setParent, setToolTipText, setUserObject, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisVisible, paint, setVisiblegetParent, getTransformContextpublic AttributeBoundsManipulator(NamedObj container)
container - The container of the icon to be manipulated.public void mouseReleased(LayerEvent e)
mouseReleased in class BoundsManipulatore - The mouse event.public void mousePressed(LayerEvent e)
mousePressed in class BoundsManipulatore - The mouse event.public FigureDecorator newInstance(Figure f)
newInstance in class BoundsManipulatorpublic void setSnapResolution(double resolution)
resolution - The snap resolution.