Automated binding for object oriented programming user interface components
First Claim
1. A method for automated binding of an application user interface to the data manipulated by the user interface, the method comprising:
- responsive to instantiating an application user interface, constructing a binder object for at least one component in the application user interface;
registering the binder object with a notification dispatcher as a data change and state change listener of the model for the moniker of the user interface component;
registering the binder with the user interface component as a listener for various events that the user interface component can generate;
synthesizing method names with the binder;
locating the methods in the model that match the synthesized method names; and
searching for and binding to an appropriate method that returns the current state of a field in the model.
4 Assignments
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for automated binding of an application user interface to the data that it manipulates in an object oriented programming system is provided. In one embodiment, responsive to instantiating an application user interface, a binder object is constructed for at least one component in the application user interface. The binder mediates the exchange of data between the component and the corresponding field in the model. The binder monitors the component for data change events and monitors the model for data change and state change events from the field. The binding is specified by a moniker that is shared by the component and the field. Using the moniker, the binder synthesizes method names to get and set the field value and retrieve the field'"'"'s state. The binder then locates and invokes, using introspection, the methods in the model that match the synthesized method names.
67 Citations
40 Claims
-
1. A method for automated binding of an application user interface to the data manipulated by the user interface, the method comprising:
-
responsive to instantiating an application user interface, constructing a binder object for at least one component in the application user interface;
registering the binder object with a notification dispatcher as a data change and state change listener of the model for the moniker of the user interface component;
registering the binder with the user interface component as a listener for various events that the user interface component can generate;
synthesizing method names with the binder;
locating the methods in the model that match the synthesized method names; and
searching for and binding to an appropriate method that returns the current state of a field in the model. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer program product in a computer readable media for use in a data processing system for automated binding of an application user interface to the data manipulated by the user interface, the computer program product comprising:
-
first instructions for, responsive to instantiating an application user interface, constructing a binder object for at least one component in the application user interface;
second instructions for registering the binder object with a notification dispatcher as a data change and state change listener of the model for the moniker of the user interface component;
third instructions for registering the binder with the user interface component as a listener for various events that the user interface component can generate;
fourth instructions for synthesizing method names with the binder;
fifth instructions for locating the methods in the model that match the synthesized method names; and
sixth instructions for searching for and binding to an appropriate method that returns the current state of a field in the model. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. A system for automated binding of an application user interface to the data manipulated by the user interface, the system comprising:
-
first means for, responsive to instantiating an application user interface, constructing a binder object for at least one component in the application user interface;
second means for registering the binder object with a notification dispatcher as a data change and state change listener of the model for the moniker of the user interface component;
third means for registering the binder with the user interface component as a listener for various events that the user interface component can generate;
fourth means for synthesizing method names with the binder;
fifth means for locating the methods in the model that match the synthesized method names; and
sixth means for searching for and binding to an appropriate method that returns the current state of a field in the model. - View Dependent Claims (30, 31, 32, 33, 34, 35, 36, 37, 38, 39)
-
-
40. An object oriented program structure for binding an application user interface with data manipulated by the user interface, the structure comprising:
-
a view comprising an application user interface object and at least one user interface component, wherein the user interface component comprises a moniker string that associates the user interface component with its data and event handlers;
a model object which manages program data and implements program rules for the object oriented program;
at least one binder object corresponding to the at least one user interface component object, wherein the binder object uses the user interface component'"'"'s moniker to connect the user interface component to data access methods in the model object and event handling methods in the view; and
a notification dispatcher that routes change notifications from the model to an appropriate binder object.
-
Specification