Package net.runelite.client.util
Class HotkeyListener
- java.lang.Object
-
- net.runelite.client.util.HotkeyListener
-
- All Implemented Interfaces:
KeyListener
,EventListener
,KeyListener
public abstract class HotkeyListener extends Object implements KeyListener
-
-
Constructor Summary
Constructors Constructor Description HotkeyListener(Supplier<Keybind> keybind)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
focusLost()
void
hotkeyPressed()
void
hotkeyReleased()
boolean
isEnabledOnLoginScreen()
void
keyPressed(KeyEvent e)
void
keyReleased(KeyEvent e)
void
keyTyped(KeyEvent e)
void
setEnabledOnLoginScreen(boolean enabledOnLoginScreen)
-
-
-
Method Detail
-
isEnabledOnLoginScreen
public boolean isEnabledOnLoginScreen()
- Specified by:
isEnabledOnLoginScreen
in interfaceKeyListener
-
focusLost
public void focusLost()
- Specified by:
focusLost
in interfaceKeyListener
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped
in interfaceKeyListener
-
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interfaceKeyListener
-
hotkeyPressed
public void hotkeyPressed()
-
hotkeyReleased
public void hotkeyReleased()
-
setEnabledOnLoginScreen
public void setEnabledOnLoginScreen(boolean enabledOnLoginScreen)
-
-