public class ShortcutManager extends DefaultKeyboardFocusManager
| Modifier and Type | Class and Description |
|---|---|
static class |
ShortcutManager.FocusedObjectActionEvent |
static interface |
ShortcutManager.SetMatchedComponent |
BACKWARD_TRAVERSAL_KEYS, DOWN_CYCLE_TRAVERSAL_KEYS, FORWARD_TRAVERSAL_KEYS, UP_CYCLE_TRAVERSAL_KEYS| Constructor and Description |
|---|
ShortcutManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatchEvent(AWTEvent e) |
static ShortcutManager |
get() |
Iterable<Action> |
getActions() |
int |
getMinLastCallTimeout() |
protected boolean |
hook(KeyEvent e) |
protected boolean |
hook(KeyStroke keyStroke,
KeyEvent keyEvent) |
static void |
install() |
boolean |
isAllowMultipleActions() |
void |
setActions(Iterable<Action> actions) |
void |
setActionsOf(Iterable<MenuItem> miRoot) |
void |
setActionsOf(MenuItem miRoot) |
void |
setAllowMultipleActions(boolean allowMultipleActions) |
void |
setMinLastCallTimeout(int minLastCallTimeout) |
dequeueKeyEvents, discardKeyEvents, dispatchKeyEvent, downFocusCycle, enqueueKeyEvents, focusNextComponent, focusPreviousComponent, postProcessKeyEvent, processKeyEvent, upFocusCycleaddKeyEventDispatcher, addKeyEventPostProcessor, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clearFocusOwner, clearGlobalFocusOwner, downFocusCycle, firePropertyChange, fireVetoableChange, focusNextComponent, focusPreviousComponent, getActiveWindow, getCurrentFocusCycleRoot, getCurrentKeyboardFocusManager, getDefaultFocusTraversalKeys, getDefaultFocusTraversalPolicy, getFocusedWindow, getFocusOwner, getGlobalActiveWindow, getGlobalCurrentFocusCycleRoot, getGlobalFocusedWindow, getGlobalFocusOwner, getGlobalPermanentFocusOwner, getKeyEventDispatchers, getKeyEventPostProcessors, getPermanentFocusOwner, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, redispatchEvent, removeKeyEventDispatcher, removeKeyEventPostProcessor, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setCurrentKeyboardFocusManager, setDefaultFocusTraversalKeys, setDefaultFocusTraversalPolicy, setGlobalActiveWindow, setGlobalCurrentFocusCycleRoot, setGlobalFocusedWindow, setGlobalFocusOwner, setGlobalPermanentFocusOwner, upFocusCyclepublic static ShortcutManager get()
public static void install()
public boolean dispatchEvent(AWTEvent e)
dispatchEvent in class DefaultKeyboardFocusManagerprotected boolean hook(KeyEvent e)
public boolean isAllowMultipleActions()
public void setAllowMultipleActions(boolean allowMultipleActions)
public void setActionsOf(MenuItem miRoot)
public int getMinLastCallTimeout()
public void setMinLastCallTimeout(int minLastCallTimeout)
Copyright © 2018. All rights reserved.