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, setRepainting
add, contains, figures, figuresFromBack, figuresFromFront, getChild, getContainer, getDecoratedFigure, getFigureCount, getShape, hit, remove, replaceChild, transform
decorate, pick, translate, 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
protected BoundsGeometry _geometry
protected Interactor _dragInteractor
public BoundsManipulator()
public BoundsManipulator(GrabHandleFactory f)
protected BoundsGeometry getGeometry()
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)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.