Class LayoutSelectListenerImpl

java.lang.Object
org.gvsig.app.project.documents.layout.tools.AbstractLayoutToolListener
org.gvsig.app.project.documents.layout.tools.LayoutSelectListenerImpl
All Implemented Interfaces:
LayoutMoveListener, LayoutToolListener, org.gvsig.tools.observer.Observable

public class LayoutSelectListenerImpl extends AbstractLayoutToolListener implements LayoutMoveListener, org.gvsig.tools.observer.Observable
Implementaci�n de la interfaz LayoutPanListener como herramienta para realizar una selecci�n.
Author:
Vicente Caballero Navarro
  • Field Details

    • icrux

      public static final Image icrux
  • Constructor Details

    • LayoutSelectListenerImpl

      public LayoutSelectListenerImpl(LayoutPanel layoutPanel)
      Crea un nuevo LayoutSelectionListenerImpl.
      Parameters:
      l - Layout.
  • Method Details

    • drag

      public void drag(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event)
      Description copied from interface: LayoutMoveListener
      Invocado cuando el usuario mueve el ratón sobre la vista.
      Specified by:
      drag in interface LayoutMoveListener
      Parameters:
      event - MoveEvent.
      See Also:
      • invalid reference
        org.gvsig.fmap.mapcontrol.tools.Listeners.PanListener#move(java.awt.geom.Point2D, java.awt.geom.Point2D)
    • getImageCursor

      public Image getImageCursor()
      Description copied from interface: LayoutToolListener
      Devuelve la imagen del cursor de la herramienta.
      Specified by:
      getImageCursor in interface LayoutToolListener
      Returns:
      ImageCursor.
      See Also:
      • invalid reference
        org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener#getCursor()
    • cancelDrawing

      public boolean cancelDrawing()
      Description copied from interface: LayoutToolListener
      Condición para que se cancele el dibujado.
      Specified by:
      cancelDrawing in interface LayoutToolListener
      Returns:
      True si se cancela el dibujado.
      See Also:
      • ToolListener.cancelDrawing()
    • press

      public void press(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) throws org.gvsig.fmap.mapcontrol.tools.BehaviorException
      Specified by:
      press in interface LayoutMoveListener
      Throws:
      org.gvsig.fmap.mapcontrol.tools.BehaviorException
    • release

      public void release(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) throws org.gvsig.fmap.mapcontrol.tools.BehaviorException
      Specified by:
      release in interface LayoutMoveListener
      Throws:
      org.gvsig.fmap.mapcontrol.tools.BehaviorException
    • click

      public void click(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event)
      Specified by:
      click in interface LayoutMoveListener
    • move

      public void move(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) throws org.gvsig.fmap.mapcontrol.tools.BehaviorException
      Specified by:
      move in interface LayoutMoveListener
      Throws:
      org.gvsig.fmap.mapcontrol.tools.BehaviorException
    • addObserver

      public void addObserver(org.gvsig.tools.observer.Observer o)
      Specified by:
      addObserver in interface org.gvsig.tools.observer.Observable
    • deleteObserver

      public void deleteObserver(org.gvsig.tools.observer.Observer o)
      Specified by:
      deleteObserver in interface org.gvsig.tools.observer.Observable
    • deleteObservers

      public void deleteObservers()
      Specified by:
      deleteObservers in interface org.gvsig.tools.observer.Observable