public abstract class CentreZoomRegion extends ZoomRegion
Zoomer| Constructor and Description |
|---|
CentreZoomRegion(boolean isX)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ZoomDrag |
createDrag(java.awt.Component comp,
java.awt.Point start)
Returns a new ZoomDrag object appropriate for this region.
|
abstract java.awt.Rectangle |
getDisplay()
Returns the display region.
|
abstract java.awt.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(java.awt.Component comp, java.awt.Point start)
ZoomRegioncreateDrag in class ZoomRegioncomp - component on which the drag is taking placestart - start point for the dragpublic abstract java.awt.Rectangle getTarget()
ZoomRegiongetTarget in class ZoomRegionpublic abstract java.awt.Rectangle getDisplay()
ZoomRegiongetDisplay in class ZoomRegionCopyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.