|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.keys.Key
public abstract class Key
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.
| Field Summary | |
|---|---|
protected int |
key
Deprecated. The key from which this key was constructed. |
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object object)
Deprecated. |
boolean |
equals(java.lang.Object object)
Deprecated. |
int |
hashCode()
Deprecated. |
java.lang.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 |
|---|
protected final int key
KeyLookupFactory.getDefault().
| Method Detail |
|---|
public final int compareTo(java.lang.Object object)
compareTo in interface java.lang.ComparableComparable.compareTo(java.lang.Object)public final boolean equals(java.lang.Object object)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public final int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public final java.lang.String toString()
toString in class java.lang.Objectnull.Object.toString()
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.