public abstract class CentreZoomRegion extends ZoomRegion
Zoomer| Constructor and Description |
|---|
CentreZoomRegion(boolean isX)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ZoomDrag |
createDrag(Component comp,
Point start)
Returns a new ZoomDrag object appropriate for this region.
|
abstract Rectangle |
getDisplay()
Returns the display region.
|
abstract Rectangle |
getTarget()
Returns the target region.
|
getCursor, setCursor, setDisplay, setTarget, zoomedpublic CentreZoomRegion(boolean isX)
isX - true if the target region is horizontal,
false for verticalpublic ZoomDrag createDrag(Component comp, Point start)
ZoomRegioncreateDrag in class ZoomRegioncomp - component on which the drag is taking placestart - start point for the dragpublic abstract Rectangle getTarget()
ZoomRegiongetTarget in class ZoomRegionpublic abstract Rectangle getDisplay()
ZoomRegiongetDisplay in class ZoomRegionCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.