Class ShortcutsKt

  • All Implemented Interfaces:

    
    public final class ShortcutsKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit fireShortcut(Key key, Key modifiers) Fires a shortcut event with given key and modifiers in the current UI.
      final static Unit _fireShortcut(Component $self, Key key, Key modifiers) Use the global fireShortcut() function unless you know what you're doing!
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • fireShortcut

         final static Unit fireShortcut(Key key, Key modifiers)

        Fires a shortcut event with given key and modifiers in the current UI. This will in turn notify all components currently attached to the current UI which subscribed for this exact key combination.

      • _fireShortcut

         final static Unit _fireShortcut(Component $self, Key key, Key modifiers)

        Use the global fireShortcut() function unless you know what you're doing!