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, zoomed
public CentreZoomRegion(boolean isX)
isX
- true if the target region is horizontal,
false for verticalpublic ZoomDrag createDrag(java.awt.Component comp, java.awt.Point start)
ZoomRegion
createDrag
in class ZoomRegion
comp
- component on which the drag is taking placestart
- start point for the dragpublic abstract java.awt.Rectangle getTarget()
ZoomRegion
getTarget
in class ZoomRegion
public abstract java.awt.Rectangle getDisplay()
ZoomRegion
getDisplay
in class ZoomRegion
Copyright © 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.