Package uk.ac.starlink.topcat.plot
Class XYZoomRegion
- java.lang.Object
-
- uk.ac.starlink.topcat.plot.ZoomRegion
-
- uk.ac.starlink.topcat.plot.XYZoomRegion
-
public abstract class XYZoomRegion extends ZoomRegion
ZoomRegion for zooming in two dimensions (X-Y). A drag in both positive graphics coordinate directions (down and right) is a zoom in (magnifying), and a drag in both negative directions (up and left) is a zoom out.- Since:
- 28 Mar 2006
- Author:
- Mark Taylor
- See Also:
Zoomer
-
-
Constructor Summary
Constructors Constructor Description XYZoomRegion(java.awt.Rectangle display)
Constructs a new XY zoom region.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZoomDrag
createDrag(java.awt.Component comp, java.awt.Point start)
Returns a new ZoomDrag object appropriate for this region.-
Methods inherited from class uk.ac.starlink.topcat.plot.ZoomRegion
getCursor, getDisplay, getTarget, setCursor, setDisplay, setTarget, zoomed
-
-
-
-
Method Detail
-
createDrag
public ZoomDrag createDrag(java.awt.Component comp, java.awt.Point start)
Description copied from class:ZoomRegion
Returns a new ZoomDrag object appropriate for this region.- Specified by:
createDrag
in classZoomRegion
- Parameters:
comp
- component on which the drag is taking placestart
- start point for the drag- Returns:
- new drag object
-
-