Class SpecialKey

All Implemented Interfaces:
Comparable

@Deprecated(forRemoval=true, since="2024-03") public final class SpecialKey extends NaturalKey
Deprecated, for removal: This API element is subject to removal in a future version.
Please use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactory

Instances of SpecialKey represent the keys on keyboard recognized as neither modifier keys nor character keys. These are special control keys specific to computers (e.g., "left arrow", "page down", "F10", etc.). They do not include keys representing letters, numbers or punctuation from a natural language, nor do they include any key that can be represented by a Unicode character (e.g., "backspace").

SpecialKey objects are immutable. Clients are not permitted to extend this class.

Since:
3.0
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Arrow Down' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Arrow Left' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Arrow Right' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Arrow Up' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Break' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Caps Lock' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'End' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F1' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F10' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F11' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F12' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F13' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F14' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F15' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F2' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F3' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F4' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F5' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F6' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F7' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F8' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'F9' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Home' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Insert' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'NumLock' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '0' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '1' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '2' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '3' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '4' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '5' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '6' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '7' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '8' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '9' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Add' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Decimal' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Divide' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Enter' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the '=' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Multiply' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Subtract' key on the numpad.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Page Down' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Page Up' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Pause' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Print Screen' key.
    static final SpecialKey
    Deprecated, for removal: This API element is subject to removal in a future version.
    The single static instance of SpecialKey which represents the 'Scroll Lock' key.

    Fields inherited from class org.eclipse.ui.keys.Key Link icon

    key
  • Method Summary Link icon

    Methods inherited from class org.eclipse.ui.keys.Key Link icon

    compareTo, equals, hashCode, toString

    Methods inherited from class java.lang.Object Link icon

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details Link icon

    • ARROW_DOWN Link icon

      public static final SpecialKey ARROW_DOWN
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Arrow Down' key.
    • ARROW_LEFT Link icon

      public static final SpecialKey ARROW_LEFT
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Arrow Left' key.
    • ARROW_RIGHT Link icon

      public static final SpecialKey ARROW_RIGHT
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Arrow Right' key.
    • ARROW_UP Link icon

      public static final SpecialKey ARROW_UP
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Arrow Up' key.
    • BREAK Link icon

      public static final SpecialKey BREAK
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Break' key.
    • CAPS_LOCK Link icon

      public static final SpecialKey CAPS_LOCK
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Caps Lock' key.
    • END Link icon

      public static final SpecialKey END
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'End' key.
    • F1 Link icon

      public static final SpecialKey F1
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F1' key.
    • F10 Link icon

      public static final SpecialKey F10
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F10' key.
    • F11 Link icon

      public static final SpecialKey F11
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F11' key.
    • F12 Link icon

      public static final SpecialKey F12
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F12' key.
    • F13 Link icon

      public static final SpecialKey F13
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F13' key.
    • F14 Link icon

      public static final SpecialKey F14
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F14' key.
    • F15 Link icon

      public static final SpecialKey F15
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F15' key.
    • F2 Link icon

      public static final SpecialKey F2
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F2' key.
    • F3 Link icon

      public static final SpecialKey F3
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F3' key.
    • F4 Link icon

      public static final SpecialKey F4
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F4' key.
    • F5 Link icon

      public static final SpecialKey F5
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F5' key.
    • F6 Link icon

      public static final SpecialKey F6
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F6' key.
    • F7 Link icon

      public static final SpecialKey F7
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F7' key.
    • F8 Link icon

      public static final SpecialKey F8
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F8' key.
    • F9 Link icon

      public static final SpecialKey F9
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'F9' key.
    • HOME Link icon

      public static final SpecialKey HOME
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Home' key.
    • INSERT Link icon

      public static final SpecialKey INSERT
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Insert' key.
    • NUM_LOCK Link icon

      public static final SpecialKey NUM_LOCK
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'NumLock' key.
    • NUMPAD_0 Link icon

      public static final SpecialKey NUMPAD_0
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '0' key on the numpad.
    • NUMPAD_1 Link icon

      public static final SpecialKey NUMPAD_1
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '1' key on the numpad.
    • NUMPAD_2 Link icon

      public static final SpecialKey NUMPAD_2
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '2' key on the numpad.
    • NUMPAD_3 Link icon

      public static final SpecialKey NUMPAD_3
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '3' key on the numpad.
    • NUMPAD_4 Link icon

      public static final SpecialKey NUMPAD_4
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '4' key on the numpad.
    • NUMPAD_5 Link icon

      public static final SpecialKey NUMPAD_5
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '5' key on the numpad.
    • NUMPAD_6 Link icon

      public static final SpecialKey NUMPAD_6
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '6' key on the numpad.
    • NUMPAD_7 Link icon

      public static final SpecialKey NUMPAD_7
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '7' key on the numpad.
    • NUMPAD_8 Link icon

      public static final SpecialKey NUMPAD_8
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '8' key on the numpad.
    • NUMPAD_9 Link icon

      public static final SpecialKey NUMPAD_9
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '9' key on the numpad.
    • NUMPAD_ADD Link icon

      public static final SpecialKey NUMPAD_ADD
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Add' key on the numpad.
    • NUMPAD_DECIMAL Link icon

      public static final SpecialKey NUMPAD_DECIMAL
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Decimal' key on the numpad.
    • NUMPAD_DIVIDE Link icon

      public static final SpecialKey NUMPAD_DIVIDE
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Divide' key on the numpad.
    • NUMPAD_ENTER Link icon

      public static final SpecialKey NUMPAD_ENTER
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Enter' key on the numpad.
    • NUMPAD_EQUAL Link icon

      public static final SpecialKey NUMPAD_EQUAL
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the '=' key on the numpad.
    • NUMPAD_MULTIPLY Link icon

      public static final SpecialKey NUMPAD_MULTIPLY
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Multiply' key on the numpad.
    • NUMPAD_SUBTRACT Link icon

      public static final SpecialKey NUMPAD_SUBTRACT
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Subtract' key on the numpad.
    • PAGE_DOWN Link icon

      public static final SpecialKey PAGE_DOWN
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Page Down' key.
    • PAGE_UP Link icon

      public static final SpecialKey PAGE_UP
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Page Up' key.
    • PAUSE Link icon

      public static final SpecialKey PAUSE
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Pause' key.
    • SCROLL_LOCK Link icon

      public static final SpecialKey SCROLL_LOCK
      Deprecated, for removal: This API element is subject to removal in a future version.
      The single static instance of SpecialKey which represents the 'Scroll Lock' key.