private abstract static class JumpToMarkerActions.JumpToMarker extends AbstractAction implements MultikeyShortcutAction
MultikeyShortcutAction.MultikeyInfo| Modifier and Type | Field and Description |
|---|---|
private WeakReference<Layer> |
lastLayer |
private Layer |
layer |
private Shortcut |
multikeyShortcut |
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
JumpToMarker(JumpToMarkerActions.JumpToMarkerLayer layer,
Shortcut shortcut) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
protected abstract void |
execute(Layer l) |
void |
executeMultikeyAction(int index,
boolean repeat) |
MultikeyShortcutAction.MultikeyInfo |
getLastMultikeyAction() |
List<MultikeyShortcutAction.MultikeyInfo> |
getMultikeyCombinations() |
Shortcut |
getMultikeyShortcut() |
protected void |
setLastLayer(Layer l) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprivate final Shortcut multikeyShortcut
private WeakReference<Layer> lastLayer
public JumpToMarker(JumpToMarkerActions.JumpToMarkerLayer layer, Shortcut shortcut)
protected final void setLastLayer(Layer l)
public Shortcut getMultikeyShortcut()
getMultikeyShortcut in interface MultikeyShortcutActionpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void executeMultikeyAction(int index, boolean repeat)
executeMultikeyAction in interface MultikeyShortcutActionpublic List<MultikeyShortcutAction.MultikeyInfo> getMultikeyCombinations()
getMultikeyCombinations in interface MultikeyShortcutActionpublic MultikeyShortcutAction.MultikeyInfo getLastMultikeyAction()
getLastMultikeyAction in interface MultikeyShortcutAction