Home Segments Top Top Previous Next

933: Mainline

Now, if you should press enter in a text field or click on a button, apparatus in the form view calls a form setter, such as setValue1, as described in Segment 926.

Then, the setter initiates the call sequence that includes property-change firing and listening, as illustrated by a call to the setValue1 setter:

A movie model           The property change listener    The form view 
   
                                                        setValue1 
                                                          | 
                                                          *--> setText  
                                                          | 
                                                          v 
                                                    firePropertyChange 
                                                          | 
                          *-------------------------------* 
                          | 
                          v 
                        propertyChange 
                          | 
                          *----------------------------> getValue1 
                          | 
setScript <---------------*