public abstract class ZoomRegion extends Object
Zoomer
Constructor and Description |
---|
ZoomRegion() |
Modifier and Type | Method and Description |
---|---|
abstract ZoomDrag |
createDrag(Component comp,
Point start)
Returns a new ZoomDrag object appropriate for this region.
|
Cursor |
getCursor()
Returns the custom cursor for use in the target region.
|
Rectangle |
getDisplay()
Returns the display region.
|
Rectangle |
getTarget()
Returns the target region.
|
void |
setCursor(Cursor cursor)
Sets a custom cursor for use in the target region.
|
void |
setDisplay(Rectangle display)
Sets the display region.
|
void |
setTarget(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(Rectangle target)
target
- target regionpublic Rectangle getTarget()
public void setDisplay(Rectangle display)
display
- display regionpublic Rectangle getDisplay()
public void setCursor(Cursor cursor)
cursor
- custom cursorpublic Cursor getCursor()
public abstract ZoomDrag createDrag(Component comp, 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-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.