|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Any formatter capable of taking a key sequence or a key stroke and converting it into a string. These formatters are used to produce the strings that the user sees in the keys preference page and the menus, as well as the strings that are used for persistent storage.
Method Summary | |
---|---|
String |
format(int key)
Formats an individual key into a human readable format. |
String |
format(KeySequence keySequence)
Format the given key sequence into a string. |
String |
format(KeyStroke keyStroke)
Format the given key strokes into a string. |
Method Detail |
public String format(int key)
key
- The key to format.
null
.public String format(KeySequence keySequence)
keySequence
- The key sequence to convert; must not be null
.
null
.public String format(KeyStroke keyStroke)
keyStroke
- The key stroke to convert; must not be null
.
null
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.