Package org.gvsig.fmap.mapcontrol.tools
Class ZoomOutRightButtonListener
java.lang.Object
org.gvsig.fmap.mapcontrol.tools.ZoomOutRightButtonListener
- All Implemented Interfaces:
PointListener,ToolListener
-
Constructor Summary
ConstructorsConstructorDescriptionZoomOutRightButtonListener(MapControl mapControl) Creates a newZoomOutRightButtonListenerobject. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if the drawing process that this tool executes on theMapControlinstance could be canceled or not.Gets theCursorassociated to this tool.voidpoint(PointEvent event) Called when one click is pressed on the associatedMapControl, or the location of the cursor of the mouse has changed on it.voidpointDoubleClick(PointEvent event) Called when a double click is pressed on the associatedMapControl.
-
Constructor Details
-
ZoomOutRightButtonListener
Creates a new
ZoomOutRightButtonListenerobject.- Parameters:
mapControl- theMapControlwhere will be applied the changes
-
-
Method Details
-
point
Description copied from interface:PointListenerCalled when one click is pressed on the associated
MapControl, or the location of the cursor of the mouse has changed on it.- Specified by:
pointin interfacePointListener- Parameters:
event- mouse event with the coordinates of the point selected on the associatedMapControl
-
getImageCursor
Description copied from interface:ToolListenerGets the
Cursorassociated to this tool.- Specified by:
getImageCursorin interfaceToolListener- Returns:
- component with the bitmap associated to this tool
-
cancelDrawing
public boolean cancelDrawing()Description copied from interface:ToolListenerDetermines if the drawing process that this tool executes on the
MapControlinstance could be canceled or not.- Specified by:
cancelDrawingin interfaceToolListener- Returns:
trueif is cancellable; otherwise returnsfalse
-
pointDoubleClick
Description copied from interface:PointListenerCalled when a double click is pressed on the associated
MapControl.- Specified by:
pointDoubleClickin interfacePointListener- Parameters:
event- mouse event and the coordinates of the point selected on the associatedMapControl
-