Package org.jmol.popup
Class MainPopupResourceBundle
- java.lang.Object
-
- org.jmol.popup.PopupResource
-
- org.jmol.popup.MainPopupResourceBundle
-
public class MainPopupResourceBundle extends PopupResource
-
-
Field Summary
Fields Modifier and Type Field Description private static StringMENU_NAMEprivate static String[][]menuContentsprivate static String[][]structureContents-
Fields inherited from class org.jmol.popup.PopupResource
structure, words
-
-
Constructor Summary
Constructors Constructor Description MainPopupResourceBundle(String menuStructure, Properties menuText)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static StringBox(String cmd)protected voidbuildStructure(String menuStructure)StringgetMenuAsText(String title)StringgetMenuName()protected String[]getWordContents()-
Methods inherited from class org.jmol.popup.PopupResource
addItems, getStructure, getStuctureAsText, getWord, setStructure
-
-
-
-
Field Detail
-
MENU_NAME
private static final String MENU_NAME
- See Also:
- Constant Field Values
-
menuContents
private static String[][] menuContents
-
structureContents
private static String[][] structureContents
-
-
Constructor Detail
-
MainPopupResourceBundle
public MainPopupResourceBundle(String menuStructure, Properties menuText)
-
-
Method Detail
-
getMenuName
public String getMenuName()
- Specified by:
getMenuNamein classPopupResource
-
buildStructure
protected void buildStructure(String menuStructure)
- Specified by:
buildStructurein classPopupResource
-
getWordContents
protected String[] getWordContents()
- Specified by:
getWordContentsin classPopupResource
-
getMenuAsText
public String getMenuAsText(String title)
- Specified by:
getMenuAsTextin classPopupResource
-
-