Method and apparatus for generating object oriented user interfaces
First Claim
Patent Images
1. A method for generating a plurality of object oriented user interfaces for use in an object oriented program, the steps comprising:
- reading a parameter structure containing commands identifying each user interface, each user interface including a plurality of user interface components, and each user interface being associated with a respective language;
generating a language class for each user interface based on the commands in the parameter structure, each language class containing methods and data for creating the user interface components of the respective user interface;
providing a decision class operative to instantiate one of the language classes as a function of a selected language;
determining the selected language;
instantiating, in the object oriented program, a first object from a derived class which inherits from the decision class;
instantiating a second object from one of the language classes as a function of the selected language; and
displaying the user interface associated with the selected language.
7 Assignments
0 Petitions
Accused Products
Abstract
A user interface generator for developing object oriented user interfaces. The user interface generator creates separate class files containing user interfaces suitable for use in different languages. The interfaces can be easily implemented in an object oriented application program through inheritance. The invention allows the rapid generation of complex user interfaces to minimize costs associated with internationalization of software.
125 Citations
20 Claims
-
1. A method for generating a plurality of object oriented user interfaces for use in an object oriented program, the steps comprising:
-
reading a parameter structure containing commands identifying each user interface, each user interface including a plurality of user interface components, and each user interface being associated with a respective language; generating a language class for each user interface based on the commands in the parameter structure, each language class containing methods and data for creating the user interface components of the respective user interface; providing a decision class operative to instantiate one of the language classes as a function of a selected language; determining the selected language; instantiating, in the object oriented program, a first object from a derived class which inherits from the decision class; instantiating a second object from one of the language classes as a function of the selected language; and displaying the user interface associated with the selected language. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for creating first and second object oriented user interfaces for use in an object oriented program, the steps comprising:
-
reading a parameter file containing data specifying user interface components for each of the first and second user interfaces, the data including textual labels, the textual labels in the first user interface being in a first language and the textual labels in the second user interface being in a second language; generating a first user interface class portion being operative to generate the first user interface with components having textual labels in the first language, and generating a second user interface class portion being operative to generate the second user interface with components having textual labels in the second language; and providing a selection class operative to dynamically instantiate as a function of a specified language a first object from one of the first and second interface class portions, the selection class being inheritable by the object oriented program. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A system for generating object oriented user interfaces, comprising:
-
a structure containing records defining a first and a second user interface, each user interface having user interface components with textual labels, the textual labels in the first user interface being in a first language and the textual labels in the second user interface being in a second language; a parser for parsing the command structure and being operative to generate first and second language class portions, the first language class portion being operative to create the first user interface and the second language class portion being operative to create the second user interface; a selection class generated by the parser including methods and data for selecting and instantiating a user interface object from one of the first and second language class portions as a function of a user-selected language, wherein the selection class is operative to be inherited by a class in an application program. - View Dependent Claims (19, 20)
-
Specification