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

Quick Search    Search Deep

org.scopemvc.controller.basic: Javadoc index of package org.scopemvc.controller.basic.


Package Samples:

org.scopemvc.controller.basic

Classes:

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. Note that the PropertyView that a top-level Controller owns must not have a Selector set: this is only allowed for child Controllers that are delegated by a parent to handle a subview and associated submodel that is part of the parent model: the binding will be handled by the parent in this case. ControlException handling by using ViewContext.showError(java.lang.String, ...
ViewContext: ViewContext handles show/hide of views, errors and has some concept of the application's context. eg a Swing implementation would show views inside JFrames or JDialogs and show errors using JOptionPanes. A servlet implementation would know about the HTTP response and push views into its stream. There's a place in here to store properties per context. This is used in the servlet implementation to maintain state over a single request. Several static methods are used to set the context for an application either on a global basis (eg Swing) or per-thread (eg servlet): see getViewContext() 55 etc.

Home | Contact Us | Privacy Policy | Terms of Service