fr.ifremer.isisfish.map
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: 2771 $
Last update : $Date: 2009-11-23 16:03:22 +0100 (lun., 23 nov. 2009) $
By : $Author$
- Author:
- chatellier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPY_TO_CLICBOARD_COMMAND
protected static final String COPY_TO_CLICBOARD_COMMAND
- Copy to clic board action command.
- See Also:
- Constant Field Values
menu
public JPopupMenu menu
- Popop menu.
mapBean
protected com.bbn.openmap.MapBean mapBean
- Open map bean.
CopyMapToClipboardListener
public CopyMapToClipboardListener(com.bbn.openmap.MapBean mapBean)
- Constructor with map.
- Parameters:
mapBean - open map bean
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
Copyright © 1999-2010 CodeLutin. All Rights Reserved.