|
|||||||||
| Home >> All >> org >> scopemvc >> controller >> [ basic overview ] | PREV NEXT | ||||||||
A
- addChild(BasicController) - Method in class org.scopemvc.controller.basic.BasicController
- addProperty(String, Object) - Method in class org.scopemvc.controller.basic.ViewContext
- Store an arbitrary object under a known key.
B
- BasicController - class org.scopemvc.controller.basic.BasicController.
- Full implementation of Controller that adds: support for a View to notify its parent Controller when its bound model object is replaced with another (implemented completely in SwingView) via the CHANGE_MODEL_CONTROL_ID ControlID.
- BasicController() - Constructor for class org.scopemvc.controller.basic.BasicController
- Construct subclasses by either using a passed model object and View, or creating new ones.
- bindModelToView(View, Object) - Method in class org.scopemvc.controller.basic.BasicController
C
- CHANGE_MODEL_CONTROL_ID - Static variable in class org.scopemvc.controller.basic.BasicController
- An internal Control calls changeModel().
- changeModel(Object) - Method in class org.scopemvc.controller.basic.BasicController
- Respond to CHANGE_MODEL_CONTROL_ID to keep the controller's model in sync with the currently shown model if it is changed as a submodel of a model managed by a parent controller.
- children - Variable in class org.scopemvc.controller.basic.BasicController
- clearProperties() - Method in class org.scopemvc.controller.basic.ViewContext
- Clear all properties from this context.
- clearThreadContext() - Static method in class org.scopemvc.controller.basic.ViewContext
- Clear the ViewContext for the current thread.
D
- doHandleControl(Control) - Method in class org.scopemvc.controller.basic.BasicController
- Override this to recognise Controls that this Controller can handle.
E
- EXIT_CONTROL_ID - Static variable in class org.scopemvc.controller.basic.BasicController
- A convenience Control that can be used when a Controller wants to exit.
- exit() - Method in class org.scopemvc.controller.basic.ViewContext
G
- getChildren() - Method in class org.scopemvc.controller.basic.BasicController
- This supports ScopeServlet.
- getModel() - Method in class org.scopemvc.controller.basic.BasicController
- getParent() - Method in class org.scopemvc.controller.basic.BasicController
- getProperty(String) - Method in class org.scopemvc.controller.basic.ViewContext
- Fetch an arbitrary object under a known key.
- getTopParent() - Method in class org.scopemvc.controller.basic.BasicController
- Convenience method.
- getView() - Method in class org.scopemvc.controller.basic.BasicController
- getViewContext() - Static method in class org.scopemvc.controller.basic.ViewContext
- Return the current ViewContext.
- globalContext - Static variable in class org.scopemvc.controller.basic.ViewContext
H
- HIDE_VIEW_CONTROL_ID - Static variable in class org.scopemvc.controller.basic.BasicController
- ID of common Control that is handled by BasicController to hide the current view.
- handleControl(Control) - Method in class org.scopemvc.controller.basic.BasicController
- Application writers see
doHandleControl(org.scopemvc.core.Control)55 . - handleControlException(ControlException) - Method in class org.scopemvc.controller.basic.BasicController
- Called by
handleControl(org.scopemvc.core.Control)55 when a Control throws a ControlException. - hideView() - Method in class org.scopemvc.controller.basic.BasicController
- hideView(View) - Method in class org.scopemvc.controller.basic.BasicController
- hideView(View) - Method in class org.scopemvc.controller.basic.ViewContext
L
- LOG - Static variable in class org.scopemvc.controller.basic.BasicController
- LOG - Static variable in class org.scopemvc.controller.basic.ViewContext
M
- model - Variable in class org.scopemvc.controller.basic.BasicController
O
- org.scopemvc.controller.basic - package org.scopemvc.controller.basic
P
- parent - Variable in class org.scopemvc.controller.basic.BasicController
- passControlToParent(Control) - Method in class org.scopemvc.controller.basic.BasicController
- Feed a Control to the parent Controller up the chain of command.
- properties - Variable in class org.scopemvc.controller.basic.ViewContext
R
- removeChild(BasicController) - Method in class org.scopemvc.controller.basic.BasicController
- removeProperty(String) - Method in class org.scopemvc.controller.basic.ViewContext
- Fetch and remove an arbitrary object under a known key.
S
- setGlobalContext(ViewContext) - Static method in class org.scopemvc.controller.basic.ViewContext
- Set the global ViewContext, clearing any per-thread contexts.
- setModel(Object) - Method in class org.scopemvc.controller.basic.BasicController
- Sets the model object that this Controller links to its View.
- setModelAndView(Object, View) - Method in class org.scopemvc.controller.basic.BasicController
- Change to both a new model object and new View, binding the two together properly.
- setParent(BasicController) - Method in class org.scopemvc.controller.basic.BasicController
- Hook this Controller into the chain of responsiblity as a child of the passed Controller.
- setThreadContext(ViewContext) - Static method in class org.scopemvc.controller.basic.ViewContext
- Set a ViewContext for the current thread and clear any global ViewContext that may exist.
- setView(View) - Method in class org.scopemvc.controller.basic.BasicController
- Sets the View that this Controller links to its model object.
- showError(String, String) - Method in class org.scopemvc.controller.basic.BasicController
- Convenience to show an error using the current ViewContext.
- showError(String, String) - Method in class org.scopemvc.controller.basic.ViewContext
- showView() - Method in class org.scopemvc.controller.basic.BasicController
- showView(View) - Method in class org.scopemvc.controller.basic.BasicController
- showView(View) - Method in class org.scopemvc.controller.basic.ViewContext
- shutdown() - Method in class org.scopemvc.controller.basic.BasicController
- Can be called by a parent to shutdown and remove this from the chain of responsibility.
- startProgress() - Method in class org.scopemvc.controller.basic.ViewContext
- startup() - Method in class org.scopemvc.controller.basic.BasicController
- Call this after creating the Controller to make it perform its initial action.
- stopProgress() - Method in class org.scopemvc.controller.basic.ViewContext
T
- threadContexts - Static variable in class org.scopemvc.controller.basic.ViewContext
V
- ViewContext - class org.scopemvc.controller.basic.ViewContext.
- ViewContext handles show/hide of views, errors and has some concept of the application's context.
- ViewContext() - Constructor for class org.scopemvc.controller.basic.ViewContext
- view - Variable in class org.scopemvc.controller.basic.BasicController
A B C D E G H L M O P R S T V
|
|||||||||
| Home >> All >> org >> scopemvc >> controller >> [ basic overview ] | PREV NEXT | ||||||||