Package rsb.internal.input
Class Keyboard
java.lang.Object
rsb.internal.input.Focus
rsb.internal.input.Keyboard
- All Implemented Interfaces:
FocusListener
,KeyListener
,EventListener
,net.runelite.client.input.KeyListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
Invoked when a key has been pressed.void
Invoked when a key has been released.void
Invoked when a key has been typed.Methods inherited from class rsb.internal.input.Focus
focusGained, focusLost
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.runelite.client.input.KeyListener
isEnabledOnLoginScreen
-
Constructor Details
-
Keyboard
public Keyboard()
-
-
Method Details
-
keyTyped
Invoked when a key has been typed. See the class description forKeyEvent
for a definition of a key typed event.- Specified by:
keyTyped
in interfaceKeyListener
- Parameters:
e
- the event to be processed
-
keyPressed
Invoked when a key has been pressed. See the class description forKeyEvent
for a definition of a key pressed event.- Specified by:
keyPressed
in interfaceKeyListener
- Parameters:
e
- the event to be processed
-
keyReleased
Invoked when a key has been released. See the class description forKeyEvent
for a definition of a key released event.- Specified by:
keyReleased
in interfaceKeyListener
- Parameters:
e
- the event to be processed
-
_focusGained
- Specified by:
_focusGained
in classFocus
-
_focusLost
- Specified by:
_focusLost
in classFocus
-