|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FrameworkGuiController
Controller for the FrameworkGui
. An interface between the Gui and Agent
implementing
the MVC pattern.
Method Summary | |
---|---|
java.lang.Object |
executeCommand(Command command)
Executes a command sent by the GUI |
java.lang.Object |
executeCommand(java.lang.String commandName,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Executes a command specified by the name. |
void |
registerAgent(Agent agent)
Sets the Agent this controller controls. |
Method Detail |
---|
java.lang.Object executeCommand(java.lang.String commandName, java.util.Map<java.lang.String,java.lang.Object> parameters)
commandName
- the name of the command, names must be defined in guiCommands.propertiesparameters
- a Map of optional parameters for the command.
java.lang.Object executeCommand(Command command)
command
- the command to execute.
void registerAgent(Agent agent)
Agent
this controller controls. This Agent
object represents the model.
agent
- Agent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |