Package 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$ Last update : $Date$ By : $Author$
- Author:
- chatellier
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
Copy to clic board action command.protected com.bbn.openmap.MapBean
Open map bean.Popop menu. -
Constructor Summary
ConstructorDescriptionCopyMapToClipboardListener
(com.bbn.openmap.MapBean mapBean) Constructor with map. -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
com.bbn.openmap.MapBean
String[]
boolean
boolean
mouseDragged
(MouseEvent arg0) void
mouseEntered
(MouseEvent arg0) void
mouseExited
(MouseEvent arg0) void
boolean
mouseMoved
(MouseEvent arg0) boolean
mousePressed
(MouseEvent arg0) boolean
mouseReleased
(MouseEvent arg0)
-
Field Details
-
COPY_TO_CLICBOARD_COMMAND
Copy to clic board action command.- See Also:
-
mapBean
protected com.bbn.openmap.MapBean mapBeanOpen 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
- Specified by:
getMouseModeServiceList
in interfacecom.bbn.openmap.event.MapMouseListener
-
mouseClicked
- Specified by:
mouseClicked
in interfacecom.bbn.openmap.event.MapMouseListener
-
mouseDragged
- Specified by:
mouseDragged
in interfacecom.bbn.openmap.event.MapMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfacecom.bbn.openmap.event.MapMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfacecom.bbn.openmap.event.MapMouseListener
-
mouseMoved
public void mouseMoved()- Specified by:
mouseMoved
in interfacecom.bbn.openmap.event.MapMouseListener
-
mouseMoved
- Specified by:
mouseMoved
in interfacecom.bbn.openmap.event.MapMouseListener
-
mousePressed
- Specified by:
mousePressed
in interfacecom.bbn.openmap.event.MapMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfacecom.bbn.openmap.event.MapMouseListener
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-