Framework for binding data viewers/data manipulation with one to many objects through introspection
First Claim
1. A framework for binding data viewers with one to many objects, comprising:
- a plurality of classes for associating and synchronizing GUI components and business object (BO) attributes, including;
an inspector class;
a selection class; and
a plurality of editor classes;
wherein;
the inspector class includes inspector methods and data structures that enable a set of GUI components to be bound to the attributes of a selection of at least one business object (BO);
the editor classes include editor methods and data structures that interact with the GUI components and an inspector class instance, each of the editor classes being configured to work with GUI components of a respective component type; and
the selection class includes selection methods and data structures that interact with the selection and the inspector class instance;
such that an instance of the selection class communicates events involving the selection to the inspector class instance, which responsively triggers instances of the editors to update the GUI components accordingly; and
the instances of the editor classes communicate events involving the GUI components to the inspector class instance, which responsively triggers the selection class instance to update the selection accordingly.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for programming applications with GUIs in accordance that do not require time-consuming and error-prone custom coding of GUI/internal variable synchronization routines, in general, and GUI/BO synchronization routines, in particular. An embodiment includes a plurality of classes for associating and synchronizing GUI components and BO attributes. The classes include: an inspector class, a selection class and a plurality of editor classes. The inspector class includes methods and data structures that enable a client application to bind a set of GUI components to the attributes of at least one business object. As a first step in associating and synchronizing GUI components and BO attributes a client application constructs an instance of the inspector class. The client application then passes the inspector instance a selection class instance that includes the business object(s) whose properties are to be synchronized with the GUI components. The client application also passes the inspector instance a mapping between BO attributes and GUI components. The present invention can be implemented in the Java™ programming language or any other object-oriented language. When the BOs are implemented as JavaBeans™ Objects, their properties are discovered using the JavaBeans™ property of introspection.
-
Citations
6 Claims
-
1. A framework for binding data viewers with one to many objects, comprising:
-
a plurality of classes for associating and synchronizing GUI components and business object (BO) attributes, including; an inspector class; a selection class; and a plurality of editor classes;
wherein;the inspector class includes inspector methods and data structures that enable a set of GUI components to be bound to the attributes of a selection of at least one business object (BO); the editor classes include editor methods and data structures that interact with the GUI components and an inspector class instance, each of the editor classes being configured to work with GUI components of a respective component type; and the selection class includes selection methods and data structures that interact with the selection and the inspector class instance; such that an instance of the selection class communicates events involving the selection to the inspector class instance, which responsively triggers instances of the editors to update the GUI components accordingly; and the instances of the editor classes communicate events involving the GUI components to the inspector class instance, which responsively triggers the selection class instance to update the selection accordingly. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification