public class GeorefPanListenerImpl extends Object implements PanListener
Constructor and Description |
---|
GeorefPanListenerImpl(MapControl mapControl)
Crea un nuevo RectangleListenerImpl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
cancelDrawing()
Determines if the drawing process that this tool executes on the
MapControl
instance could be canceled or not. |
Image |
getImageCursor()
Gets the
Cursor associated to this tool. |
DefaultFLyrRaster |
getLyrRaster() |
String |
getPathToFile() |
void |
move(MoveEvent event)
Called when user drags the mouse on the view.
|
void |
setLyrRaster(DefaultFLyrRaster lyrRaster) |
void |
setPathToFile(String pathToFile) |
public GeorefPanListenerImpl(MapControl mapControl)
mapControl
- MapControl.public void move(MoveEvent event)
PanListener
Called when user drags the mouse on the view.
Updates the extent coordinates according to the direction of the movement between the initial and final points of line determined by the move of the mouse.
move
in interface PanListener
event
- mouse event information about the initial and final positions of the movementcom.iver.cit.gvsig.fmap.tools.Listeners.PanListener#move(java.awt.geom.Point2D,
java.awt.geom.Point2D)
public boolean cancelDrawing()
ToolListener
Determines if the drawing process that this tool executes on the MapControl
instance could be canceled or not.
cancelDrawing
in interface ToolListener
true
if is cancellable; otherwise returns false
com.iver.cit.gvsig.fmap.tools.Listeners.ToolListener#cancelDrawing()
public DefaultFLyrRaster getLyrRaster()
public void setLyrRaster(DefaultFLyrRaster lyrRaster)
lyrRaster
- The lyrRaster to set.public String getPathToFile()
public void setPathToFile(String pathToFile)
pathToFile
- The pathToFile to set.public Image getImageCursor()
ToolListener
Gets the Cursor
associated to this tool.
getImageCursor
in interface ToolListener