edu.ucla.stat.SOCR.util
Class ObservableWrapper

java.lang.Object
  extended by 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


Constructor Summary
ObservableWrapper()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addJButton(javax.swing.JButton bt)
           
 void addJCheckBox(javax.swing.JCheckBox chkbox)
           
 void addJComboBox(javax.swing.JComboBox bt)
           
 void addJTextField(javax.swing.JTextField tf)
           
 void addObserver(java.util.Observer o)
           
 void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
           
 void itemStateChanged(java.awt.event.ItemEvent event)
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObservableWrapper

public ObservableWrapper()
Method Detail

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