public class BoundsManipulator extends Manipulator
| Constructor and Description |
|---|
BoundsManipulator()
Construct a new manipulator that uses rectangular grab-handles.
|
BoundsManipulator(GrabHandleFactory f)
Construct a new manipulator using the given grab-handle factory.
|
| Modifier and Type | Method and Description |
|---|---|
Interactor |
getDragInteractor()
Return the interactor that is attached to a move handle.
|
BoundsGeometry |
getGeometry()
Return the geometry of this manipulator
|
void |
mousePressed(LayerEvent e)
Do nothing.
|
void |
mouseReleased(LayerEvent e)
Do nothing.
|
FigureDecorator |
newInstance(Figure f)
Create a new instance of this manipulator.
|
void |
refresh()
Refresh the geometry.
|
void |
setChild(Figure child)
Set the child figure.
|
void |
setDragInteractor(Interactor dragger)
Set the drag interactor for figures wrapped by this
manipulator.
|
addGrabHandle, 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 BoundsManipulator()
public BoundsManipulator(GrabHandleFactory f)
public Interactor getDragInteractor()
public BoundsGeometry getGeometry()
public void mouseReleased(LayerEvent e)
e - The mouse event.public void mousePressed(LayerEvent e)
e - The mouse event.public FigureDecorator newInstance(Figure f)
newInstance in class FigureDecoratorf - The figurepublic void refresh()
refresh in class Manipulatorpublic void setChild(Figure child)
setChild in class FigureDecoratorchild - The child figure.public void setDragInteractor(Interactor dragger)