Class GraphicalTerminalImplementation.TerminalInputListener

  • All Implemented Interfaces:
    java.awt.event.KeyListener, java.util.EventListener
    Enclosing class:
    GraphicalTerminalImplementation

    protected class GraphicalTerminalImplementation.TerminalInputListener
    extends java.awt.event.KeyAdapter
    Class that translates AWT key events into Lanterna KeyStroke
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void keyPressed​(java.awt.event.KeyEvent e)  
      void keyTyped​(java.awt.event.KeyEvent e)  
      • Methods inherited from class java.awt.event.KeyAdapter

        keyReleased
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TerminalInputListener

        protected TerminalInputListener()
    • Method Detail

      • keyTyped

        public void keyTyped​(java.awt.event.KeyEvent e)
        Specified by:
        keyTyped in interface java.awt.event.KeyListener
        Overrides:
        keyTyped in class java.awt.event.KeyAdapter
      • keyPressed

        public void keyPressed​(java.awt.event.KeyEvent e)
        Specified by:
        keyPressed in interface java.awt.event.KeyListener
        Overrides:
        keyPressed in class java.awt.event.KeyAdapter