A Controller which is responsible for application control between a model and multiple views is instantiated within the application. This controller also is responsible for the overhead of command line argument parsing and dispatching of application events.
Definition at line 34 of file AbstractApp.java.
Public Member Functions | |
AbstractApp (AbstractAppController controller) throws AppException | |
Creates a new AbstractApp object. | |
void | run () |
Starts the controller running. | |
String | toString () |
Returns a string representation of this object. | |
Protected Attributes | |
AbstractAppController | controller |
The controller object for this application. |
|
Creates a new AbstractApp object.
Definition at line 45 of file AbstractApp.java. References AbstractApp.controller. 00046 { 00047 if(controller == null){throw new AppException();} 00048 else{this.controller = controller;} 00049 }
|
|
Starts the controller running. This usually is the method that is used to start the application. Definition at line 55 of file AbstractApp.java. References AbstractApp.controller, and AbstractAppController.startController(). 00055 {controller.startController();}
|
|
Returns a string representation of this object.
Definition at line 62 of file AbstractApp.java. 00062 {return super.toString();}
|
|
The controller object for this application.
Definition at line 36 of file AbstractApp.java. Referenced by AbstractApp.AbstractApp(), and AbstractApp.run(). |