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 String
MENU_NAME
private static String[][]
menuContents
private 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 String
Box(String cmd)
protected void
buildStructure(String menuStructure)
String
getMenuAsText(String title)
String
getMenuName()
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:
getMenuName
in classPopupResource
-
buildStructure
protected void buildStructure(String menuStructure)
- Specified by:
buildStructure
in classPopupResource
-
getWordContents
protected String[] getWordContents()
- Specified by:
getWordContents
in classPopupResource
-
getMenuAsText
public String getMenuAsText(String title)
- Specified by:
getMenuAsText
in classPopupResource
-
-