org.openstreetmap.josm.gui.layer
Class JumpToMarkerActions.JumpToNextMarker
java.lang.Object
javax.swing.AbstractAction
org.openstreetmap.josm.gui.layer.JumpToMarkerActions.JumpToNextMarker
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, MultikeyShortcutAction
- Enclosing class:
- JumpToMarkerActions
public static final class JumpToMarkerActions.JumpToNextMarker
- extends javax.swing.AbstractAction
- implements MultikeyShortcutAction
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.Action |
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
layer
private final Layer layer
lastLayer
private java.lang.ref.WeakReference<Layer> lastLayer
multikeyShortcut
private Shortcut multikeyShortcut
JumpToMarkerActions.JumpToNextMarker
public JumpToMarkerActions.JumpToNextMarker(JumpToMarkerActions.JumpToMarkerLayer layer)
getMultikeyShortcut
public Shortcut getMultikeyShortcut()
- Specified by:
getMultikeyShortcut
in interface MultikeyShortcutAction
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
executeMultikeyAction
public void executeMultikeyAction(int index,
boolean repeat)
- Specified by:
executeMultikeyAction
in interface MultikeyShortcutAction
execute
private void execute(Layer l)
getMultikeyCombinations
public java.util.List<MultikeyShortcutAction.MultikeyInfo> getMultikeyCombinations()
- Specified by:
getMultikeyCombinations
in interface MultikeyShortcutAction
getLastMultikeyAction
public MultikeyShortcutAction.MultikeyInfo getLastMultikeyAction()
- Specified by:
getLastMultikeyAction
in interface MultikeyShortcutAction
JOSM