|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.handlers.HotkeyHandler
public class HotkeyHandler
Handler for global hotkeys and Intellitype keys.
Method Summary | |
---|---|
static boolean |
areHotkeysAndIntellitypeSupported()
Checks if hotkeys and Intellitype are supported. |
void |
enableHotkeys(boolean enable)
Enables or disables hotkeys. |
void |
finish()
Release JIntellitype ressources. |
java.lang.String[][] |
getHotkeyDescription()
Returns an array with hotkeys and their descrption. |
static HotkeyHandler |
getInstance()
Gets the single instance of HotkeyHandler. |
void |
onHotKey(int id)
|
void |
onIntellitype(int command)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean areHotkeysAndIntellitypeSupported()
public static HotkeyHandler getInstance()
public void enableHotkeys(boolean enable)
enable
- if hotkeys should be enabledpublic void finish()
public java.lang.String[][] getHotkeyDescription()
public void onHotKey(int id)
public void onIntellitype(int command)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |