verinec.gui.configurator
Class Configurator.PCNodeAction

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

 class Configurator.PCNodeAction
extends ConfigAction

Action for the PCNodes, that is add interfaces. Instantiated with the type it is responsible for.


Field Summary
private  PCNode node
           
private  int type
           
 
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.PCNodeAction(int type, PCNode pc)
          Instantiate the action for the specified network type.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Add an interface of our type to the node.
 
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

node

private PCNode node

type

private int type
Constructor Detail

Configurator.PCNodeAction

public Configurator.PCNodeAction(int type,
                                 PCNode pc)
Instantiate the action for the specified network type.

Parameters:
type - The network type id.
pc - The node the interfaces will be added to.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Add an interface of our type to the node.

Parameters:
e - The event.

Copyright © 2005 Verinec, DIUF