- All Implemented Interfaces:
@Deprecated public abstract class Key extends Object implements ComparableDeprecated.Please use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactory
Keyis the abstract base class for all objects representing keys on the keyboard.
Keyobjects have a formal string representation, called the 'name' of the key, available via the
Keyobjects, via the
format()method, provide a version of their formal string representation translated by platform and locale, suitable for display to a user.
Keyobjects are immutable. Clients are not permitted to extend this class.
- This class is not intended to be subclassed by clients.
Fields Modifier and Type Field Description
keyDeprecated.The key from which this key was constructed.
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description
toString()Deprecated.Returns the formal string representation for this key.
public final int compareTo(Object object)Deprecated.