T
- type of shortcut descriptorpublic abstract class ShortcutsDelegate<T>
extends java.lang.Object
Constructor and Description |
---|
ShortcutsDelegate() |
Modifier and Type | Method and Description |
---|---|
void |
addAction(Action oldAction,
Action newAction) |
protected abstract T |
attachShortcut(java.lang.String actionId,
KeyCombination keyCombination) |
protected abstract void |
detachShortcut(Action action,
T shortcutDescriptor) |
protected abstract java.util.Collection<Action> |
getActions() |
boolean |
isAllowEnterShortcut() |
void |
removeAction(Action action) |
void |
setAllowEnterShortcut(boolean allowEnterShortcut) |
public boolean isAllowEnterShortcut()
public void setAllowEnterShortcut(boolean allowEnterShortcut)
public void removeAction(Action action)
protected abstract T attachShortcut(java.lang.String actionId, KeyCombination keyCombination)
protected abstract java.util.Collection<Action> getActions()