public class CircleManipulator extends Manipulator
Constructor and Description |
---|
CircleManipulator()
Construct a new manipulator that uses rectangular grab-handles.
|
CircleManipulator(GrabHandleFactory f)
Construct a new manipulator using the given grab-handle factory.
|
Modifier and Type | Method and Description |
---|---|
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 CircleManipulator()
public CircleManipulator(GrabHandleFactory f)
public FigureDecorator newInstance(Figure f)
newInstance
in class FigureDecorator
f
- The figurepublic void refresh()
refresh
in class Manipulator
public void setChild(Figure child)
setChild
in class FigureDecorator
child
- The child figure.public void setDragInteractor(Interactor dragger)