edu.ucla.stat.SOCR.util
Class ObservableWrapper
java.lang.Object
edu.ucla.stat.SOCR.util.ObservableWrapper
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.awt.event.ItemListener, java.awt.event.KeyListener, java.util.EventListener
public class ObservableWrapper
- extends java.lang.Object
- implements java.awt.event.KeyListener, java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.AdjustmentListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObservableWrapper
public ObservableWrapper()
addObserver
public void addObserver(java.util.Observer o)
addJCheckBox
public void addJCheckBox(javax.swing.JCheckBox chkbox)
addJTextField
public void addJTextField(javax.swing.JTextField tf)
addJButton
public void addJButton(javax.swing.JButton bt)
addJComboBox
public void addJComboBox(javax.swing.JComboBox bt)
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent event)
- Specified by:
itemStateChanged
in interface java.awt.event.ItemListener
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed
in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased
in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
- Specified by:
keyTyped
in interface java.awt.event.KeyListener
adjustmentValueChanged
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
- Specified by:
adjustmentValueChanged
in interface java.awt.event.AdjustmentListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener