Interface BotKeyListener


  • public interface BotKeyListener
    • Method Detail

      • keyTyped

        boolean keyTyped​(KeyEvent e)
        Invoked when a key has been typed. See the class description for KeyEvent for a definition of a key typed event.
        Parameters:
        e - the event to be processed
        Returns:
        true to consume the event
      • keyPressed

        boolean keyPressed​(KeyEvent e)
        Invoked when a key has been pressed. See the class description for KeyEvent for a definition of a key pressed event.
        Parameters:
        e - the event to be processed
        Returns:
        true to consume the event
      • keyReleased

        boolean keyReleased​(KeyEvent e)
        Invoked when a key has been released. See the class description for KeyEvent for a definition of a key released event.
        Parameters:
        e - the event to be processed
        Returns:
        true to consume the event