|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Zoomable
To be implemented by any display working with the Zoomer class.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||