Class KeyEditEvent


  • public class KeyEditEvent
    extends EditEvent
    • Method Detail

      • getKeyChar

        public char getKeyChar()
        Returns:
        The character representation of the pressed key.
        See Also:
        KeyEvent.getKeyChar()
      • getKeyCode

        public int getKeyCode()
        Returns:
        The index of the pressed key in the mapping table.
        See Also:
        KeyEvent.getKeyCode()
      • getInputEvent

        public InputEvent getInputEvent()
        Creates and returns an InputEvent.

        For legacy purposes only.

        Specified by:
        getInputEvent in class EditEvent
        Returns:
        An input event that can be used for legacy purposes.