|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.topcat.plot.ZoomRegion
public abstract class ZoomRegion
Defines a region for use with a Zoomer object.
Zoomer| Constructor Summary | |
|---|---|
ZoomRegion()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZoomRegion()
| Method Detail |
|---|
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 drag
public abstract void zoomed(double[][] bounds)
bounds - array of (lower, upper) zoom bounds
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||