Class InputEvent


  • public final class InputEvent
    extends Event
    • Field Detail

      • isSpecial

        protected boolean isSpecial
      • nonSpecialChar

        protected char nonSpecialChar
      • shiftPressed

        protected boolean shiftPressed
      • controlPressed

        protected boolean controlPressed
      • altPressed

        protected boolean altPressed
    • Constructor Detail

      • InputEvent

        public InputEvent​(InputEvent.Special special,
                          boolean shiftPressed,
                          boolean controlPressed,
                          boolean altPressed)
      • InputEvent

        public InputEvent​(char nonSpecialChar)
      • InputEvent

        public InputEvent​(char nonSpecialChar,
                          boolean shiftPressed,
                          boolean controlPressed,
                          boolean altPressed)
      • InputEvent

        public InputEvent​(boolean isSpecial,
                          InputEvent.Special special,
                          char nonSpecialChar,
                          boolean shiftPressed,
                          boolean controlPressed,
                          boolean altPressed)
      • InputEvent

        public InputEvent​(boolean isSpecial,
                          InputEvent.Special special,
                          char nonSpecialChar)
    • Method Detail

      • equals

        public boolean equals​(InputEvent event)
      • isSpecial

        public boolean isSpecial()
      • getChar

        public char getChar()
      • isModified

        public boolean isModified()
      • withShift

        public boolean withShift()
      • withShiftOnly

        public boolean withShiftOnly()
      • withControl

        public boolean withControl()
      • withControlOnly

        public boolean withControlOnly()
      • withAlt

        public boolean withAlt()
      • withAltOnly

        public boolean withAltOnly()
      • getKeyboardLayout

        public static KeyboardLayout getKeyboardLayout()
      • setKeyboardLayout

        public static void setKeyboardLayout​(KeyboardLayout layout)