cz.cuni.amis.nb.pogamut.base.agent
Class AgentAction
java.lang.Object
javax.swing.AbstractAction
cz.cuni.amis.nb.pogamut.base.NamedAction
cz.cuni.amis.nb.pogamut.base.agent.AgentAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- ControllableAgentNode.KillAgent, ControllableAgentNode.PauseAgent, ControllableAgentNode.ResumeAgent, ControllableAgentNode.SetDefault, ControllableAgentNode.StopAgent
public abstract class AgentAction
- extends NamedAction
Base for agent associated actions.
- Author:
- ik
- See Also:
- Serialized Form
|
Field Summary |
protected cz.cuni.amis.pogamut.base.agent.IAgent |
agent
|
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
|
Constructor Summary |
AgentAction(cz.cuni.amis.pogamut.base.agent.IAgent agent,
String key)
|
agent
protected cz.cuni.amis.pogamut.base.agent.IAgent agent
AgentAction
public AgentAction(cz.cuni.amis.pogamut.base.agent.IAgent agent,
String key)
action
protected abstract void action(ActionEvent e)
throws cz.cuni.amis.pogamut.base.agent.exceptions.AgentException
- Specified by:
action in class NamedAction
- Throws:
cz.cuni.amis.pogamut.base.agent.exceptions.AgentException
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.