AxisZoomRegion
, CentreZoomRegion
, XYZoomRegion
public abstract class ZoomRegion
extends java.lang.Object
Zoomer
Constructor | Description |
---|---|
ZoomRegion() |
Modifier and Type | Method | Description |
---|---|---|
abstract ZoomDrag |
createDrag(java.awt.Component comp,
java.awt.Point start) |
Returns a new ZoomDrag object appropriate for this region.
|
java.awt.Cursor |
getCursor() |
Returns the custom cursor for use in the target region.
|
java.awt.Rectangle |
getDisplay() |
Returns the display region.
|
java.awt.Rectangle |
getTarget() |
Returns the target region.
|
void |
setCursor(java.awt.Cursor cursor) |
Sets a custom cursor for use in the target region.
|
void |
setDisplay(java.awt.Rectangle display) |
Sets the display region.
|
void |
setTarget(java.awt.Rectangle target) |
Sets the target region.
|
abstract void |
zoomed(double[][] bounds) |
Callback which will be invoked when a zoom invoked on this region
has been completed successfully.
|
public void setTarget(java.awt.Rectangle target)
target
- target regionpublic java.awt.Rectangle getTarget()
public void setDisplay(java.awt.Rectangle display)
display
- display regionpublic java.awt.Rectangle getDisplay()
public void setCursor(java.awt.Cursor cursor)
cursor
- custom cursorpublic java.awt.Cursor getCursor()
public abstract ZoomDrag createDrag(java.awt.Component comp, java.awt.Point start)
comp
- component on which the drag is taking placestart
- start point for the dragpublic abstract void zoomed(double[][] bounds)
bounds
- array of (lower, upper) zoom boundsCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.