public final class GlobalHotKeyManager extends EventQueue implements HotKeyManager
Modifier and Type | Method and Description |
---|---|
void |
addHotKey(String name,
KeyStroke keyStroke,
Action action) |
protected void |
dispatchEvent(AWTEvent event) |
static HotKeyManager |
getInstance() |
createSecondaryLoop, getCurrentEvent, getMostRecentEventTime, getNextEvent, invokeAndWait, invokeLater, isDispatchThread, peekEvent, peekEvent, pop, postEvent, push
public static HotKeyManager getInstance()
public void addHotKey(String name, KeyStroke keyStroke, Action action)
addHotKey
in interface HotKeyManager
protected void dispatchEvent(AWTEvent event)
dispatchEvent
in class EventQueue
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.