org.geworkbench.events.listeners
Class ParameterActionListener

java.lang.Object
  extended by org.geworkbench.events.listeners.ParameterActionListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.FocusListener, java.awt.event.MouseListener, java.beans.PropertyChangeListener, java.util.EventListener, javax.swing.event.ChangeListener, javax.swing.event.ListDataListener, javax.swing.event.ListSelectionListener

public class ParameterActionListener
extends java.lang.Object
implements java.awt.event.ActionListener, javax.swing.event.ListDataListener, javax.swing.event.ChangeListener, java.beans.PropertyChangeListener, java.awt.event.FocusListener, java.awt.event.MouseListener, javax.swing.event.ListSelectionListener

Version:
$Id: ParameterActionListener.java,v 1.1.2.1 2009/01/22 16:50:10 keshav Exp $
Author:
keshav, yc2480

Constructor Summary
ParameterActionListener(AbstractSaveableParameterPanel aspp)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 void contentsChanged(javax.swing.event.ListDataEvent arg0)
           
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
 boolean getCalledFromProgramFlag()
           
 void intervalAdded(javax.swing.event.ListDataEvent arg0)
           
 void intervalRemoved(javax.swing.event.ListDataEvent arg0)
           
 void mouseClicked(java.awt.event.MouseEvent me)
           
 void mouseEntered(java.awt.event.MouseEvent me)
           
 void mouseExited(java.awt.event.MouseEvent me)
           
 void mousePressed(java.awt.event.MouseEvent me)
           
 void mouseReleased(java.awt.event.MouseEvent me)
           
 void propertyChange(java.beans.PropertyChangeEvent arg0)
           
 void setCalledFromProgramFlag(boolean flag)
           
 void stateChanged(javax.swing.event.ChangeEvent arg0)
           
 void valueChanged(javax.swing.event.ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterActionListener

public ParameterActionListener(AbstractSaveableParameterPanel aspp)
Parameters:
aspp -
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

contentsChanged

public void contentsChanged(javax.swing.event.ListDataEvent arg0)
Specified by:
contentsChanged in interface javax.swing.event.ListDataListener

intervalAdded

public void intervalAdded(javax.swing.event.ListDataEvent arg0)
Specified by:
intervalAdded in interface javax.swing.event.ListDataListener

intervalRemoved

public void intervalRemoved(javax.swing.event.ListDataEvent arg0)
Specified by:
intervalRemoved in interface javax.swing.event.ListDataListener

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent arg0)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

setCalledFromProgramFlag

public void setCalledFromProgramFlag(boolean flag)
Parameters:
flag - Set the flag to "true" before you change any monitored GUI components, to avoid cycle events.

getCalledFromProgramFlag

public boolean getCalledFromProgramFlag()

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent arg0)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Specified by:
focusLost in interface java.awt.event.FocusListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent me)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent me)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent me)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent me)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent me)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener