public class InterpolatedCurveManipulator extends Manipulator
| Modifier and Type | Field and Description |
|---|---|
protected InterpolatedCurveFigure |
curve
The InterpolatedCurveFigure.
|
protected InterpolatedCurve2D |
curve2d
The InterpolatedCurve2D.
|
| Constructor and Description |
|---|
InterpolatedCurveManipulator()
Construct a new manipulator that uses rectangular grab-handles.
|
InterpolatedCurveManipulator(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.
|
protected void |
orderVertices()
Make the X vertex coordinates monotonic and re-order the
Vertex instances as appropriate.
|
void |
paint(Graphics2D g2d)
Paint the manipulator.
|
void |
refresh()
Refresh the underlying InterpolatedCurveFigure.
|
void |
setChild(Figure f)
Set the child figure.
|
addGrabHandle, clearGrabHandles, getBounds, getGrabHandleFactory, getHandleInteractor, isRepainting, 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 InterpolatedCurveFigure curve
protected InterpolatedCurve2D curve2d
public InterpolatedCurveManipulator()
public InterpolatedCurveManipulator(GrabHandleFactory f)
public FigureDecorator newInstance(Figure f)
newInstance in class FigureDecoratorpublic void refresh()
refresh in class Manipulatorpublic void paint(Graphics2D g2d)
Manipulatorpaint in interface VisibleComponentpaint in class Manipulatorpublic void setChild(Figure f)
setChild in class FigureDecoratorprotected void orderVertices()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.