Interface WindowActionMappingListener

    • Method Detail

      • actionMappingAdded

        void actionMappingAdded​(Window window)
        Called when an action mapping has been added to a window.
        Parameters:
        window - The source of this event.
      • actionMappingsRemoved

        void actionMappingsRemoved​(Window window,
                                   int index,
                                   Sequence<Window.ActionMapping> removed)
        Called when action mappings have been removed from a window.
        Parameters:
        window - The window that is affected.
        index - Starting index of the action mappings that were removed.
        removed - The sequence of action mappings that were removed.
      • keyStrokeChanged

        void keyStrokeChanged​(Window.ActionMapping actionMapping,
                              Keyboard.KeyStroke previousKeyStroke)
        Called when an action mapping's keystroke has changed.
        Parameters:
        actionMapping - The action mapping that has changed.
        previousKeyStroke - The previous keystroke (if any) associated with this mapping.
      • actionChanged

        void actionChanged​(Window.ActionMapping actionMapping,
                           Action previousAction)
        Called when an action mapping's action has changed.
        Parameters:
        actionMapping - The action mapping that has changed.
        previousAction - The action previously associated with this mapping.