verinec.gui.configurator
Class ConfigAction
java.lang.Object
javax.swing.AbstractAction
verinec.gui.configurator.ConfigAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- Configurator.AddBindingAction, Configurator.ChangeSideAction, Configurator.DeconnectAction, Configurator.DeleteAction, Configurator.PCNodeAction, Configurator.PropertiesAction, ImporterModule.ParserAction, ImporterModule.PortscanAction
public abstract class ConfigAction
- extends AbstractAction
Base class for actions in the context menue of a network component.
Contains a reference to the component it is for.
- Author:
- david.buchmann at unifr.ch
- See Also:
- Serialized Form
component
protected NwComponent component
- Context component for action to operate on.
ConfigAction
public ConfigAction(String name,
Icon icon,
NwComponent c)
- Create a config action attached to the component c.
- Parameters:
name - The action name.icon - Icon for the action.c - The context for this action.