Class InputKeyEventBase

    • Field Detail

      • alt

        protected boolean alt
      • shift

        protected boolean shift
      • control

        protected boolean control
    • Constructor Detail

      • InputKeyEventBase

        public InputKeyEventBase​(KeyName key,
                                 boolean alt,
                                 boolean shift,
                                 boolean control)
    • Method Detail

      • getKey

        public KeyName getKey()
        Description copied from interface: InputKeyEvent
        Какая клавиша была нажата
        Specified by:
        getKey in interface InputKeyEvent
        Returns:
        клавиша
      • isAltDown

        public boolean isAltDown()
        Description copied from interface: InputKeyboardEvent
        Так же нажата клавиша ALT
        Specified by:
        isAltDown in interface InputKeyboardEvent
        Returns:
        true - клавиша ALT нажата
      • isShiftDown

        public boolean isShiftDown()
        Description copied from interface: InputKeyboardEvent
        Так же нажата клавиша SHIFT
        Specified by:
        isShiftDown in interface InputKeyboardEvent
        Returns:
        true - клавиша SHIFT нажата
      • isControlDown

        public boolean isControlDown()
        Description copied from interface: InputKeyboardEvent
        Так же нажата клавиша CONTROL
        Specified by:
        isControlDown in interface InputKeyboardEvent
        Returns:
        true - клавиша CONTROL нажата