Class GuiMap
- java.lang.Object
-
- org.openscience.jmol.app.jmolpanel.GuiMap
-
-
Constructor Summary
Constructors Constructor Description GuiMap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget(String key)static URLgetHtmlResource(Object object, String root)StringgetLabel(String key)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 desiredJButtonnewJButton(String key)JCheckBoxnewJCheckBox(String key, boolean isChecked)JCheckBoxMenuItemnewJCheckBoxMenuItem(String key, boolean isChecked)JMenunewJMenu(String key)JMenuItemnewJMenuItem(String key)JRadioButtonMenuItemnewJRadioButtonMenuItem(String key)voidsetEnabled(String key, boolean b)voidsetSelected(String key, boolean b)private static voidsetTranslations()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.htmlprivate voidsetupLabels()static Stringtranslate(String str)voidupdateLabels()
-
-
-
Method Detail
-
setupLabels
private void setupLabels()
-
moreLabels
protected void moreLabels(Map<String,String> labels)
Add more labels if desired- Parameters:
labels-
-
newJCheckBoxMenuItem
public JCheckBoxMenuItem newJCheckBoxMenuItem(String key, boolean isChecked)
-
newJRadioButtonMenuItem
public JRadioButtonMenuItem newJRadioButtonMenuItem(String key)
-
setSelected
public void setSelected(String key, boolean b)
-
setEnabled
public void setEnabled(String key, boolean b)
-
updateLabels
public void updateLabels()
-
getResource
public static URL getResource(Object object, String fileName, boolean flagError)
- Parameters:
object- UNUSEDfileName-flagError-- Returns:
- URL
-
getResourceString
public static String getResourceString(Object object, String name) throws IOException
- 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
-
-