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, 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 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 FigureDecorator
public void refresh()
refresh
in class Manipulator
public void setChild(Figure child)
setChild
in class FigureDecorator
public void setDragInteractor(Interactor dragger)