|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.gui.framework.SimpleAgentAppDemo aima.gui.applications.VacuumAppDemo
public class VacuumAppDemo
Simple graphical application for experiments with vacuum cleaner agents. It can be used as a template for creating other graphical agent applications.
Nested Class Summary | |
---|---|
protected static class |
VacuumAppDemo.VacuumController
Defines how to react on user button events. |
protected static class |
VacuumAppDemo.VacuumFrame
Adds some selectors to the base class and adjusts its size. |
protected static class |
VacuumAppDemo.VacuumModel
Provides access to the used environment, the names of the locations (squares) maintained by the environment, and the current state of all locations. |
protected static class |
VacuumAppDemo.VacuumView
Displays the informations provided by the VacuumModel
on a panel using 2D-graphics. |
Constructor Summary | |
---|---|
VacuumAppDemo()
|
Method Summary | |
---|---|
AgentAppController |
createController()
Returns a VacuumController . |
AgentAppFrame |
createFrame()
Returns a VacuumFrame . |
AgentAppModel |
createModel()
Returns a VacuumModel . |
static void |
main(java.lang.String[] args)
Starts the application. |
Methods inherited from class aima.gui.framework.SimpleAgentAppDemo |
---|
startApplication |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VacuumAppDemo()
Method Detail |
---|
public AgentAppModel createModel()
VacuumModel
.
createModel
in class SimpleAgentAppDemo
public AgentAppFrame createFrame()
VacuumFrame
.
createFrame
in class SimpleAgentAppDemo
public AgentAppController createController()
VacuumController
.
createController
in class SimpleAgentAppDemo
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |