gumbo.net
Class NetWindow.KillServerAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--gumbo.net.NetWindow.KillServerAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Enclosing class:
NetWindow

public class NetWindow.KillServerAction
extends javax.swing.AbstractAction

A GUI action that optionally requests a manual retry and then closes the thread's server socket, if any. If a manual retry is requested or auto-retry is disabled the user will be prompted for a server thread restart.

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
NetWindow.KillServerAction(NetThread thread, java.lang.String name, javax.swing.Icon icon, boolean manualRetry)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 
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

NetWindow.KillServerAction

public NetWindow.KillServerAction(NetThread thread,
                                  java.lang.String name,
                                  javax.swing.Icon icon,
                                  boolean manualRetry)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)