org.gvsig.fmap.mapcontrol.tools
Class SelectImageListenerImpl

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

Deprecated.

public class SelectImageListenerImpl
extends Object
implements PointListener

Listener to select the upper layer with raster data, that has information in the associated MapControl object, down the position selected by the mouse.

Author:
Nacho Brodin

Field Summary
protected  MapControl mapCtrl
          Deprecated. Reference to the MapControl object that uses.
protected  Point2D wcPoint
          Deprecated. World equivalent coordinates of the point 2D
 
Constructor Summary
SelectImageListenerImpl(MapControl mapCtrl)
          Deprecated. Creates a new SelectImageListenerImpl object.
 
Method Summary
 boolean cancelDrawing()
          Deprecated. Determines if the drawing process that this tool executes on the MapControl instance could be canceled or not.
 Image getImageCursor()
          Deprecated. Gets the Cursor associated to this tool.
 void point(PointEvent event)
          Deprecated. Called when one click is pressed on the associated MapControl, or the location of the cursor of the mouse has changed on it.
 void pointDoubleClick(PointEvent event)
          Deprecated. Called when a double click is pressed on the associated MapControl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapCtrl

protected MapControl mapCtrl
Deprecated. 
Reference to the MapControl object that uses.


wcPoint

protected Point2D wcPoint
Deprecated. 
World equivalent coordinates of the point 2D

Constructor Detail

SelectImageListenerImpl

public SelectImageListenerImpl(MapControl mapCtrl)
Deprecated. 

Creates a new SelectImageListenerImpl object.

Parameters:
mapCtrl - the MapControl where are stored the layers
Method Detail

point

public void point(PointEvent event)
Deprecated. 
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()
Deprecated. 
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()
Deprecated. 
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)
Deprecated. 
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


Copyright © 2004-2013 gvSIG. All Rights Reserved.