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