public class BasicGrabHandle extends BasicRectangle implements GrabHandle
| Constructor and Description |
|---|
BasicGrabHandle(Site s)
Construct a new grab handle attached to the given
site.
|
| Modifier and Type | Method and Description |
|---|---|
Site |
getSite()
Get the site that this handle is attached to
|
float |
getSize()
Get the "size" of the grab-handle.
|
void |
relocate()
Reposition the grab-handle if necessary
|
void |
setSite(Site s)
Set the set to which this grab-handle is attached.
|
void |
setSize(float size)
Set the "size" of the grab-handle.
|
void |
translate(double x,
double y)
Translating a grab-handle moves its site, but _doesn't_
move the grab-handle itself (that will be handled by the
reshape manipulator).
|
getBounds, getComposite, getDashArray, getFillPaint, getLineWidth, getShape, getStrokePaint, hit, paint, setComposite, setDashArray, setFillPaint, setLineWidth, setShape, setStroke, setStrokePaint, transformcontains, getInteractor, getLayer, getOrigin, getParent, getToolTipText, getTransformContext, getUserObject, intersects, isVisible, paint, repaint, repaint, setInteractor, setParent, setToolTipText, setUserObject, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, getBounds, getInteractor, getLayer, getOrigin, getParent, getShape, getToolTipText, hit, intersects, setInteractor, setParent, setToolTipText, transformisVisible, paint, paint, setVisiblegetTransformContext, repaint, repaintgetUserObject, setUserObjectpublic BasicGrabHandle(Site s)
public Site getSite()
getSite in interface GrabHandlepublic float getSize()
getSize in interface GrabHandlepublic void relocate()
relocate in interface GrabHandlepublic void setSite(Site s)
setSite in interface GrabHandlepublic void setSize(float size)
setSize in interface GrabHandlepublic void translate(double x,
double y)
translate in interface Figuretranslate in class BasicRectangleCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.