|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.logging.ui.LabelUtil
Provides a set of utility routines for processing mnemonics for labels that are to be used in dialogs and menus.
| Constructor Summary | |
|---|---|
LabelUtil()
|
|
| Method Summary | |
|---|---|
static String |
assignMnemonic(String label,
Set used)
Assigns a mnemonic to a label and adds it to the set of used mnemonic characters. |
static Set |
usedFromString(String s)
This is a convenience method for constucting a "used set" by taking the individual characters of a string in both lower and upper cases and adding them to the set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LabelUtil()
| Method Detail |
public static String assignMnemonic(String label,
Set used)
label - the label in which the mnemonic is to be discoveredused - the set of Characters that cannot be used as mnemonics. This set is modified
by the operation if a mnemonic could be found.
public static Set usedFromString(String s)
s - the String from which to construct the set.
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||