public abstract class XYZoomRegion extends ZoomRegion
Zoomer
Constructor and Description |
---|
XYZoomRegion(Rectangle display)
Constructs a new XY zoom region.
|
Modifier and Type | Method and Description |
---|---|
ZoomDrag |
createDrag(Component comp,
Point start)
Returns a new ZoomDrag object appropriate for this region.
|
getCursor, getDisplay, getTarget, setCursor, setDisplay, setTarget, zoomed
public XYZoomRegion(Rectangle display)
display
- rectangle defining the region for both dragging
and visual feedbackpublic ZoomDrag createDrag(Component comp, Point start)
ZoomRegion
createDrag
in class ZoomRegion
comp
- component on which the drag is taking placestart
- start point for the dragCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.