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

Quick Search    Search Deep

org.scopemvc.core
Interface View  view View download View.java

All Known Subinterfaces:
PropertyView

public interface View

A View implements the presentation of a model object to the user and allows interaction with the model object. Implementations can be bound to a model and change the state of the model as the user interacts with the View. If the View implements ModelChangeListener then it can also update in response to changes in the state of bound models that implement ModelChangeEventSource. A View can also issue Controls to its parent Controller in response to user interaction that influences with application logic.

A View is bound to a single model object, i.e. it presents some or all of the data in the bound model.

If a View needs to show data from multiple models, it will be bound to a parent model that contains those multiple models as accessible properties. Think of this parent container as an implementation view model rather than a business/domain model.

A View is created and displayed by a parent Controller the implements application/presentation logic.

Version:
$Revision: 1.2 $ $Date: 2002/01/12 09:35:40 $

Method Summary
 java.lang.Object getBoundModel()
           
 Controller getController()
           
 void issueControl(Control inControl)
          Issue a Control to the View's parent (owner) Controller.
 void setBoundModel(java.lang.Object inModel)
           
 void setController(Controller inController)
           
 

Method Detail

getBoundModel

public java.lang.Object getBoundModel()

setBoundModel

public void setBoundModel(java.lang.Object inModel)

getController

public Controller getController()

setController

public void setController(Controller inController)

issueControl

public void issueControl(Control inControl)
Issue a Control to the View's parent (owner) Controller.