org.openscience.jmol.app

Class GuiMap

class GuiMap extends Object

Nested Class Summary
interfaceGuiMap.GetKey
classGuiMap.KeyJCheckBox
classGuiMap.KeyJCheckBoxMenuItem
classGuiMap.KeyJMenu
classGuiMap.KeyJMenuItem
classGuiMap.KeyJRadioButtonMenuItem
Field Summary
Hashtablelabels
Hashtablemap
Method Summary
Objectget(String key)
static StringgetKey(Object obj)
StringgetLabel(String key)
static StringgetLabelWithoutMnemonic(String label)
static chargetMnemonic(String label)
JCheckBoxnewJCheckBox(String key, boolean isChecked)
JCheckBoxMenuItemnewJCheckBoxMenuItem(String key, boolean isChecked)
JMenunewJMenu(String key)
JMenuItemnewJMenuItem(String key)
JRadioButtonMenuItemnewJRadioButtonMenuItem(String key)
voidsetSelected(String key, boolean b)
HashtablesetupLabels()

Field Detail

labels

Hashtable labels

map

Hashtable map

Method Detail

get

Object get(String key)

getKey

static String getKey(Object obj)

getLabel

String getLabel(String key)

getLabelWithoutMnemonic

private static String getLabelWithoutMnemonic(String label)

getMnemonic

private static char getMnemonic(String label)

newJCheckBox

JCheckBox newJCheckBox(String key, boolean isChecked)

newJCheckBoxMenuItem

JCheckBoxMenuItem newJCheckBoxMenuItem(String key, boolean isChecked)

newJMenu

JMenu newJMenu(String key)

newJMenuItem

JMenuItem newJMenuItem(String key)

newJRadioButtonMenuItem

JRadioButtonMenuItem newJRadioButtonMenuItem(String key)

setSelected

void setSelected(String key, boolean b)

setupLabels

private Hashtable setupLabels()