org.openscience.jmol.app.jmolpanel
Class GuiMap

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

 class GuiMap
extends Object


Nested Class Summary
(package private) static interface GuiMap.GetKey
           
(package private)  class GuiMap.KeyJCheckBox
           
(package private)  class GuiMap.KeyJCheckBoxMenuItem
           
(package private)  class GuiMap.KeyJMenu
           
(package private)  class GuiMap.KeyJMenuItem
           
(package private)  class GuiMap.KeyJRadioButtonMenuItem
           
 
Field Summary
(package private)  Hashtable labels
           
(package private)  Hashtable map
           
 
Constructor Summary
GuiMap()
           
 
Method Summary
(package private)  Object get(String key)
           
(package private) static String getKey(Object obj)
           
(package private)  String getLabel(String key)
           
private static String getLabelWithoutMnemonic(String label)
           
private static char getMnemonic(String label)
           
(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  Hashtable setupLabels()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

Hashtable map

labels

Hashtable labels
Constructor Detail

GuiMap

GuiMap()
Method Detail

setupLabels

private Hashtable 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)

get

Object get(String key)

getKey

static String getKey(Object obj)

getLabelWithoutMnemonic

private static String getLabelWithoutMnemonic(String label)

getMnemonic

private static char getMnemonic(String label)

setSelected

void setSelected(String key,
                 boolean b)