Package com.jetbrains

Interface SystemShortcuts.Shortcut

Enclosing interface:
SystemShortcuts

@Provided public static interface SystemShortcuts.Shortcut
Information about a system shortcut
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Returns a human-readable description of the shortcut action.
    Returns unique identifier for this shortcut.
    char
    Returns the key character for this shortcut.
    int
    Returns the key code for this shortcut.
    int
    Returns the modifier mask for this shortcut.
  • Method Details Link icon

    • getKeyCode Link icon

      int getKeyCode()
      Returns the key code for this shortcut. See KeyEvent for the list of key codes. If this shortcut doesn't have an associated key code, this method returns KeyEvent.VK_UNDEFINED.
      Returns:
      The shortcut's key code
    • getKeyChar Link icon

      char getKeyChar()
      Returns the key character for this shortcut. If this shortcut doesn't have an associated key character, this method returns KeyEvent.CHAR_UNDEFINED.
      Returns:
      The shortcut's key character
    • getModifiers Link icon

      int getModifiers()
      Returns the modifier mask for this shortcut. See InputEvent for the list of modifiers.
      Returns:
      The shortcut's modifiers mask
    • getId Link icon

      String getId()
      Returns unique identifier for this shortcut.
      Returns:
      Unique identifier for the shortcut action
    • getDescription Link icon

      String getDescription()
      Returns a human-readable description of the shortcut action.
      Returns:
      Human-readable description of the shortcut action