Class KeyReleaseEvent

    • Constructor Detail

      • KeyReleaseEvent

        public KeyReleaseEvent​(java.lang.Object source,
                               Key key,
                               Key... keys)
        Source constructor.
        Parameters:
        source - The object on which the event initially occurred.
        key - The key that was pressed.
        keys - The keys that were pressed when this event was generated.
        Throws:
        java.lang.NullPointerException - if the given source, key, and/or keys is null.
      • KeyReleaseEvent

        public KeyReleaseEvent​(java.lang.Object source,
                               KeyReleaseEvent keyReleaseEvent)
        Copy constructor that specifies a different source.
        Parameters:
        source - The object on which the event initially occurred.
        keyReleaseEvent - The event the properties of which will be copied.
        Throws:
        java.lang.NullPointerException - if the given source, key, and/or event is null.
    • Method Detail

      • getInput

        public KeystrokeInput getInput()
        Returns:
        The input associated with this event, or null if there is no input associated with this event.