verinec.gui.configurator
Class Configurator.ChangeSideAction

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

 class Configurator.ChangeSideAction
extends ConfigAction

Action to change the side of an interface.


Field Summary
private  int side
           
 
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.ChangeSideAction(int side, NwInterface i)
          Create action to change side of an interface.
 
Method Summary
 void actionPerformed(ActionEvent e)
          To handle the action, that is move the interface to the right side.
 
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

side

private int side
Constructor Detail

Configurator.ChangeSideAction

public Configurator.ChangeSideAction(int side,
                                     NwInterface i)
                              throws VerinecException
Create action to change side of an interface.

Parameters:
side - A constant defined in PCNode to define to which side to change the interface if the action is triggered.
i - The interface
Throws:
VerinecException - If an icon can not be found.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
To handle the action, that is move the interface to the right side.

Parameters:
e - ignored.

Copyright © 2005 Verinec, DIUF