public interface Zoomable
Modifier and Type | Method and Description |
---|---|
boolean |
canClearZoomShape(java.awt.event.MouseEvent mouseEvent) |
boolean |
canStartZoomArea(java.awt.event.MouseEvent mouseEvent)
Can a zoom area be started ?
|
int |
getCoordinateType() |
double |
getXRange() |
double |
getXScale() |
double |
getXStart() |
double |
getYRange() |
double |
getYScale() |
double |
getYStart() |
void |
zoomPolygonComplete(ZoomShape zoomShape)
Called when a zoom shape has been completed.
|
void |
zoomShapeChanging(ZoomShape zoomShape)
Called as the zoom shape changes via some sort of
mouse action.
|
void |
zoomToShape(ZoomShape zoomShape)
Zoom to the bounds of a particular shape.
|
boolean canStartZoomArea(java.awt.event.MouseEvent mouseEvent)
This is called from the zoomer when a zoom area is about to start to check that there are not reasons for not starting the area. For instance if some other mouse event is to take priority over the zoom, e.g. clicking on a detection which might initiate some other menu action.
mouseEvent
- void zoomShapeChanging(ZoomShape zoomShape)
zoomShape
- shape that's changing.void zoomPolygonComplete(ZoomShape zoomShape)
zoomShape
- zoom shape that's completed.double getXStart()
double getXScale()
double getXRange()
double getYStart()
double getYScale()
double getYRange()
int getCoordinateType()
void zoomToShape(ZoomShape zoomShape)
zoomShape
- shape to zoom toboolean canClearZoomShape(java.awt.event.MouseEvent mouseEvent)
mouseEvent
-