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

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

public class PointSelectionListener
extends java.lang.Object
implements PointListener

Implementación de la interfaz PointListener como herramienta para realizar una selección por punto.

Author:
Vicente Caballero Navarro

Constructor Summary
PointSelectionListener(MapControl mc)
          Crea un nuevo AreaListenerImpl.
 
Method Summary
 boolean cancelDrawing()
          Condición para que se cancele el dibujado.
 java.awt.Cursor getCursor()
          Devuelve el cursor de la herramienta.
 void point(PointEvent event)
          Invocado cuando se hace un pressed sobre la vista.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointSelectionListener

public PointSelectionListener(MapControl mc)
Crea un nuevo AreaListenerImpl.

Parameters:
mc - MapControl.
Method Detail

point

public void point(PointEvent event)
           throws BehaviorException
Description copied from interface: PointListener
Invocado cuando se hace un pressed sobre la vista.

Specified by:
point in interface PointListener
Parameters:
event - PointEvent.
Throws:
BehaviorException - se lanza cuando falla la herramienta.
See Also:
PointListener.point(com.iver.cit.gvsig.fmap.tools.Events.PointEvent)

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()