Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

samples
Class LaunchpadController  view LaunchpadController download LaunchpadController.java

java.lang.Object
  extended byorg.scopemvc.controller.basic.BasicController
      extended bysamples.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 $

Field Summary
static java.lang.String LAUNCH
          A Control ID.
private static org.apache.commons.logging.Log LOG
           
static java.lang.String QUIT
          A Control ID.
static java.lang.String SELECT
          A Control ID.
 
Fields inherited from class org.scopemvc.controller.basic.BasicController
CHANGE_MODEL_CONTROL_ID, EXIT_CONTROL_ID, HIDE_VIEW_CONTROL_ID
 
Constructor Summary
LaunchpadController()
           
 
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
 

Field Detail

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
Constructor Detail

LaunchpadController

public LaunchpadController()
Method Detail

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.