public abstract class AuxLegendZoomRegion extends AxisZoomRegion
AuxLegend
.Constructor and Description |
---|
AuxLegendZoomRegion(uk.ac.starlink.ttools.plot.AuxLegend legend)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
dataZoomed(double lo,
double hi)
Called when a zoom has taken place.
|
Rectangle |
getDisplay()
Returns the display region.
|
Rectangle |
getTarget()
Returns the target region.
|
void |
setDisplay(Rectangle display)
Sets the display region.
|
void |
setTarget(Rectangle target)
Sets the target region.
|
void |
zoomed(double[][] bounds)
Callback which will be invoked when a zoom invoked on this region
has been completed successfully.
|
createDrag
getCursor, setCursor
public AuxLegendZoomRegion(uk.ac.starlink.ttools.plot.AuxLegend legend)
legend
- lagend to zoom overprotected abstract void dataZoomed(double lo, double hi)
lo
- new requested lower data boundhi
- new requested upper data boundpublic Rectangle getDisplay()
ZoomRegion
getDisplay
in class ZoomRegion
public Rectangle getTarget()
ZoomRegion
getTarget
in class ZoomRegion
public void setDisplay(Rectangle display)
ZoomRegion
setDisplay
in class ZoomRegion
display
- display regionUnsupportedOperationException
- alwayspublic void setTarget(Rectangle target)
ZoomRegion
setTarget
in class ZoomRegion
target
- target regionUnsupportedOperationException
- alwayspublic void zoomed(double[][] bounds)
ZoomRegion
zoomed
in class ZoomRegion
bounds
- array of (lower, upper) zoom boundsCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.