Class InputCharEventBase

    • Field Detail

      • chr

        protected char chr
      • alt

        protected boolean alt
      • shift

        protected boolean shift
      • control

        protected boolean control
    • Constructor Detail

      • InputCharEventBase

        public InputCharEventBase​(char chr,
                                  boolean alt,
                                  boolean shift,
                                  boolean control)
    • Method Detail

      • getChar

        public char getChar()
        Description copied from interface: InputCharEvent
        Символ который ввел пользователь
        Specified by:
        getChar in interface InputCharEvent
        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 нажата