Class ModifierKey

  • All Implemented Interfaces:
    java.lang.Comparable

    @Deprecated
    public final class ModifierKey
    extends Key
    Deprecated.
    Please use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactory

    Instances of ModifierKey represent the four keys on the keyboard recognized by convention as 'modifier keys', those keys typically pressed in combination with themselves and/or a NaturalKey.

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

    Since:
    3.0
    See Also:
    NaturalKey
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ModifierKey ALT
      Deprecated.
      The single static instance of ModifierKey which represents the 'Alt' key.
      static ModifierKey COMMAND
      Deprecated.
      The single static instance of ModifierKey which represents the 'Command' key.
      static ModifierKey CTRL
      Deprecated.
      The single static instance of ModifierKey which represents the 'Ctrl' key.
      static ModifierKey SHIFT
      Deprecated.
      The single static instance of ModifierKey which represents the 'Shift' key.
      • Fields inherited from class org.eclipse.ui.keys.Key

        key
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ALT

        public static final ModifierKey ALT
        Deprecated.
        The single static instance of ModifierKey which represents the 'Alt' key.
      • COMMAND

        public static final ModifierKey COMMAND
        Deprecated.
        The single static instance of ModifierKey which represents the 'Command' key.
      • CTRL

        public static final ModifierKey CTRL
        Deprecated.
        The single static instance of ModifierKey which represents the 'Ctrl' key.
      • SHIFT

        public static final ModifierKey SHIFT
        Deprecated.
        The single static instance of ModifierKey which represents the 'Shift' key.