verinec.gui.configurator
Class Configurator.DeconnectAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by verinec.gui.configurator.ConfigAction
          extended by verinec.gui.configurator.Configurator.DeconnectAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
Configurator

 class Configurator.DeconnectAction
extends ConfigAction

Action for visible (Multi) bindings and for SingleInterfaces, handles the Deconnect.


Field Summary
private  NwComponent bind
           
 
Fields inherited from class verinec.gui.configurator.ConfigAction
component
 
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
Configurator.DeconnectAction(NwComponent bind)
          Instantiate deconnect action for a binding or interface.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Deconnect the binding respective the interface.
 
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
 

Field Detail

bind

private NwComponent bind
Constructor Detail

Configurator.DeconnectAction

public Configurator.DeconnectAction(NwComponent bind)
                             throws VerinecException
Instantiate deconnect action for a binding or interface.

Parameters:
bind - The SingleInterface or MultiBinding that can will be deconnected if the action is executed.
Throws:
VerinecException - If the GuiUtil.DECONNECT_ICON can not be found.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Deconnect the binding respective the interface.

Parameters:
e - The event.

Copyright © 2005 Verinec, DIUF