Package org.openstreetmap.josm.gui.util
Interface MultikeyShortcutAction
-
- All Superinterfaces:
Action
,ActionListener
,EventListener
- All Known Implementing Classes:
ActivateLayerAction
,FilterDialog.AbstractFilterAction
,FilterDialog.EnableFilterAction
,FilterDialog.HidingFilterAction
,JumpToMarkerActions.JumpToMarker
,JumpToMarkerActions.JumpToNextMarker
,JumpToMarkerActions.JumpToPreviousMarker
,ShowHideLayerAction
public interface MultikeyShortcutAction extends Action
Action implementing a multikey shortcut - shortcuts like Ctrl+Alt+S,n will toggle n-th layer visibility.- Since:
- 4595
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MultikeyShortcutAction.MultikeyInfo
-
Field Summary
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
executeMultikeyAction(int index, boolean repeatLastAction)
MultikeyShortcutAction.MultikeyInfo
getLastMultikeyAction()
List<MultikeyShortcutAction.MultikeyInfo>
getMultikeyCombinations()
Shortcut
getMultikeyShortcut()
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
-
-
-
-
Method Detail
-
getMultikeyShortcut
Shortcut getMultikeyShortcut()
-
executeMultikeyAction
void executeMultikeyAction(int index, boolean repeatLastAction)
-
getMultikeyCombinations
List<MultikeyShortcutAction.MultikeyInfo> getMultikeyCombinations()
-
getLastMultikeyAction
MultikeyShortcutAction.MultikeyInfo getLastMultikeyAction()
-
-