artoflife pre0.1.0-dev

org.artoflife.app
Class AppController

java.lang.Object
  |
  +--org.scopemvc.controller.basic.BasicController
        |
        +--org.artoflife.app.AppController
All Implemented Interfaces:
org.scopemvc.core.Controller

public class AppController
extends org.scopemvc.controller.basic.BasicController

Root controller creates application, manages child Controllers and handles some common Controls such as saving individuals as images and thumbnails, which are used by all the child Controllers.

Author:
Steve Meyfroidt
To do:
save state to prefs on exit

Field Summary
 
Fields inherited from class org.scopemvc.controller.basic.BasicController
CHANGE_MODEL_CONTROL_ID, EXIT_CONTROL_ID, HANDLE_CONTROL_RUNTIME_ERROR_MSG_ID, HIDE_VIEW_CONTROL_ID
 
Constructor Summary
AppController()
          Create as a parent with child generator, mutator, inspector, nursery.
 
Method Summary
protected  void doHandleControl(org.scopemvc.core.Control inControl)
           
 void startup()
          Override because this doesn't act like a normal Scope startup: this Controller must be started using a START_APP Control.
 
Methods inherited from class org.scopemvc.controller.basic.BasicController
addChild, bindModelToView, getChildren, getModel, getParent, getTopParent, getView, handleControl, handleControlException, hideView, hideView, passControlToParent, removeChild, setModel, setModelAndView, setParent, setView, showError, showView, showView, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppController

public AppController()
Create as a parent with child generator, mutator, inspector, nursery.

Method Detail

doHandleControl

protected void doHandleControl(org.scopemvc.core.Control inControl)
                        throws org.scopemvc.core.ControlException
Overrides:
doHandleControl in class org.scopemvc.controller.basic.BasicController
org.scopemvc.core.ControlException
See Also:
BasicController.doHandleControl(Control)

startup

public void startup()
Override because this doesn't act like a normal Scope startup: this Controller must be started using a START_APP Control.

Overrides:
startup in class org.scopemvc.controller.basic.BasicController
See Also:
BasicController.startup()
To do:
so why not do that here?

artoflife pre0.1.0-dev

Copyright © 2002 the Art Of Life team. All Rights Reserved.