public class BoundsManipulator extends Manipulator
| Modifier and Type | Field and Description |
|---|---|
protected Interactor |
_dragInteractor
The interactor that is attached to a move handle.
|
protected BoundsGeometry |
_geometry
The geometry "helper"
|
| 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 |
|---|---|
protected BoundsGeometry |
getGeometry()
Return the geometry of this manipulator
PWD: change protection to protected from private(!).
|
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, transformdecorate, pick, translate, 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, getTransformContextprotected BoundsGeometry _geometry
protected Interactor _dragInteractor
public BoundsManipulator()
public BoundsManipulator(GrabHandleFactory f)
protected BoundsGeometry getGeometry()
public FigureDecorator newInstance(Figure f)
newInstance in class FigureDecoratorpublic void refresh()
refresh in class Manipulatorpublic void setChild(Figure child)
setChild in class FigureDecoratorpublic void setDragInteractor(Interactor dragger)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.