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

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

public class ShowGooseAction
extends javax.swing.AbstractAction
implements GaggleConnectionListener

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
ShowGooseAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void setConnected(boolean connected, Boss boss)
          notify the listener that the goose has either connected to the boss or disconnected.
 void setTargetGoose(java.lang.String targetGoose)
           
 
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

ShowGooseAction

public ShowGooseAction()
Method Detail

actionPerformed

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

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

setTargetGoose

public void setTargetGoose(java.lang.String targetGoose)