public abstract class AuxLegendZoomRegion extends AxisZoomRegion
AuxLegend
.Constructor | Description |
---|---|
AuxLegendZoomRegion(uk.ac.starlink.ttools.plot.AuxLegend legend) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract void |
dataZoomed(double lo,
double hi) |
Called when a zoom has taken place.
|
java.awt.Rectangle |
getDisplay() |
Returns the display region.
|
java.awt.Rectangle |
getTarget() |
Returns the target region.
|
void |
setDisplay(java.awt.Rectangle display) |
Sets the display region.
|
void |
setTarget(java.awt.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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 java.awt.Rectangle getDisplay()
ZoomRegion
getDisplay
in class ZoomRegion
public java.awt.Rectangle getTarget()
ZoomRegion
getTarget
in class ZoomRegion
public void setDisplay(java.awt.Rectangle display)
ZoomRegion
setDisplay
in class ZoomRegion
display
- display regionjava.lang.UnsupportedOperationException
public void setTarget(java.awt.Rectangle target)
ZoomRegion
setTarget
in class ZoomRegion
target
- target regionjava.lang.UnsupportedOperationException
public void zoomed(double[][] bounds)
ZoomRegion
zoomed
in class ZoomRegion
bounds
- array of (lower, upper) zoom boundsCopyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.