Class GuiMap
java.lang.Object
org.openscience.jmol.app.jmolpanel.GuiMap
- Direct Known Subclasses:
NmrGuiMap
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URLgetHtmlResource(Object object, String root) static URLgetResource(Object object, String fileName) static URLgetResource(Object object, String fileName, boolean flagError) static StringgetResourceString(Object object, String name) protected voidmoreLabels(Map<String, String> labels) Add more labels if desirednewJButton(String key) newJCheckBox(String key, boolean isChecked) newJCheckBoxMenuItem(String key, boolean isChecked) newJMenuItem(String key) voidsetEnabled(String key, boolean b) voidsetSelected(String key, boolean b) private static voidallows for web page material to be internationalized, inserting language-specific code, as for WebExport, or by inserting boiler-plate information, as for About_xx.htmlprivate voidstatic Stringvoid
-
Field Details
-
language
-
map
-
labels
-
translations
-
-
Constructor Details
-
GuiMap
public GuiMap()
-
-
Method Details
-
setupLabels
private void setupLabels() -
moreLabels
Add more labels if desired- Parameters:
labels-
-
getLabel
-
newJMenu
-
newJMenuItem
-
newJCheckBoxMenuItem
-
newJRadioButtonMenuItem
-
newJCheckBox
-
newJButton
-
get
-
setSelected
-
setEnabled
-
updateLabels
public void updateLabels() -
translate
-
getResource
-
getHtmlResource
-
getResource
- Parameters:
object- UNUSEDfileName-flagError-- Returns:
- URL
-
getResourceString
- Throws:
IOException
-
setTranslations
private static void setTranslations()allows for web page material to be internationalized, inserting language-specific code, as for WebExport, or by inserting boiler-plate information, as for About_xx.html
-