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 TypeMethodDescriptionvoidvoidvoidInvoked when a key has been pressed.voidInvoked when a key has been released.voidInvoked when a key has been typed.Methods inherited from class rsb.internal.input.Focus
focusGained, focusLostMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 forKeyEventfor a definition of a key typed event.- Specified by:
keyTypedin interfaceKeyListener- Parameters:
e- the event to be processed
-
keyPressed
Invoked when a key has been pressed. See the class description forKeyEventfor a definition of a key pressed event.- Specified by:
keyPressedin interfaceKeyListener- Parameters:
e- the event to be processed
-
keyReleased
Invoked when a key has been released. See the class description forKeyEventfor a definition of a key released event.- Specified by:
keyReleasedin interfaceKeyListener- Parameters:
e- the event to be processed
-
_focusGained
- Specified by:
_focusGainedin classFocus
-
_focusLost
- Specified by:
_focusLostin classFocus
-