com.iver.cit.gvsig.fmap.tools
Class PanListenerImpl

java.lang.Object
  extended bycom.iver.cit.gvsig.fmap.tools.PanListenerImpl
All Implemented Interfaces:
PanListener, ToolListener

public class PanListenerImpl
extends java.lang.Object
implements PanListener

Implementación de la interfaz MoveListener como herramienta para realizar el Pan.

Author:
Vicente Caballero Navarro

Constructor Summary
PanListenerImpl(MapControl mapControl)
          Crea un nuevo RectangleListenerImpl.
 
Method Summary
 boolean cancelDrawing()
          Condición para que se cancele el dibujado.
 java.awt.Cursor getCursor()
          Devuelve el cursor de la herramienta.
 void move(MoveEvent event)
          Invocado cuando el usuario mueve el ratón sobre la vista.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanListenerImpl

public PanListenerImpl(MapControl mapControl)
Crea un nuevo RectangleListenerImpl.

Parameters:
mapControl - MapControl.
Method Detail

move

public void move(MoveEvent event)
Description copied from interface: PanListener
Invocado cuando el usuario mueve el ratón sobre la vista.

Specified by:
move in interface PanListener
Parameters:
event - MoveEvent.
See Also:
com.iver.cit.gvsig.fmap.tools.Listeners.PanListener#move(java.awt.geom.Point2D, java.awt.geom.Point2D)

getCursor

public java.awt.Cursor getCursor()
Description copied from interface: ToolListener
Devuelve el cursor de la herramienta.

Specified by:
getCursor in interface ToolListener
Returns:
Cursor.
See Also:
ToolListener.getCursor()

cancelDrawing

public boolean cancelDrawing()
Description copied from interface: ToolListener
Condición para que se cancele el dibujado.

Specified by:
cancelDrawing in interface ToolListener
Returns:
True si se cancela el dibujado.
See Also:
ToolListener.cancelDrawing()