org.openscience.jmol.app.jmolpanel
Class GuiMap

java.lang.Object
  extended by org.openscience.jmol.app.jmolpanel.GuiMap

 class GuiMap
extends Object


Field Summary
(package private)  Map<String,String> labels
           
(package private)  Map<String,AbstractButton> map
           
 
Constructor Summary
GuiMap()
           
 
Method Summary
(package private)  Object get(String key)
           
(package private)  String getLabel(String key)
           
(package private)  JButton newJButton(String key)
           
(package private)  JCheckBox newJCheckBox(String key, boolean isChecked)
           
(package private)  JCheckBoxMenuItem newJCheckBoxMenuItem(String key, boolean isChecked)
           
(package private)  JMenu newJMenu(String key)
           
(package private)  JMenuItem newJMenuItem(String key)
           
(package private)  JRadioButtonMenuItem newJRadioButtonMenuItem(String key)
           
(package private)  void setSelected(String key, boolean b)
           
private  void setupLabels()
           
 void updateLabels()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

Map<String,AbstractButton> map

labels

Map<String,String> labels
Constructor Detail

GuiMap

GuiMap()
Method Detail

setupLabels

private void setupLabels()

getLabel

String getLabel(String key)

newJMenu

JMenu newJMenu(String key)

newJMenuItem

JMenuItem newJMenuItem(String key)

newJCheckBoxMenuItem

JCheckBoxMenuItem newJCheckBoxMenuItem(String key,
                                       boolean isChecked)

newJRadioButtonMenuItem

JRadioButtonMenuItem newJRadioButtonMenuItem(String key)

newJCheckBox

JCheckBox newJCheckBox(String key,
                       boolean isChecked)

newJButton

JButton newJButton(String key)

get

Object get(String key)

setSelected

void setSelected(String key,
                 boolean b)

updateLabels

public void updateLabels()