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, setDragInteractor
addGrabHandle, clearGrabHandles, getBounds, getGrabHandleFactory, getHandleInteractor, isRepainting, paint, pick, relocateGrabHandles, removeGrabHandle, repaint, repaint, repaintAlready, setGrabHandleFactory, setHandleFilter, setHandleInteractor, setRepainting
add, contains, figures, figuresFromBack, figuresFromFront, getChild, getContainer, getDecoratedFigure, getFigureCount, getShape, hit, remove, replaceChild, transform, translate
decorate, pick, undecorate
contains, getInteractor, getLayer, getOrigin, getParent, getToolTipText, getTransformContext, getUserObject, intersects, isVisible, paint, setInteractor, setParent, setToolTipText, setUserObject, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isVisible, paint, setVisible
getParent, getTransformContext
public AttributeBoundsManipulator(NamedObj container)
container
- The container of the icon to be manipulated.public void mouseReleased(LayerEvent e)
mouseReleased
in class BoundsManipulator
e
- The mouse event.public void mousePressed(LayerEvent e)
mousePressed
in class BoundsManipulator
e
- The mouse event.public FigureDecorator newInstance(Figure f)
newInstance
in class BoundsManipulator
public void setSnapResolution(double resolution)
resolution
- The snap resolution.