verinec.gui.configurator
Class Configurator.ChangeSideAction
java.lang.Object
javax.swing.AbstractAction
verinec.gui.configurator.ConfigAction
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
|
side
private int side
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.
actionPerformed
public void actionPerformed(ActionEvent e)
- To handle the action, that is move the interface to the right side.
- Parameters:
e - ignored.