org.systemsbiology.gaggle.geese.common.actions
Class UpdateGooseChooserAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.systemsbiology.gaggle.geese.common.actions.UpdateGooseChooserAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, GaggleConnectionListener

public class UpdateGooseChooserAction
extends javax.swing.AbstractAction
implements GaggleConnectionListener

calls updateGeese() on the contained GooseChooser

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
UpdateGooseChooserAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 void setConnected(boolean connected, Boss boss)
          notify the listener that the goose has either connected to the boss or disconnected.
 void setGooseChooser(GooseChooserComboBox gooseChooser)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateGooseChooserAction

public UpdateGooseChooserAction()
Method Detail

setGooseChooser

public void setGooseChooser(GooseChooserComboBox gooseChooser)

setConnected

public void setConnected(boolean connected,
                         Boss boss)
Description copied from interface: GaggleConnectionListener
notify the listener that the goose has either connected to the boss or disconnected.

Specified by:
setConnected in interface GaggleConnectionListener

actionPerformed

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