Class CopyMapToClipboardListener

java.lang.Object
fr.ifremer.isisfish.map.CopyMapToClipboardListener
All Implemented Interfaces:
com.bbn.openmap.event.MapMouseListener, ActionListener, EventListener

public class CopyMapToClipboardListener extends Object implements ActionListener, com.bbn.openmap.event.MapMouseListener
Listener for openmap map bean to display popop menu on right click. Currently, this listener can : - copy current map to system clip board
Version:
$Revision$ Last update : $Date$ By : $Author$
Author:
chatellier
  • Field Details

    • COPY_TO_CLICBOARD_COMMAND

      protected static final String COPY_TO_CLICBOARD_COMMAND
      Copy to clic board action command.
      See Also:
    • mapBean

      protected com.bbn.openmap.MapBean mapBean
      Open map bean.
  • Constructor Details

    • CopyMapToClipboardListener

      public CopyMapToClipboardListener(com.bbn.openmap.MapBean mapBean)
      Constructor with map.
      Parameters:
      mapBean - open map bean
  • Method Details

    • getMapBean

      public com.bbn.openmap.MapBean getMapBean()
    • copyToClipBoard

      protected void copyToClipBoard()
    • 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 arg0)
      Specified by:
      mouseDragged in interface com.bbn.openmap.event.MapMouseListener
    • mouseEntered

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

      public void mouseExited(MouseEvent arg0)
      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 arg0)
      Specified by:
      mouseMoved in interface com.bbn.openmap.event.MapMouseListener
    • mousePressed

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

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

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener