samples
Class LaunchpadController

java.lang.Object
org.scopemvc.controller.basic.BasicController
samples.LaunchpadController
- All Implemented Interfaces:
- org.scopemvc.core.Controller
- public class LaunchpadController
- extends org.scopemvc.controller.basic.BasicController
- Version:
- $Revision: 1.4 $ $Date: 2002/01/26 09:49:24 $
|
Method Summary |
protected void |
doHandleControl(org.scopemvc.core.Control inControl)
Respond to LAUNCH and SELECT. |
protected void |
doLaunch()
On LAUNCH, fire off a new instance of the selected
example's Controller as a child of this. |
protected void |
doSelect()
On SELECT, get the view to load the appropriate HTML
into the viewer pane. |
void |
startup()
Call this after creating the Controller to make it perform
its initial action. |
| 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 |
LOG
private static final org.apache.commons.logging.Log LOG
LAUNCH
public static final java.lang.String LAUNCH
- A Control ID.
- See Also:
- Constant Field Values
SELECT
public static final java.lang.String SELECT
- A Control ID.
- See Also:
- Constant Field Values
QUIT
public static final java.lang.String QUIT
- A Control ID.
- See Also:
- Constant Field Values
LaunchpadController
public LaunchpadController()
doHandleControl
protected void doHandleControl(org.scopemvc.core.Control inControl)
throws org.scopemvc.core.ControlException
- Respond to LAUNCH and SELECT.
doLaunch
protected void doLaunch()
throws org.scopemvc.core.ControlException
- On LAUNCH, fire off a new instance of the selected
example's Controller as a child of this.
doSelect
protected void doSelect()
- On SELECT, get the view to load the appropriate HTML
into the viewer pane. (Note that the selection in the model is
automatically updated with the newly selected object).
startup
public void startup()
- Description copied from class:
org.scopemvc.controller.basic.BasicController
- Call this after creating the Controller to make it perform
its initial action. Default implementation here just calls
showView() if a View is set.