Class ZoomOutRightButtonListener

java.lang.Object
org.gvsig.fmap.mapcontrol.tools.ZoomOutRightButtonListener
All Implemented Interfaces:
PointListener, ToolListener

public class ZoomOutRightButtonListener extends Object implements PointListener
  • Constructor Details

    • ZoomOutRightButtonListener

      public ZoomOutRightButtonListener(MapControl mapControl)

      Creates a new ZoomOutRightButtonListener object.

      Parameters:
      mapControl - the MapControl where will be applied the changes
  • Method Details

    • point

      public void point(PointEvent event)
      Description copied from interface: PointListener

      Called when one click is pressed on the associated MapControl, or the location of the cursor of the mouse has changed on it.

      Specified by:
      point in interface PointListener
      Parameters:
      event - mouse event with the coordinates of the point selected on the associated MapControl
    • getImageCursor

      public Image getImageCursor()
      Description copied from interface: ToolListener

      Gets the Cursor associated to this tool.

      Specified by:
      getImageCursor in interface ToolListener
      Returns:
      component with the bitmap associated to this tool
    • cancelDrawing

      public boolean cancelDrawing()
      Description copied from interface: ToolListener

      Determines if the drawing process that this tool executes on the MapControl instance could be canceled or not.

      Specified by:
      cancelDrawing in interface ToolListener
      Returns:
      true if is cancellable; otherwise returns false
    • pointDoubleClick

      public void pointDoubleClick(PointEvent event)
      Description copied from interface: PointListener

      Called when a double click is pressed on the associated MapControl.

      Specified by:
      pointDoubleClick in interface PointListener
      Parameters:
      event - mouse event and the coordinates of the point selected on the associated MapControl