public abstract class CentreZoomRegion extends ZoomRegion
Zoomer| Constructor | Description |
|---|---|
CentreZoomRegion(boolean isX) |
Constructor.
|
| Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCursor, 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-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.