AuxLegendZoomRegion
public abstract class AxisZoomRegion extends ZoomRegion
Zoomer
Constructor | Description |
---|---|
AxisZoomRegion(boolean isX) |
Constructs a new axis zoom region with no target and display regions.
|
AxisZoomRegion(boolean isX,
java.awt.Rectangle target,
java.awt.Rectangle display) |
Constructs a new axis zoom region with defined target and
display regions.
|
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 AxisZoomRegion(boolean isX)
isX
- true for X axis zooming, false for Y axis zoomingpublic AxisZoomRegion(boolean isX, java.awt.Rectangle target, java.awt.Rectangle display)
isX
- true for X axis zooming, false for Y axis zoomingtarget
- target region (region in which cursor is dragged)display
- display region (region in which zoom box is shown)public 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.