public class MnemonicInfoGuiImpl extends MnemonicInfo
cfg
Constructor and Description |
---|
MnemonicInfoGuiImpl()
Default constructor.
|
MnemonicInfoGuiImpl(boolean defaultFirst)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
prepare(java.lang.String title)
Initialized fields with new menu item label.
|
protected boolean |
processSequence(int start,
int end,
java.lang.StringBuilder result,
boolean mnemAssnd)
Process one '&' characters sequence.
|
getMnemIdx, getMnemonic, getPrepLabel, init, setMnemIdx, setMnemonic
public MnemonicInfoGuiImpl()
public MnemonicInfoGuiImpl(boolean defaultFirst)
defaultFirst
- true
if first character is a default mnemonic.public java.lang.String prepare(java.lang.String title)
prepare
in class MnemonicInfo
title
- New menu item label.protected boolean processSequence(int start, int end, java.lang.StringBuilder result, boolean mnemAssnd)
processSequence
in class MnemonicInfo
start
- the first '&' index from the right.end
- the last '&' index from the right.mnemAssnd
- true means that a sequence of '&' of odd length was met, wherein
mnemonic wasn't necessarily being assigned.result
- Resulting string buffer.