org.openstreetmap.josm.gui.layer
Class JumpToMarkerActions.JumpToNextMarker

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openstreetmap.josm.tools.MultikeyShortcutAction
MultikeyShortcutAction.MultikeyInfo
 
Field Summary
private  java.lang.ref.WeakReference<Layer> lastLayer
           
private  Layer layer
           
private  Shortcut multikeyShortcut
           
 
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
 
Constructor Summary
JumpToMarkerActions.JumpToNextMarker(JumpToMarkerActions.JumpToMarkerLayer layer)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
private  void execute(Layer l)
           
 void executeMultikeyAction(int index, boolean repeat)
           
 MultikeyShortcutAction.MultikeyInfo getLastMultikeyAction()
           
 java.util.List<MultikeyShortcutAction.MultikeyInfo> getMultikeyCombinations()
           
 Shortcut getMultikeyShortcut()
           
 
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
 

Field Detail

layer

private final Layer layer

lastLayer

private java.lang.ref.WeakReference<Layer> lastLayer

multikeyShortcut

private Shortcut multikeyShortcut
Constructor Detail

JumpToMarkerActions.JumpToNextMarker

public JumpToMarkerActions.JumpToNextMarker(JumpToMarkerActions.JumpToMarkerLayer layer)
Method Detail

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