Class Keyboard

java.lang.Object
rsb.internal.input.Focus
rsb.internal.input.Keyboard
All Implemented Interfaces:
FocusListener, KeyListener, EventListener, net.runelite.client.input.KeyListener

public class Keyboard extends Focus implements net.runelite.client.input.KeyListener
  • Constructor Details

    • Keyboard

      public Keyboard()
  • Method Details

    • keyTyped

      public void keyTyped(KeyEvent e)
      Invoked when a key has been typed. See the class description for KeyEvent for a definition of a key typed event.
      Specified by:
      keyTyped in interface KeyListener
      Parameters:
      e - the event to be processed
    • keyPressed

      public void keyPressed(KeyEvent e)
      Invoked when a key has been pressed. See the class description for KeyEvent for a definition of a key pressed event.
      Specified by:
      keyPressed in interface KeyListener
      Parameters:
      e - the event to be processed
    • keyReleased

      public void keyReleased(KeyEvent e)
      Invoked when a key has been released. See the class description for KeyEvent for a definition of a key released event.
      Specified by:
      keyReleased in interface KeyListener
      Parameters:
      e - the event to be processed
    • _focusGained

      public void _focusGained(FocusEvent e)
      Specified by:
      _focusGained in class Focus
    • _focusLost

      public void _focusLost(FocusEvent e)
      Specified by:
      _focusLost in class Focus