|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.gui.framework.AgentAppController aima.gui.applications.VacuumAppDemo.VacuumController
protected static class VacuumAppDemo.VacuumController
Defines how to react on user button events.
Field Summary |
---|
Fields inherited from class aima.gui.framework.AgentAppController |
---|
frame, model |
Constructor Summary | |
---|---|
protected |
VacuumAppDemo.VacuumController()
|
Method Summary | |
---|---|
void |
clearAgent()
Does nothing. |
void |
prepareAgent()
Creates a vacuum agent and a corresponding environment based on the selection state of the selectors and finally updates the model. |
void |
runAgent()
Starts the agent and afterwards updates the status of the frame. |
Methods inherited from class aima.gui.framework.AgentAppController |
---|
setFrame, setModel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected VacuumAppDemo.VacuumController()
Method Detail |
---|
public void clearAgent()
clearAgent
in interface AgentAppFrame.Controller
clearAgent
in class AgentAppController
public void prepareAgent()
prepareAgent
in interface AgentAppFrame.Controller
prepareAgent
in class AgentAppController
public void runAgent()
runAgent
in interface AgentAppFrame.Controller
runAgent
in class AgentAppController
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |