public abstract class PopupResource extends Object
Modifier and Type | Field and Description |
---|---|
protected Properties |
structure |
protected Properties |
words |
Modifier | Constructor and Description |
---|---|
protected |
PopupResource(String menuStructure,
Properties menuText) |
Modifier and Type | Method and Description |
---|---|
protected void |
addItems(String[][] itemPairs) |
protected abstract void |
buildStructure(String menuStructure) |
private String |
dumpStructure(String[][] items) |
private String |
dumpWords() |
abstract String |
getMenuAsText(String title) |
abstract String |
getMenuName() |
(package private) String |
getStructure(String key) |
protected String |
getStuctureAsText(String title,
String[][] menuContents,
String[][] structureContents) |
(package private) String |
getWord(String key) |
protected abstract String[] |
getWordContents() |
private void |
localize(boolean haveUserMenu,
Properties menuText) |
protected void |
setStructure(String slist,
Translator gt) |
protected Properties structure
protected Properties words
protected PopupResource(String menuStructure, Properties menuText)
public abstract String getMenuName()
protected abstract String[] getWordContents()
protected abstract void buildStructure(String menuStructure)
protected void setStructure(String slist, Translator gt)
protected void addItems(String[][] itemPairs)
private void localize(boolean haveUserMenu, Properties menuText)
haveUserMenu
- NOT USEDmenuText
- protected String getStuctureAsText(String title, String[][] menuContents, String[][] structureContents)
private String dumpWords()