Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.keys
Class Key


java.lang.Object
  extended by 
org.eclipse.ui.keys.Key
All Implemented Interfaces:
Comparable
Direct Known Subclasses:
ModifierKey, NaturalKey

Deprecated. Please use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactory

public abstract class Key
extends Object
implements Comparable

Key is the abstract base class for all objects representing keys on the keyboard.

All Key objects have a formal string representation, called the 'name' of the key, available via the toString() method.

All Key objects, via the format() method, provide a version of their formal string representation translated by platform and locale, suitable for display to a user.

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

Since:
3.0
Restriction:
This class is not intended to be subclassed by clients.

Field Summary
protected  int key
          Deprecated. The key from which this key was constructed.
 
Method Summary
 int compareTo ( Object object)
          Deprecated.  
 boolean equals ( Object object)
          Deprecated.  
 int hashCode ()
          Deprecated.  
  String toString ()
          Deprecated. Returns the formal string representation for this key.
 
Methods inherited from class java.lang. Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

key

protected final int key
Deprecated. 
The key from which this key was constructed. This value is defined by KeyLookupFactory.getDefault().

Method Detail

compareTo

public final int compareTo(
Object object)
Deprecated. 
Specified by:
compareTo in interface Comparable
See Also:
Comparable.compareTo(java.lang.Object)

equals

public final boolean equals(
Object object)
Deprecated. 
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public final int hashCode()
Deprecated. 
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

toString

public final 
String toString()
Deprecated. 
Returns the formal string representation for this key.

Overrides:
toString in class Object
Returns:
The formal string representation for this key. Guaranteed not to be null.
See Also:
Object.toString()

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire