Class OpenMapEvents

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
com.bbn.openmap.Layer
fr.ifremer.isisfish.map.OpenMapEvents
All Implemented Interfaces:
com.bbn.openmap.event.MapMouseListener, com.bbn.openmap.event.ProjectionListener, com.bbn.openmap.ProjectionPainter, com.bbn.openmap.PropertyConsumer, ActionListener, ImageObserver, MenuContainer, BeanContextChild, BeanContextMembershipListener, Serializable, EventListener

public abstract class OpenMapEvents extends com.bbn.openmap.Layer implements com.bbn.openmap.event.MapMouseListener
OpenMapEvents.java Created: 5 septembre 2005 03:21:41 CEST
Version:
$Revision$ Last update: $Date$ by : $Author$
Author:
Benjamin POUSSIN <poussin@codelutin.com>
See Also:
  • Field Details

    • mouseMode

      protected com.bbn.openmap.event.MapMouseMode mouseMode
      SelectMouseMode property: Null, Distance, Nav, Select
    • map

      protected IsisMapBean map
    • selectMode

      protected int selectMode
  • Constructor Details

    • OpenMapEvents

      public OpenMapEvents(IsisMapBean map, com.bbn.openmap.event.CoordMouseMode mouseMode, int selectMode)
      Constructor. Register himself to map mapMouseListener. Also set mouseMode and selectMode on map.
      Parameters:
      map - map bean
      mouseMode - mouse mode
      selectMode - select mode
  • Method Details

    • projectionChanged

      public void projectionChanged(com.bbn.openmap.event.ProjectionEvent e)
      Specified by:
      projectionChanged in interface com.bbn.openmap.event.ProjectionListener
    • getMouseModeServiceList

      public String[] getMouseModeServiceList()
      Specified by:
      getMouseModeServiceList in interface com.bbn.openmap.event.MapMouseListener
    • mouseClicked

      public boolean mouseClicked(MouseEvent e)
      Specified by:
      mouseClicked in interface com.bbn.openmap.event.MapMouseListener
    • mouseDragged

      public boolean mouseDragged(MouseEvent e)
      Specified by:
      mouseDragged in interface com.bbn.openmap.event.MapMouseListener
    • mouseEntered

      public void mouseEntered(MouseEvent e)
      Specified by:
      mouseEntered in interface com.bbn.openmap.event.MapMouseListener
    • mouseExited

      public void mouseExited(MouseEvent e)
      Specified by:
      mouseExited in interface com.bbn.openmap.event.MapMouseListener
    • mouseMoved

      public void mouseMoved()
      Specified by:
      mouseMoved in interface com.bbn.openmap.event.MapMouseListener
    • mouseMoved

      public boolean mouseMoved(MouseEvent e)
      Specified by:
      mouseMoved in interface com.bbn.openmap.event.MapMouseListener
    • mousePressed

      public boolean mousePressed(MouseEvent e)
      Specified by:
      mousePressed in interface com.bbn.openmap.event.MapMouseListener
    • mouseReleased

      public boolean mouseReleased(MouseEvent e)
      Specified by:
      mouseReleased in interface com.bbn.openmap.event.MapMouseListener