public class GeorefPanListenerImpl extends java.lang.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. |
java.awt.Image |
getImageCursor()
Gets the
Cursor associated to this tool. |
DefaultFLyrRaster |
getLyrRaster() |
java.lang.String |
getPathToFile() |
void |
move(MoveEvent event)
Called when user drags the mouse on the view.
|
void |
setLyrRaster(DefaultFLyrRaster lyrRaster) |
void |
setPathToFile(java.lang.String pathToFile) |
public GeorefPanListenerImpl(MapControl mapControl)
mapControl - MapControl.public void move(MoveEvent event)
PanListenerCalled 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 PanListenerevent - 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()
ToolListenerDetermines if the drawing process that this tool executes on the MapControl
instance could be canceled or not.
cancelDrawing in interface ToolListenertrue if is cancellable; otherwise returns falsecom.iver.cit.gvsig.fmap.tools.Listeners.ToolListener#cancelDrawing()public DefaultFLyrRaster getLyrRaster()
public void setLyrRaster(DefaultFLyrRaster lyrRaster)
lyrRaster - The lyrRaster to set.public java.lang.String getPathToFile()
public void setPathToFile(java.lang.String pathToFile)
pathToFile - The pathToFile to set.public java.awt.Image getImageCursor()
ToolListenerGets the Cursor associated to this tool.
getImageCursor in interface ToolListener