Class HotkeyListener

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

    public abstract class HotkeyListener
    extends java.lang.Object
    implements KeyListener
    • Constructor Detail

      • HotkeyListener

        public HotkeyListener​(java.util.function.Supplier<Keybind> keybind)
    • Method Detail

      • keyTyped

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

        public void keyPressed​(java.awt.event.KeyEvent e)
        Specified by:
        keyPressed in interface java.awt.event.KeyListener
      • keyReleased

        public void keyReleased​(java.awt.event.KeyEvent e)
        Specified by:
        keyReleased in interface java.awt.event.KeyListener
      • hotkeyPressed

        public void hotkeyPressed()
      • hotkeyReleased

        public void hotkeyReleased()
      • setEnabledOnLoginScreen

        public void setEnabledOnLoginScreen​(boolean enabledOnLoginScreen)