|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.bindings.keys.formatting.AbstractKeyFormatter
org.eclipse.jface.bindings.keys.formatting.FormalKeyFormatter
Formats the keys in the internal key sequence grammar. This is used for persistence, and is not really intended for display to the user.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.bindings.keys.formatting.AbstractKeyFormatter |
|---|
KEY_DELIMITER_KEY, KEY_STROKE_DELIMITER_KEY, NO_MODIFIER_KEYS |
| Constructor Summary | |
|---|---|
FormalKeyFormatter()
|
|
| Method Summary | |
|---|---|
String |
format(int key)
Formats an individual key into a human readable format. |
protected String |
getKeyDelimiter()
An accessor for the delimiter you wish to use between keys. |
protected String |
getKeyStrokeDelimiter()
An accessor for the delimiter you wish to use between key strokes. |
protected int[] |
sortModifierKeys(int modifierKeys)
Separates the modifier keys from each other, and then places them in an array in some sorted order. |
| Methods inherited from class org.eclipse.jface.bindings.keys.formatting.AbstractKeyFormatter |
|---|
format, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FormalKeyFormatter()
| Method Detail |
public String format(int key)
IKeyFormatter
format in interface IKeyFormatterformat in class AbstractKeyFormatterprotected String getKeyDelimiter()
AbstractKeyFormatter
getKeyDelimiter in class AbstractKeyFormatternull.protected String getKeyStrokeDelimiter()
AbstractKeyFormatter
getKeyStrokeDelimiter in class AbstractKeyFormatternull.protected int[] sortModifierKeys(int modifierKeys)
AbstractKeyFormatter
sortModifierKeys in class AbstractKeyFormattermodifierKeys - The modifier keys from the key stroke.
KeyStroke.NO_KEY should be ignored.
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.