US20110302514A1 - Method for designing a graphical interface program - Google Patents

Method for designing a graphical interface program Download PDF

Info

Publication number
US20110302514A1
US20110302514A1 US13/206,737 US201113206737A US2011302514A1 US 20110302514 A1 US20110302514 A1 US 20110302514A1 US 201113206737 A US201113206737 A US 201113206737A US 2011302514 A1 US2011302514 A1 US 2011302514A1
Authority
US
United States
Prior art keywords
formulas
graphical interface
properties
property
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US13/206,737
Inventor
Philippe Rinaudo
Eric Grange
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Creative Information Tech
Original Assignee
Creative Information Tech
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US12/046,304 external-priority patent/US20090235188A1/en
Application filed by Creative Information Tech filed Critical Creative Information Tech
Priority to US13/206,737 priority Critical patent/US20110302514A1/en
Assigned to CREATIVE INFORMATION TECHNOLOGY reassignment CREATIVE INFORMATION TECHNOLOGY ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: GRANGE, ERIC, RINAUDO, PHILIPPE
Publication of US20110302514A1 publication Critical patent/US20110302514A1/en
Priority to US14/529,298 priority patent/US10545734B2/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Definitions

  • the present invention relates to a method for designing a graphical interface program.
  • GUI graphical user interface
  • graphical interface design programs give a designer the possibility of designing a graphical interface by selecting graphics and/or interactive elements in a tool library. These elements correspond, for example, to check boxes, pull-down menus, boxes corresponding to work areas for entering data through a keyboard, etc. Properties associated with each element are selected by the designer. For example, a property of a check box is the fact that the box is checked or unchecked. A property of a data entry box is the value of data entered therein. Another property of a data entry box is the fact that data entry in the box is allowed (the box is said to be enabled) or that no data entry in the box is allowed (the box is said to be disabled).
  • an event program is a program including a sequence of instructions that, when the property of an element has been changed, modifies the value of another property of the same element or the property of another element of the graphical interface.
  • the event programs are commonly written by the designer using a programming language such as the visual basic. JAVA or a scripting language like JavaScript. Once the event programs are written, they can be converted into a computer executable form by a compiler. A graphical interface program is then obtained. When the graphical interface program is executed by a user on a computer, a graphical interface is displayed as configured by the designer. When the user enters new data, checks boxes, etc., properties of the elements of the graphical interface are modified according to the event programs associated with the graphical interface.
  • Such a method for designing a graphical interface has several drawbacks.
  • the designer is required to have enough knowledge of the programming language accepted by the graphical interface design program.
  • the designer must think of all the event programs he wants to associate with the graphical interface since the graphical interface design program generally provides no help during the writing of the event programs.
  • it is up to the designer to search for the inconsistencies in event programs.
  • An inconsistency corresponds, for example, to a never-ending loop which would occur when the graphical interface program is executed.
  • the compiler generally only provides a check of the syntax of the event programs but does not provide a complete check of a good execution of the event programs for all the possible values of the properties of the elements of the graphical interface.
  • a computer implemented method of generating a graphical interface program comprising receiving and displaying a selection of elements or components among a plurality of graphical and/or data entry elements/components, each element/component having at least a property among a plurality of graphical and/or activation and/or content properties; receiving and displaying formulas, each formula being a referentially transparent expression linking at least two properties of one element or several elements of said selection; and determining from said selection of elements and said formulas a separate graphical interface program, the execution of said separate graphical interface program resulting in the display of said selection of elements, the properties of which are linked by said formulas, any input of a user modifying an element with linked properties resulting in a re-evaluation of the formula and a possible update of the display of the linked element.
  • the components can be placed in layers, the properties of which can be defined by formulas as the component properties.
  • the layers can be partially transparent in order for the user to see components from multiple layers.
  • a program defined with the components can be recursively used as a component itself, the properties of which will be defined by formulas referencing components properties or any data available.
  • the method further comprises the steps of checking the formulas for inconsistencies, in particular circular references, before the determination of said separate graphical interface program and of displaying an alert message when at least one inconsistency is determined.
  • the method further comprises the step of displaying an alert message when none of said formulas includes a first property among the plurality of graphics and/or activation and/or content properties.
  • the method further comprises the step of displaying an alert message when a second property included in the formulas remains unchanged when the other properties of the formulas are modified.
  • At least one property of the at least two properties of said at least one formula is representative of whether or not, during the execution of said graphical interface program, the element associated with said at least one property is allowed to be activated.
  • At least one property of the at least two properties of said at least one formula is representative of whether or not, during the execution of said graphical interface program, the element associated with said at least one property was used.
  • At least one property of the at least two properties of said at least one formula is representative of whether or not, during the execution of said graphical interface program, the element associated with said at least one property is displayed.
  • a general purpose data processor operating under the control of a stored program containing a set of instructions that, when executed, control the data processor to perform the following functions: receiving and displaying a selection of elements among a plurality of graphical and/or data entry elements, each element having at least a property among a plurality of graphical and/or activation and/or content properties; receiving and displaying formulas, each formula linking at least two properties of one element or several elements of said selection; determining from said selection of elements and said formulas a separate graphical interface program, the execution of said separate graphical interface program resulting in the display of said selection of elements, the properties of which are linked by said formulas, any change in the linked properties resulting in a re-evaluation of the formula.
  • the general purpose data processor operates under the control of the stored program containing a set of instructions that, when executed, control the data processor to check the formulas for inconsistencies before the determination of said separate graphical interface program and of displaying an alert message when at least one inconsistency is determined.
  • the general purpose data processor operates under the control of the stored program containing a set of instructions that, when executed, control the data processor to display an alert message when none of said formulas includes a specific property among the plurality of graphical and/or activation and/or content properties.
  • FIG. 1 is a flow chart showing an exemplary method for designing a graphical interface program in event programming
  • FIG. 2 is a display of an exemplary graphical interface
  • FIG. 3 is a display of exemplary event programs associated with the graphical interface of FIG. 2 ;
  • FIG. 4 is a simplified block diagram showing the interactions between a computer and a graphical interface design program during the design of a graphical interface program
  • FIG. 5 is a flow chart showing a method for designing a graphical interface program according to an embodiment of this invention.
  • FIG. 6 is a display of exemplary formulas associated with the graphical interface of FIG. 2 and provided during the design of the graphical interface program according to one embodiment of the present invention
  • FIG. 7 illustrates an application example of activating a component
  • FIG. 8 illustrates another application example of activating components on multiple layers.
  • a source program is a computer program containing a sequence of statements and/or declarations written in some human-readable computer programming language.
  • a compiler is a computer program (or set of programs) that translates text written in a first computer language into a second computer language.
  • An interpreter is a computer program that executes, i.e. performs, instructions written in a programming language.
  • An interpreter may be a program that either executes a source code program directly, or translates a source code program into some efficient intermediate code program and immediately executes this or is invoked to explicitly execute a stored precompiled program made by a compiler which is part of the interpreter system.
  • a virtual machine is a kind of interpreter. It is a software implementation of a machine (computer) that executes programs in the same way as a real machine. For example, the set of computer software programs called Java Virtual Machine is a virtual machine.
  • An intermediate code program is a binary representation of an executable program designed to be executed by an interpreter or a virtual machine or to be further compiled into a computer executable form.
  • An example of an intermediate code is Java Bytecode.
  • a program in Java Bytecode can be executed by the interpreter Java Virtual Machine.
  • An object program, or program in object code is a computer program that is a representation of a source program in a computer executable form.
  • an object program can only contain machine code, which is code directly executed by the processor of a computer.
  • a scripting language, script language or extension language is a programming language that controls a software application.
  • a “Script” is a sequence of instructions in a scripting language.
  • a script cannot be executed independently from any other application. It is usually distinct from the core code of the associated application, which can be written in a different language.
  • a script is usually accessible to a user and enables the behavior of the application to be adapted to the user's needs.
  • a script can be directly interpreted or can be compiled to an intermediate code program which is interpreted.
  • JavaScript is a scripting language.
  • a JavaScript engine is an interpreter that can interpret a JavaScript source code program.
  • a Web browser usually includes a JavaScript engine.
  • a graphical interface program is a program that, when executed on a computer, displays a graphical interface through which a user can make operations such as entering data, checking boxes, selecting items in pull-down menus, activating buttons, etc.
  • the graphical interface can be used as a data entry tool, as a command interface of a numerically controlled machine, etc.
  • a graphical interface design program is a program that, when executed on a computer, provides to a designer tools to design a graphical interface program.
  • An element of a graphical interface is a graphical and/or interactive elementary part of the graphical interface. Examples of elements of a graphical interface are:
  • a property of an element is a graphical and/or activation and/or content feature or attribute of the element whose value can be set by the designer during the design of the graphical interface program and/or can be modified by a user during the execution of the graphical interface program. Most of the properties can be associated with several elements. Examples of such properties are:
  • An activation of an element corresponds for example to the check of a box, to the writing in a data entry area, to the selection of an item in a pull-down menu, to the activation of a button, etc.
  • this property is called property “Checked” and can correspond to a one-bit signal set to “1” when a user has checked the box and set to “0” when the user has not;
  • this property is called property “Enabled” and can correspond to a one-bit signal set to “1” when a user is allowed to activate the element and set to “0” when a user is not;
  • properties for the element “main window” are, for example, the dimensions of the main window and the background color and texture of the main window.
  • Further properties for the element “pull-down menu” are, for example, the number of items of the pull-down menu and the content of each item of the pull-down menu.
  • Further properties for the element “data entry box” are, for example, the form and dimensions of the data entry box and the content of the data entry box. In the following description, this property will be called property “Value”.
  • a further property for the element “button” is, for example, the fact that the button has or has not been activated by the user.
  • Referential transparency is a property of parts of computer programs. An expression is said to be referentially transparent if it can be replaced with its value without changing the program (in other words, yielding a program that has the same effects and output given the same input).
  • Imperative programming is a programming paradigm that describes computation in terms of statements that change a program state.
  • imperative mood in natural languages, expresses commands to take action, imperative programs define sequences of commands for the computer to perform.
  • Functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions, in contrast to the imperative programming style, which emphasizes changes in the state.
  • a spreadsheet is a computer application that simulates a paper, accounting worksheet. It displays multiple cells usually in a two-dimensional matrix or grid comprising rows and columns. Each cell contains alphanumeric text, numeric values or formulas. A formula defines how the content of that cell is to be calculated from the contents of any other cell (or combination of cells) each time any cell is updated.
  • a formula is an equation linking the value of a property of an element to the value of one or several properties of one or several elements.
  • a formula can contain mathematical and/or logic operands linking the properties and can be written in a symbolic language.
  • the formula in the present invention are referentially transparent, as in spreadsheets or functional languages.
  • a computer algebra system is a software program that facilitates symbolic mathematics.
  • the core functionality of a CAS is manipulation of mathematical expressions in symbolic form, such as a formula.
  • the computer program called Mathematica, sold by Wolfram Research, supports a computer algebra system.
  • FIG. 1 is a flow chart showing a common method for designing a graphical interface program.
  • FIG. 2 shows an example of a graphical interface and
  • FIG. 3 shows an example of event programs.
  • the graphical interface design program is launched on a computer.
  • the program displays on the screen of the computer to the designer a library comprising the available elements.
  • the designer can select the elements according to the graphical interface he wishes to design.
  • a main window 14 the name of which 16 has the content “Data Entry Form”, four check boxes 18 A, 18 B, 18 C and 18 D, including two round boxes and two square boxes, the names of which have the contents “Choix 1 ”, “Choix 2 ”, “Option 1 ” and “Option 2 ”, a pull-down menu 20 , the name of which has the content “Selection”, four data entry areas 22 A, 22 B, 22 C, 22 D, the names of which have the contents “Text 1 ”, “EditOption 1 ”, “EditOption 2 ” and “Amount” and two buttons 24 A, 24 B, the names of which have the contents “Validate” and “Cancel”.
  • the designer sets, at that time, initial values of some properties of the elements.
  • the designer has set the dimensions and background color of main window 14 and the positions and contents of the names of the elements.
  • the method continues at step 12 .
  • Second program 26 B is called when the user modifies the value of the property “Checked” of the element “Option 1 ”. It sets to “1” the property “Enabled” of the element “EditOption 1 ” only if the properties “Checked” of the elements “Option 1 ” and “Choix 1 ” are both set to “1”.
  • Third program 26 C modifies the property “Text” of the element “Amount” according to the properties “Value” of the enabled element “EditOption 1 ” or “EditOption 2 ”. The method continues at step 28 .
  • a compilation of the event programs and the general program of the graphical interface is made to provide a graphical interface program in a programming language which is more adapted to be interpreted or executed.
  • the graphical interface program can be in a source code, such as Java, a scripting language, an intermediate code or an object code.
  • an embodiment of the present invention provides the use of formulas linking properties of the elements of the graphical interface.
  • formulas facilitates the work of the designer. Indeed, the inconsistencies of a set of formulas can easily be checked by a computer algebra system.
  • the computer algebra system can give indications to the designer to improve the writing of the formulas.
  • a general purpose computer 30 comprises input means, such as a keyboard, a mouse, etc, and display means such as a screen.
  • a graphical interface program is designed through the execution of a graphical interface design program 32 .
  • the graphical interface design program 32 can be a program stored on computer 30 .
  • graphical interface design program 32 can also be executed on another computer linked to computer 30 through a network, for example the Internet.
  • a graphical interface source program is obtained including configuration parameters of the graphical interface and the associated formulas.
  • the graphical interface design program 32 includes a computer algebra system and a compiler, which acts on the source program to produce a program 34 in a source code, such as Java, a scripting language, an intermediate code or an object code.
  • a source code such as Java, a scripting language, an intermediate code or an object code.
  • the program 34 can be left in a storage area on the same computer on which the graphical interface design program 32 has been executed or can be sent to another computer on which it is to be executed.
  • program 34 can be written in JavaScript. Then, the program 34 can be interpreted by a web browser or any JavaScript engine.
  • FIG. 5 is a flow chart showing a method for designing a graphical interface program according to one embodiment of the present invention.
  • FIG. 6 shows an example of formulas determined by a designer during the execution of one embodiment of the graphical interface design program 32 .
  • the graphical interface design program is launched.
  • the program displays to the designer a library comprising the available elements.
  • the designer can select the elements according to the graphical interface he wishes to design in the same way as explained for step 10 of the previously described method in relation to FIG. 1 .
  • the graphical interface shown on FIG. 2 can be defined at step 40 .
  • the designer can also define relations between the graphical interface and other programs. For example, when the graphical interface is used to command a numerically controlled machine, the designer can link the execution of instructions dedicated to the command of the machine to the activation of a specific button of the graphical interface.
  • the graphical interface design program opens a window 43 wherein the designer can enter the formulas he wants to incorporate to the graphical interface program.
  • Each formula comprises a first field, labelled “A”, corresponding to a property of an element of the graphical interface and a second field, labelled “B”, corresponding to another property of the same element or a property of another element or a mathematical and/or logic operation applied on other properties of the same element and/or properties of other elements.
  • the formula can be understood as forcing, at any time, the value of the property in the first field of the formula to be equal to the value resulting from the operation made in the second field.
  • Formula 44 A forces the value of the property “Enabled” of the element “Option 1 ” to be equal, at any time, to the value of the property “Checked” of the element “Choix 2 ”.
  • Formula 44 B forces the value of the property “Enabled” of the element “Option 2 ” to be equal, at any time, to the value of the property “Checked” of the element “Choix 2 ”.
  • Formula 44 C forces the value of the property “Enabled” of the element “EditOption 1 ” to be equal, at any time, to the logic sum (logic operand AND) of the values of the property “Checked” of the elements “Option 1 ” and “Choix 2 ”.
  • Formula 44 D forces the value of the property “Enabled” of the element “EditOption 2 ” to be equal, at any time, to the logic sum (logic operand AND) of the values of the property “Checked” of the elements “Option 2 ” and “Choix 2 ”.
  • Formula 44 E forces the value of the property “Text” of the element “Amount” to be equal, at any time, to the sum of the property “Value” of the element “EditOption 1 ” (if the property
  • the components can be placed in layers, properties of which can be defined by formulas as the components' property.
  • the layers can be partially transparent in order for the user to see components from multiple layers in the same screen.
  • the formulas can be written completely by the designer through input means such as a keyboard. However, a semi-automatic way of defining the formulas can be used. For example, the designer could use a pointer controlled by a mouse, a touch pad, etc., to select an element of the displayed graphical interface. The graphical interface design program then displays the properties associated with the selected element and the designer can select the desired property. The mathematical and logic operands can be displayed in a library so that a selection of the operands can also be made using a pointer.
  • an analysis of the formulas is executed by the computer algebra system of the graphical interface design program.
  • Such an analysis includes a check for any inconsistencies in the formulas.
  • the computer algebra system also indicates to the designer if a specific property of an element of the graphical interface is not used in the formulas. For example, the designer, when selecting the element in the library of the graphical interface design program, can select the property or properties of this element for which a presence check should be made by the computer algebra system.
  • the element properties for which a presence check in formulas is made by the computer algebra system can be preset.
  • the computer algebra system can also indicate to the designer a property which is used in the formulas, but the value of which never changes when the other properties used in the formulas are modified.
  • the graphical interface design program can indicate to the designer the properties for which an anomaly has been detected. The designer can then modify the formulas to correct the anomaly or instruct the graphical interface design program to disregard the anomaly.
  • the computer algebra system of the graphical interface design according to embodiments of the present invention can advantageously have a simpler structure since it is not required to offer as many functions as a general computer algebra system does.
  • the method continues at step 48 .
  • a compilation of the source program of the graphical interface program is made to provide a graphical interface program in a source code, such as Java, a scripting language, an intermediate code or an object code.
  • FIG. 7 illustrates an application example of the disclosed embodiment for activating components.
  • This figure represents a display layer 50 with visible elements 51 c 1 and 51 c 2 (check boxes), 51 t (text boxes), 51 s (selector), 51 b 1 and 51 b 2 (buttons) having properties (legends “checkbox 1 ”, “Text”, “checkbox 2 ”, “Selector”, “ok”, “cancel”).
  • the activation states of textbox 1 and checkbox 2 change (formulas 71 and 72 ), as well as the activation state of the OK button (formula 75 ).
  • the application uses that fact that selector 1 is active only if checkbox 2 is ticked (formula 73 ), and that InputValid 2 is true only if checkbox 2 is active (ticked) and selector 1 is not empty. As long as checkbox 2 is not ticked, inputValid 1 does not change (formulas 75 and 76 ). Further, checkbox 2 is active only if checkbox 1 is not ticked (formula 72 ). Hence, inputValid 1 will not change as long as checlbox 1 stays ticked.
  • the formulas are used in error detection.
  • selector 1 .enabled checkbox 1 .checked and checkbox 2 .enabled.
  • FIG. 8 illustrates an example of an application in a multilayer display.
  • Formulas are used to define the location in the screen and/or the content of the layers (for example Layer 1 , LayerN, LayerA, LayerB.
  • LayerA contains input boxes 52
  • LayerB contains boxes 53
  • layer 1 contains selection buttons 54 .
  • Several implicit formulas determine the positions and visibility of the layers.
  • formulas can be used to define invariants.
  • formula 81 indicates that coordinates in the screen of the left corner at the top of layer A should be the same as those of the left corner at the bottom of Layer 1 .
  • An implementation would use this formula only if one of the Layers 1 , A, and B is moved (formulas 81 and 82 ).
  • elements of layer 1 are also used to control the visibility of layers A and B.
  • the property of the buttons 54 is that only one of the buttons can be active (the buttons are mutually exclusive). Layers A and B can then not be simultaneously visible. If buttons 54 are replaced by check boxes, the conflict would be highlighted to the user.
  • FIG. 8 also illustrates an optimization according to which one takes benefit of the fact that, if layer A is not visible (i.e. if RadioButton 1 is not active), by transitivity of the formulas, the input boxes as well as the result of Caption 1 would then not be computed.
  • the formulas are displayed only during the conception. Then, the graphical interface program is obtained by compilation. The graphical interface program is determined (compiled) from said selection of elements and said formulas. It should be noted that the formulas are always verified during the execution of the interface program. In other words, the program ensures that the formulas are always respected during the execution. Any input of the user modifying an element with linked properties resulting in a re-evaluation of the formula and a possible update of the display of the linked element.
  • the previously described embodiment of the present invention advantageously allows the designer to avoid writing event programs.
  • the writing of sets of instructions from the formulas is made by the computer algebra system and the conversion into a program in a source code, such as Java, a scripting language, an intermediate code or an object code is made by the compiler.
  • a source code such as Java, a scripting language, an intermediate code or an object code is made by the compiler.
  • the obtained graphical interface program is relatively concise when written in a language such as Javascript or HTML (Hyper Text Markup Language).
  • the graphical interface program can easily be downloaded on a local computer. This is advantageous when the graphical interface program is stored on a first computer and a user wishes to execute the graphical interface program from a second computer linked to the first computer by a network, for example the Internet. In such a case, the graphical interface program can be easily downloaded on the second computer, which contributes to a faster use thereof.
  • Another interest of the previously described embodiment of the present invention is that the obtained graphical interface program is dedicated to the interface as conceived by a designer. Therefore, the execution of the graphical interface program is faster than what would be obtained by using an automatic program for event management.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A computer implemented method of generating a graphical interface including receiving and displaying a selection of elements among a plurality of graphical and/or data entry elements, each element having at least a property among a plurality of graphical and/or activation and/or content properties; receiving and displaying formulas, each formula linking at least two properties of one element or several elements of the selection; and determining from the selection of elements and the formulas a separate graphical interface program, the execution of the separate graphical interface program resulting in the display of the selection of elements, the properties of which are linked by the formulas.

Description

    CROSS REFERENCE TO RELATED APPLICATIONS
  • This application is a continuation-in-part of U.S. application Ser. No. 12/046,304, filed on Mar. 11, 2008, entitled METHOD FOR DESIGNING A GRAPHICAL INTERFACE PROGRAM, which is hereby incorporated by reference to the maximum extent allowable by law.
  • FIELD OF THE INVENTION
  • The present invention relates to a method for designing a graphical interface program.
  • BACKGROUND OF THE INVENTION
  • The use of computers has greatly facilitated operations such as the entry of data or the command of machines by providing user-friendly graphical interfaces that can be adapted to the needs of the user. Such interfaces are also called graphical user interface (GUI).
  • Specific programs, called graphical interface design programs, give a designer the possibility of designing a graphical interface by selecting graphics and/or interactive elements in a tool library. These elements correspond, for example, to check boxes, pull-down menus, boxes corresponding to work areas for entering data through a keyboard, etc. Properties associated with each element are selected by the designer. For example, a property of a check box is the fact that the box is checked or unchecked. A property of a data entry box is the value of data entered therein. Another property of a data entry box is the fact that data entry in the box is allowed (the box is said to be enabled) or that no data entry in the box is allowed (the box is said to be disabled).
  • Once the different elements of the graphical interface, and the associated properties, are selected, the graphical interface design program also gives the possibility to the designer of adding event programs that will be linked to the graphical interface. An event program is a program including a sequence of instructions that, when the property of an element has been changed, modifies the value of another property of the same element or the property of another element of the graphical interface. The event programs are commonly written by the designer using a programming language such as the visual basic. JAVA or a scripting language like JavaScript. Once the event programs are written, they can be converted into a computer executable form by a compiler. A graphical interface program is then obtained. When the graphical interface program is executed by a user on a computer, a graphical interface is displayed as configured by the designer. When the user enters new data, checks boxes, etc., properties of the elements of the graphical interface are modified according to the event programs associated with the graphical interface.
  • Such a method for designing a graphical interface has several drawbacks. First, as the event programs are written by the designer, the designer is required to have enough knowledge of the programming language accepted by the graphical interface design program. Moreover, the designer must think of all the event programs he wants to associate with the graphical interface since the graphical interface design program generally provides no help during the writing of the event programs. Moreover, it is up to the designer to search for the inconsistencies in event programs. An inconsistency corresponds, for example, to a never-ending loop which would occur when the graphical interface program is executed. Indeed, the compiler generally only provides a check of the syntax of the event programs but does not provide a complete check of a good execution of the event programs for all the possible values of the properties of the elements of the graphical interface.
  • SUMMARY OF THE INVENTION
  • It is an aim of embodiments of the present invention to at least partially address one or more problems in the prior art.
  • According to one aspect of the present invention, there is provided a computer implemented method of generating a graphical interface program comprising receiving and displaying a selection of elements or components among a plurality of graphical and/or data entry elements/components, each element/component having at least a property among a plurality of graphical and/or activation and/or content properties; receiving and displaying formulas, each formula being a referentially transparent expression linking at least two properties of one element or several elements of said selection; and determining from said selection of elements and said formulas a separate graphical interface program, the execution of said separate graphical interface program resulting in the display of said selection of elements, the properties of which are linked by said formulas, any input of a user modifying an element with linked properties resulting in a re-evaluation of the formula and a possible update of the display of the linked element.
  • The referential transparency of the formulas implies that the formulas are considered as mathematic formulas, as encountered in functional programming or spreadsheets, allows proving correctness, simplifying algorithms and optimizing code.
  • All the user interactions with the resulting program are defined in functional programming and not, as with most of event based computer languages, in imperative programming.
  • According to one embodiment of the present invention, the components can be placed in layers, the properties of which can be defined by formulas as the component properties. The layers can be partially transparent in order for the user to see components from multiple layers. More generally, a program defined with the components can be recursively used as a component itself, the properties of which will be defined by formulas referencing components properties or any data available.
  • According to one embodiment of the present invention, the method further comprises the steps of checking the formulas for inconsistencies, in particular circular references, before the determination of said separate graphical interface program and of displaying an alert message when at least one inconsistency is determined.
  • According to one embodiment of the present invention, the method further comprises the step of displaying an alert message when none of said formulas includes a first property among the plurality of graphics and/or activation and/or content properties.
  • According to one embodiment of the present invention, the method further comprises the step of displaying an alert message when a second property included in the formulas remains unchanged when the other properties of the formulas are modified.
  • According to one embodiment of the present invention, for at least one formula among said formulas, at least one property of the at least two properties of said at least one formula is representative of whether or not, during the execution of said graphical interface program, the element associated with said at least one property is allowed to be activated.
  • According to one embodiment of the present invention, for at least one formula among said formulas, at least one property of the at least two properties of said at least one formula is representative of whether or not, during the execution of said graphical interface program, the element associated with said at least one property was used.
  • According to one embodiment of the present invention, for at least one formula among said formulas, at least one property of the at least two properties of said at least one formula is representative of whether or not, during the execution of said graphical interface program, the element associated with said at least one property is displayed.
  • According to another aspect of the present invention, there is provided a general purpose data processor operating under the control of a stored program containing a set of instructions that, when executed, control the data processor to perform the following functions: receiving and displaying a selection of elements among a plurality of graphical and/or data entry elements, each element having at least a property among a plurality of graphical and/or activation and/or content properties; receiving and displaying formulas, each formula linking at least two properties of one element or several elements of said selection; determining from said selection of elements and said formulas a separate graphical interface program, the execution of said separate graphical interface program resulting in the display of said selection of elements, the properties of which are linked by said formulas, any change in the linked properties resulting in a re-evaluation of the formula.
  • According to one embodiment of the present invention, the general purpose data processor operates under the control of the stored program containing a set of instructions that, when executed, control the data processor to check the formulas for inconsistencies before the determination of said separate graphical interface program and of displaying an alert message when at least one inconsistency is determined.
  • According to one embodiment of the present invention, the general purpose data processor operates under the control of the stored program containing a set of instructions that, when executed, control the data processor to display an alert message when none of said formulas includes a specific property among the plurality of graphical and/or activation and/or content properties.
  • BRIEF DESCRIPTION OF THE FIGURES
  • The foregoing and other purposes, features, aspects and advantages of the invention will become apparent from the following detailed description of embodiments, given by way of illustration and not limitation with reference to the accompanying drawings, in which:
  • FIG. 1 is a flow chart showing an exemplary method for designing a graphical interface program in event programming;
  • FIG. 2 is a display of an exemplary graphical interface;
  • FIG. 3 is a display of exemplary event programs associated with the graphical interface of FIG. 2;
  • FIG. 4 is a simplified block diagram showing the interactions between a computer and a graphical interface design program during the design of a graphical interface program;
  • FIG. 5 is a flow chart showing a method for designing a graphical interface program according to an embodiment of this invention;
  • FIG. 6 is a display of exemplary formulas associated with the graphical interface of FIG. 2 and provided during the design of the graphical interface program according to one embodiment of the present invention;
  • FIG. 7 illustrates an application example of activating a component; and
  • FIG. 8 illustrates another application example of activating components on multiple layers.
  • DETAILED DESCRIPTION
  • In the following description, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the embodiments. Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features or characteristics may be combined in any suitable manner in one or more embodiments.
  • It is desired to set out certain definition of terms used in this description and in the appended claims.
  • A source program is a computer program containing a sequence of statements and/or declarations written in some human-readable computer programming language.
  • A compiler is a computer program (or set of programs) that translates text written in a first computer language into a second computer language.
  • An interpreter is a computer program that executes, i.e. performs, instructions written in a programming language. An interpreter may be a program that either executes a source code program directly, or translates a source code program into some efficient intermediate code program and immediately executes this or is invoked to explicitly execute a stored precompiled program made by a compiler which is part of the interpreter system.
  • A virtual machine is a kind of interpreter. It is a software implementation of a machine (computer) that executes programs in the same way as a real machine. For example, the set of computer software programs called Java Virtual Machine is a virtual machine.
  • An intermediate code program is a binary representation of an executable program designed to be executed by an interpreter or a virtual machine or to be further compiled into a computer executable form. An example of an intermediate code is Java Bytecode. A program in Java Bytecode can be executed by the interpreter Java Virtual Machine.
  • An object program, or program in object code, is a computer program that is a representation of a source program in a computer executable form. For example, an object program can only contain machine code, which is code directly executed by the processor of a computer.
  • A scripting language, script language or extension language is a programming language that controls a software application. A “Script” is a sequence of instructions in a scripting language. A script cannot be executed independently from any other application. It is usually distinct from the core code of the associated application, which can be written in a different language. A script is usually accessible to a user and enables the behavior of the application to be adapted to the user's needs. A script can be directly interpreted or can be compiled to an intermediate code program which is interpreted. For example, JavaScript is a scripting language. A JavaScript engine is an interpreter that can interpret a JavaScript source code program. For example, a Web browser usually includes a JavaScript engine.
  • A graphical interface program is a program that, when executed on a computer, displays a graphical interface through which a user can make operations such as entering data, checking boxes, selecting items in pull-down menus, activating buttons, etc. The graphical interface can be used as a data entry tool, as a command interface of a numerically controlled machine, etc.
  • A graphical interface design program is a program that, when executed on a computer, provides to a designer tools to design a graphical interface program.
  • An element of a graphical interface is a graphical and/or interactive elementary part of the graphical interface. Examples of elements of a graphical interface are:
  • the main window of the graphical interface inside which the other elements of the graphical interface are displayed;
  • a check box;
  • a pull-down menu;
  • a work area or data entry field;
  • a button.
  • A property of an element is a graphical and/or activation and/or content feature or attribute of the element whose value can be set by the designer during the design of the graphical interface program and/or can be modified by a user during the execution of the graphical interface program. Most of the properties can be associated with several elements. Examples of such properties are:
  • the position of the element inside the main window or with respect to another element;
  • the fact that the element is or is not visible in the main window;
  • the fact that a user has activated the element or not. An activation of an element corresponds for example to the check of a box, to the writing in a data entry area, to the selection of an item in a pull-down menu, to the activation of a button, etc. In the following description, for the check box, this property is called property “Checked” and can correspond to a one-bit signal set to “1” when a user has checked the box and set to “0” when the user has not;
  • the fact that a user is allowed to activate the element (the element is said to be enabled) or not (the element is said to be disabled). In the latter case, the element can nevertheless be visible on the main window, possibly with a modified color, but a user cannot activate it. In the following description, this property is called property “Enabled” and can correspond to a one-bit signal set to “1” when a user is allowed to activate the element and set to “0” when a user is not;
  • generic properties relative to the name or designation of the element, such as the content of the name, the fact that the name is or is not displayed (visible) in the main window, the position of the name in the main window, the font or symbols used for displaying the name, etc. In the following description, the content of the name will be called property “Text”.
  • Further examples of properties for the element “main window” are, for example, the dimensions of the main window and the background color and texture of the main window. Further properties for the element “pull-down menu” are, for example, the number of items of the pull-down menu and the content of each item of the pull-down menu. Further properties for the element “data entry box” are, for example, the form and dimensions of the data entry box and the content of the data entry box. In the following description, this property will be called property “Value”. A further property for the element “button” is, for example, the fact that the button has or has not been activated by the user.
  • Referential transparency is a property of parts of computer programs. An expression is said to be referentially transparent if it can be replaced with its value without changing the program (in other words, yielding a program that has the same effects and output given the same input).
  • Referential opaqueness is the opposite of referential transparency.
  • Imperative programming is a programming paradigm that describes computation in terms of statements that change a program state. In much the same way that imperative mood, in natural languages, expresses commands to take action, imperative programs define sequences of commands for the computer to perform.
  • Functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions, in contrast to the imperative programming style, which emphasizes changes in the state.
  • A spreadsheet is a computer application that simulates a paper, accounting worksheet. It displays multiple cells usually in a two-dimensional matrix or grid comprising rows and columns. Each cell contains alphanumeric text, numeric values or formulas. A formula defines how the content of that cell is to be calculated from the contents of any other cell (or combination of cells) each time any cell is updated.
  • A formula is an equation linking the value of a property of an element to the value of one or several properties of one or several elements. A formula can contain mathematical and/or logic operands linking the properties and can be written in a symbolic language. The formula in the present invention, are referentially transparent, as in spreadsheets or functional languages.
  • A computer algebra system (CAS) is a software program that facilitates symbolic mathematics. The core functionality of a CAS is manipulation of mathematical expressions in symbolic form, such as a formula. As an example, the computer program called Mathematica, sold by Wolfram Research, supports a computer algebra system.
  • FIG. 1 is a flow chart showing a common method for designing a graphical interface program. FIG. 2 shows an example of a graphical interface and FIG. 3 shows an example of event programs.
  • At step 10, the graphical interface design program is launched on a computer. The program displays on the screen of the computer to the designer a library comprising the available elements. The designer can select the elements according to the graphical interface he wishes to design. The example graphical interface shown on FIG. 2 comprises a main window 14, the name of which 16 has the content “Data Entry Form”, four check boxes 18A, 18B, 18C and 18D, including two round boxes and two square boxes, the names of which have the contents “Choix1”, “Choix2”, “Option1” and “Option2”, a pull-down menu 20, the name of which has the content “Selection”, four data entry areas 22A, 22B, 22C, 22D, the names of which have the contents “Text1”, “EditOption1”, “EditOption2” and “Amount” and two buttons 24A, 24B, the names of which have the contents “Validate” and “Cancel”.
  • The designer sets, at that time, initial values of some properties of the elements. In the example of FIG. 2, the designer has set the dimensions and background color of main window 14 and the positions and contents of the names of the elements. The method continues at step 12.
  • At step 12, the graphical interface design program opens a window 25 in which the designer can write the event programs. Three examples of event programs 26A, 26B and 26C written in the Object Pascal language are shown. In these programs 26A, 26B, 26C, a property of an element is designated in the following format “name of the element”.“name of the property”. For example, the property “Optionl.Enabled” corresponds to the generic property “Enabled” applied to element “Option1”. First program 26A is called when the user modifies the value of the property “Checked” of the element “Choix2”. It modifies the property “Enabled” of the elements “Option1” and “Option2”. Second program 26B is called when the user modifies the value of the property “Checked” of the element “Option1”. It sets to “1” the property “Enabled” of the element “EditOption1” only if the properties “Checked” of the elements “Option1” and “Choix1” are both set to “1”. Third program 26C modifies the property “Text” of the element “Amount” according to the properties “Value” of the enabled element “EditOption1” or “EditOption2”. The method continues at step 28.
  • At step 28, a compilation of the event programs and the general program of the graphical interface is made to provide a graphical interface program in a programming language which is more adapted to be interpreted or executed. The graphical interface program can be in a source code, such as Java, a scripting language, an intermediate code or an object code.
  • As explained above, such a method for designing a graphical interface has several drawbacks. In particular, from the examples previously described, it appears that the number of event programs to be written and the complexity thereof increase quickly as soon as the number of elements of the graphical interface increases. The writing of all the event programs quickly becomes difficult. Moreover, as soon as the number of event programs is important, it is practically impossible for the designer to search for the inconsistencies of the events programs. There is then a high risk that the resulting graphical interface program contains bugs. The referential opaqueness of the imperative programs used does not allow the compiler to check the consistency of the code.
  • Instead of writing events programs when designing the graphical interface program, an embodiment of the present invention provides the use of formulas linking properties of the elements of the graphical interface. As will be explained further, the use of formulas facilitates the work of the designer. Indeed, the inconsistencies of a set of formulas can easily be checked by a computer algebra system. Moreover, according to one embodiment of the present invention, the computer algebra system can give indications to the designer to improve the writing of the formulas.
  • Referring to FIG. 4, a general purpose computer 30 is shown. It comprises input means, such as a keyboard, a mouse, etc, and display means such as a screen. A graphical interface program is designed through the execution of a graphical interface design program 32. The graphical interface design program 32 can be a program stored on computer 30. However, graphical interface design program 32 can also be executed on another computer linked to computer 30 through a network, for example the Internet. By the use of the graphical interface design program 32, a graphical interface source program is obtained including configuration parameters of the graphical interface and the associated formulas. The graphical interface design program 32 includes a computer algebra system and a compiler, which acts on the source program to produce a program 34 in a source code, such as Java, a scripting language, an intermediate code or an object code. The program 34 can be left in a storage area on the same computer on which the graphical interface design program 32 has been executed or can be sent to another computer on which it is to be executed. For example, program 34 can be written in JavaScript. Then, the program 34 can be interpreted by a web browser or any JavaScript engine.
  • FIG. 5 is a flow chart showing a method for designing a graphical interface program according to one embodiment of the present invention. FIG. 6 shows an example of formulas determined by a designer during the execution of one embodiment of the graphical interface design program 32.
  • At step 40, the graphical interface design program is launched. The program displays to the designer a library comprising the available elements. The designer can select the elements according to the graphical interface he wishes to design in the same way as explained for step 10 of the previously described method in relation to FIG. 1. For example, the graphical interface shown on FIG. 2 can be defined at step 40. At step 40, the designer can also define relations between the graphical interface and other programs. For example, when the graphical interface is used to command a numerically controlled machine, the designer can link the execution of instructions dedicated to the command of the machine to the activation of a specific button of the graphical interface.
  • At step 42, the graphical interface design program opens a window 43 wherein the designer can enter the formulas he wants to incorporate to the graphical interface program. Each formula comprises a first field, labelled “A”, corresponding to a property of an element of the graphical interface and a second field, labelled “B”, corresponding to another property of the same element or a property of another element or a mathematical and/or logic operation applied on other properties of the same element and/or properties of other elements. The formula can be understood as forcing, at any time, the value of the property in the first field of the formula to be equal to the value resulting from the operation made in the second field.
  • For example, five formulas 44A to 44E are shown on FIG. 6. Formula 44A forces the value of the property “Enabled” of the element “Option1” to be equal, at any time, to the value of the property “Checked” of the element “Choix2”. Formula 44B forces the value of the property “Enabled” of the element “Option2” to be equal, at any time, to the value of the property “Checked” of the element “Choix2”. Formula 44C forces the value of the property “Enabled” of the element “EditOption1” to be equal, at any time, to the logic sum (logic operand AND) of the values of the property “Checked” of the elements “Option1” and “Choix2”. Formula 44D forces the value of the property “Enabled” of the element “EditOption2” to be equal, at any time, to the logic sum (logic operand AND) of the values of the property “Checked” of the elements “Option2” and “Choix2”.
  • Formula 44E forces the value of the property “Text” of the element “Amount” to be equal, at any time, to the sum of the property “Value” of the element “EditOption1” (if the property
  • “Enabled” of the element “EditOption1” is set to “1”) and the property “Value” of the element “EditOption2” (if the property “Enabled” of the element “EditOption2” is set to “1”). For this formula, a logic operand labelled “IF” was used. However, the graphical interface design program could accept any other symbolic language.
  • The components can be placed in layers, properties of which can be defined by formulas as the components' property. The layers can be partially transparent in order for the user to see components from multiple layers in the same screen.
  • The formulas can be written completely by the designer through input means such as a keyboard. However, a semi-automatic way of defining the formulas can be used. For example, the designer could use a pointer controlled by a mouse, a touch pad, etc., to select an element of the displayed graphical interface. The graphical interface design program then displays the properties associated with the selected element and the designer can select the desired property. The mathematical and logic operands can be displayed in a library so that a selection of the operands can also be made using a pointer.
  • At step 46, an analysis of the formulas is executed by the computer algebra system of the graphical interface design program. Such an analysis includes a check for any inconsistencies in the formulas. According to one embodiment of the present invention, the computer algebra system also indicates to the designer if a specific property of an element of the graphical interface is not used in the formulas. For example, the designer, when selecting the element in the library of the graphical interface design program, can select the property or properties of this element for which a presence check should be made by the computer algebra system. According to a variation, the element properties for which a presence check in formulas is made by the computer algebra system can be preset. The computer algebra system can also indicate to the designer a property which is used in the formulas, but the value of which never changes when the other properties used in the formulas are modified. The graphical interface design program can indicate to the designer the properties for which an anomaly has been detected. The designer can then modify the formulas to correct the anomaly or instruct the graphical interface design program to disregard the anomaly. Compared to a general computer algebra system, the computer algebra system of the graphical interface design according to embodiments of the present invention can advantageously have a simpler structure since it is not required to offer as many functions as a general computer algebra system does. The method continues at step 48.
  • At step 48, a compilation of the source program of the graphical interface program is made to provide a graphical interface program in a source code, such as Java, a scripting language, an intermediate code or an object code.
  • FIG. 7 illustrates an application example of the disclosed embodiment for activating components. This figure represents a display layer 50 with visible elements 51 c 1 and 51 c 2 (check boxes), 51 t (text boxes), 51 s (selector), 51 b 1 and 51 b 2 (buttons) having properties (legends “checkbox1”, “Text”, “checkbox2”, “Selector”, “ok”, “cancel”). In this example, four formulas (71: textbox1.enabled=checkbox1.checked; 72: checkbox2.enabled=not checkbox1.checked; 73: selector1.enabled=checkbox2.checked; btnOK.Enabled=inputValid1 or inputValid2) are associate to the elements 51 t, 51 c 2, 51 s and 51 b 1. Other elements 51 i (not displayed once the program is compiled) may exist and correspond to intermediate computation. For example, validation formulas correspond to 75: inputValid1=checkbox1.checked and (textbox1.value< >“”) and 76: inputValid2=checkbox2.checked and (selector1.notEmpty).
  • According to a possible use, one can determine the sequence of actions to be taken in the event of an action by a user. As an example, upon activation of checkbox1, the activation states of textbox 1 and checkbox2 change (formulas 71 and 72), as well as the activation state of the OK button (formula 75).
  • According to another possible use of the referential transparency, the application uses that fact that selector1 is active only if checkbox2 is ticked (formula 73), and that InputValid2 is true only if checkbox2 is active (ticked) and selector1 is not empty. As long as checkbox2 is not ticked, inputValid1 does not change (formulas 75 and 76). Further, checkbox2 is active only if checkbox1 is not ticked (formula 72). Hence, inputValid1 will not change as long as checlbox1 stays ticked.
  • According to another possible use, the formulas are used in error detection. Suppose that formula 73 has been redrafted as follows: selector1.enabled=checkbox1.checked and checkbox2.enabled. Using referential transparency can lead to the following formula “selector1.enabled =checkbox1.checked and (not checkbox1.checked), i.e. selector1.enabled would not become true. This could be used to detect such kind of incoherency.
  • FIG. 8 illustrates an example of an application in a multilayer display. Formulas are used to define the location in the screen and/or the content of the layers (for example Layer 1, LayerN, LayerA, LayerB. For example, LayerA contains input boxes 52, LayerB contains boxes 53, and layer1 contains selection buttons 54. Several implicit formulas determine the positions and visibility of the layers. For example: 81: LayerA.TopLeft=Layer1.BottomLeft, 82: LayerB.TopLeft=Layer1.BottomLeft, 83: LayerA.Visible=RadioButton1.Checked, 84: LayerB.Visible=RadioButton2.Checked, 85: Caption1.Text=Input1.Value+Input2.Value+Input3.Value.
  • For clarity, layers 1 and N, respectively A and B) are represented in perspective. In practice, only one level is visible depending on the results of the formulas.
  • The formulas can be used to define invariants. For example, formula 81 indicates that coordinates in the screen of the left corner at the top of layer A should be the same as those of the left corner at the bottom of Layer 1. An implementation would use this formula only if one of the Layers 1, A, and B is moved (formulas 81 and 82). In FIG. 8, elements of layer 1 are also used to control the visibility of layers A and B. The property of the buttons 54 is that only one of the buttons can be active (the buttons are mutually exclusive). Layers A and B can then not be simultaneously visible. If buttons 54 are replaced by check boxes, the conflict would be highlighted to the user.
  • FIG. 8 also illustrates an optimization according to which one takes benefit of the fact that, if layer A is not visible (i.e. if RadioButton1 is not active), by transitivity of the formulas, the input boxes as well as the result of Caption1 would then not be computed.
  • In the embodiments of FIGS. 7 and 8, the formulas are displayed only during the conception. Then, the graphical interface program is obtained by compilation. The graphical interface program is determined (compiled) from said selection of elements and said formulas. It should be noted that the formulas are always verified during the execution of the interface program. In other words, the program ensures that the formulas are always respected during the execution. Any input of the user modifying an element with linked properties resulting in a re-evaluation of the formula and a possible update of the display of the linked element.
  • The previously described embodiment of the present invention advantageously allows the designer to avoid writing event programs. The writing of sets of instructions from the formulas is made by the computer algebra system and the conversion into a program in a source code, such as Java, a scripting language, an intermediate code or an object code is made by the compiler. An advantage is that, during the writing of the formulas, the designer does not need to refer to the features of the operating system or the visualization layer of the computer on which the graphical interface program will be executed. On the contrary, when event programs are written, it is often necessary, according to the programming language used, to refer to features of the computer on which the graphical interface program will be executed.
  • An interest of the previously described embodiment of the present invention is that the obtained graphical interface program is relatively concise when written in a language such as Javascript or HTML (Hyper Text Markup Language). Hence, the graphical interface program can easily be downloaded on a local computer. This is advantageous when the graphical interface program is stored on a first computer and a user wishes to execute the graphical interface program from a second computer linked to the first computer by a network, for example the Internet. In such a case, the graphical interface program can be easily downloaded on the second computer, which contributes to a faster use thereof.
  • Another interest of the previously described embodiment of the present invention is that the obtained graphical interface program is dedicated to the interface as conceived by a designer. Therefore, the execution of the graphical interface program is faster than what would be obtained by using an automatic program for event management.
  • Having thus described at least one illustrative embodiment of the invention, various alterations, modifications, and improvements will readily occur to those skilled in the art. Such alterations, modifications, and improvements are intended to be within the spirit and scope of the invention. Accordingly, the foregoing description is by way of example only and is not intended as limiting. The invention is limited only as defined in the following claims and the equivalents thereto.

Claims (11)

1. A computer implemented method of generating a graphical interface program comprising:
receiving and displaying a selection of elements among a plurality of graphical and/or data entry elements, each element having at least a property among a plurality of graphical and/or activation and/or content properties;
receiving and displaying referentially transparent formulas, each formula linking at least two properties of one element or several elements of said selection; and
determining from said selection of elements and said formulas a separate graphical interface program, the execution of said separate graphical interface program resulting in the display of said selection of elements, the properties of which are linked by said formulas, any input of a user modifying an element with linked properties resulting in a re-evaluation of the formula and a possible update of the display of the linked element.
2. The method of claim 1, wherein the program defined with the components can be recursively used as a component itself, the properties of which will be defined by formulas.
3. The method of claim 1, further comprising the steps of checking the formulas for inconsistencies before determining said separate graphical interface program and of displaying an alert message when at least one inconsistency is determined.
4. The method of claim 1, further comprising the step of displaying an alert message when none of said formulas includes a first property among the plurality of graphics and/or activation and/or content properties.
5. The method of claim 4, further comprising the step of displaying an alert message when a second property included in the formulas remains unchanged when the other properties of the formulas are modified.
6. The method of claim 5, wherein, for at least one formula among said formulas, at least one property of the at least two properties of said at least one formula is representative of whether or not, during the execution of said graphical interface program, the element associated with said at least one property is allowed to be activated.
7. The method of claim 6, wherein, for at least one formula among said formulas, at least one property of the at least two properties of said at least one formula is representative of whether or not, during the execution of said graphical interface program, the element associated with said at least one property was used.
8. The method of claim 7, wherein, for at least one formula among said formulas, at least one property of the at least two properties of said at least one formula is representative of whether or not, during the execution of said graphical interface program, the element associated with said at least one property is displayed.
9. A general purpose data processor operating under control of a stored program containing a set of instructions that, when executed, control the data processor to perform the following functions:
receiving and displaying a selection of elements among a plurality of graphical and/or data entry elements, each element having at least a property among a plurality of graphical and/or activation and/or content properties;
receiving and displaying referentially transparent formulas, each formula linking at least two properties of one element or several elements of said selection;
determining from said selection of elements and said formulas a separate graphical interface program, the execution of said separate graphical interface program resulting in the display of said selection of elements, the properties of which are linked by said formulas, any input of a user modifying an element with linked properties resulting in a re-evaluation of the formula and a possible update of the display of the linked element.
10. The general purpose data processor of claim 9, operating under the control of the stored program containing a set of instructions that, when executed, control the data processor to check the formulas for inconsistencies before the determining of said separate graphical interface program and of displaying an alert message when at least one inconsistency is determined.
11. The general purpose data processor of claim 9, operating under the control of the stored program containing a set of instructions that, when executed, control the data processor to display an alert message when none of said formulas includes a specific property among the plurality of graphical and/or activation and/or content properties.
US13/206,737 2008-03-11 2011-08-10 Method for designing a graphical interface program Abandoned US20110302514A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US13/206,737 US20110302514A1 (en) 2008-03-11 2011-08-10 Method for designing a graphical interface program
US14/529,298 US10545734B2 (en) 2008-03-11 2014-10-31 Method for designing a graphical interface program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US12/046,304 US20090235188A1 (en) 2008-03-11 2008-03-11 Method for designing a graphical interface program
US13/206,737 US20110302514A1 (en) 2008-03-11 2011-08-10 Method for designing a graphical interface program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US12/046,304 Continuation-In-Part US20090235188A1 (en) 2008-03-11 2008-03-11 Method for designing a graphical interface program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/529,298 Continuation US10545734B2 (en) 2008-03-11 2014-10-31 Method for designing a graphical interface program

Publications (1)

Publication Number Publication Date
US20110302514A1 true US20110302514A1 (en) 2011-12-08

Family

ID=45065456

Family Applications (2)

Application Number Title Priority Date Filing Date
US13/206,737 Abandoned US20110302514A1 (en) 2008-03-11 2011-08-10 Method for designing a graphical interface program
US14/529,298 Active 2030-02-05 US10545734B2 (en) 2008-03-11 2014-10-31 Method for designing a graphical interface program

Family Applications After (1)

Application Number Title Priority Date Filing Date
US14/529,298 Active 2030-02-05 US10545734B2 (en) 2008-03-11 2014-10-31 Method for designing a graphical interface program

Country Status (1)

Country Link
US (2) US20110302514A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170109136A1 (en) * 2015-10-14 2017-04-20 Microsoft Technology Licensing, Llc Generation of application behaviors
US10031891B2 (en) 2012-11-14 2018-07-24 Amazon Technologies Inc. Delivery and display of page previews during page retrieval events
US10248633B2 (en) 2014-06-17 2019-04-02 Amazon Technologies, Inc. Content browser system using multiple layers of graphics commands
US11010933B2 (en) * 2016-08-04 2021-05-18 Inbario As Method and system for presentation of risks
US11169666B1 (en) 2014-05-22 2021-11-09 Amazon Technologies, Inc. Distributed content browsing system using transferred hardware-independent graphics commands

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4722406A (en) * 1985-06-21 1988-02-02 Ishida Scales Mfg. Co. Ltd. Electronic weigher with compensated test signal
US5524246A (en) * 1993-08-23 1996-06-04 At&T Corp. Method and apparatus for configuring computer programs from available subprograms
US5537630A (en) * 1994-12-05 1996-07-16 International Business Machines Corporation Method and system for specifying method parameters in a visual programming system
US6192511B1 (en) * 1998-09-16 2001-02-20 International Business Machines Corporation Technique for test coverage of visual programs
US6580440B1 (en) * 2000-04-05 2003-06-17 Ncr Corporation System and method for automatically creating and updating a graphical user interface
US20030160822A1 (en) * 2002-02-22 2003-08-28 Eastman Kodak Company System and method for creating graphical user interfaces
US20040153992A1 (en) * 2000-04-04 2004-08-05 Pedro Juan Molina-Moreno Method and apparatus for automatic generation of information system user interfaces
US20050066285A1 (en) * 2003-08-13 2005-03-24 Santori Michael L. Creating a graphical user interface for selected parameters of a graphical program
US20060271908A1 (en) * 2002-12-02 2006-11-30 Bargh Christopher I Method of componentisation of a graphically defined formula
US20080056403A1 (en) * 2006-09-01 2008-03-06 On Demand Microelectronics Method and apparatus for timing recovery of pam signals
US20080126973A1 (en) * 2006-09-27 2008-05-29 Rockwell Automation Technologies, Inc. Sequential function chart validation tool
US20080222539A1 (en) * 2001-02-14 2008-09-11 Mitsubishi Denki Kabushiki Kaisha User interface designing apparatus
US20090113399A1 (en) * 2007-10-24 2009-04-30 Rachel Tzoref Device, System and Method of Debugging Computer Programs
US7849440B1 (en) * 2004-04-16 2010-12-07 The Mathworks, Inc. Real-time code preview for a model based development process
US7913225B2 (en) * 2006-04-28 2011-03-22 Microsoft Corporation Error handling using declarative constraints in a graphical modeling tool
US20110292438A1 (en) * 2010-05-26 2011-12-01 Pfu Limited Image reading apparatus, information processing apparatus, image processing method, and computer program product
US8136043B2 (en) * 2006-12-26 2012-03-13 Canon Kabushiki Kaisha GUI generation apparatus and method for generating GUI

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4813013A (en) 1984-03-01 1989-03-14 The Cadware Group, Ltd. Schematic diagram generating system using library of general purpose interactively selectable graphic primitives to create special applications icons
US5189608A (en) * 1987-06-01 1993-02-23 Imrs Operations, Inc. Method and apparatus for storing and generating financial information employing user specified input and output formats
US5163130A (en) 1989-10-11 1992-11-10 Next Computer, Inc. System and method for configuring a graphic interface
US5261043A (en) 1991-03-12 1993-11-09 Hewlett-Packard Company Input and output data constraints on iconic devices in an iconic programming system
US5680557A (en) * 1994-02-16 1997-10-21 The United States Of America As Represented By The Secretary Of The Army Natural computing system
US5469538A (en) * 1994-03-02 1995-11-21 Mathsoft, Inc. Mathematical document editor and method performing live symbolic calculations for use with an electronic book
US5862379A (en) 1995-03-07 1999-01-19 International Business Machines Corporation Visual programming tool for developing software applications
US5760788A (en) 1995-07-28 1998-06-02 Microsoft Corporation Graphical programming system and method for enabling a person to learn text-based programming
US6292810B1 (en) * 1997-03-03 2001-09-18 Richard Steele Richards Polymorphic enhanced modeling
JPH10289211A (en) * 1997-04-14 1998-10-27 Sharp Corp Small electronic apparatus
US6199199B1 (en) 1998-09-16 2001-03-06 International Business Machines Corporation Presentation of visual program performance data
US6212675B1 (en) 1998-09-16 2001-04-03 International Business Machines Corporation Presentation of visual program test coverage information
US6282699B1 (en) * 1999-02-23 2001-08-28 National Instruments Corporation Code node for a graphical programming system which invokes execution of textual code
US20020013779A1 (en) * 2000-03-20 2002-01-31 Sridhar Mandayam Andampillai Reverse foreign key techniques in website development
US20030221162A1 (en) * 2000-03-20 2003-11-27 Sridhar Mandayam Andampillai Meta-templates in website development and methods therefor
JP2002007299A (en) 2000-06-21 2002-01-11 Mitsubishi Electric Corp Developing means and executing means for device control program
AUPQ966400A0 (en) * 2000-08-24 2000-09-21 Xemplex Pty Ltd Method of graphically defining a formula
WO2007019606A1 (en) * 2005-08-15 2007-02-22 Victoria University Administration of drugs
CN100399335C (en) * 2005-11-15 2008-07-02 李利鹏 Method for converting source file to target web document
US20070288283A1 (en) * 2006-06-09 2007-12-13 Devshop Inc. Method for project management
US8589869B2 (en) * 2006-09-07 2013-11-19 Wolfram Alpha Llc Methods and systems for determining a formula
US20090235188A1 (en) 2008-03-11 2009-09-17 Creative Information Technology Method for designing a graphical interface program

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4722406A (en) * 1985-06-21 1988-02-02 Ishida Scales Mfg. Co. Ltd. Electronic weigher with compensated test signal
US5524246A (en) * 1993-08-23 1996-06-04 At&T Corp. Method and apparatus for configuring computer programs from available subprograms
US5537630A (en) * 1994-12-05 1996-07-16 International Business Machines Corporation Method and system for specifying method parameters in a visual programming system
US6192511B1 (en) * 1998-09-16 2001-02-20 International Business Machines Corporation Technique for test coverage of visual programs
US20040153992A1 (en) * 2000-04-04 2004-08-05 Pedro Juan Molina-Moreno Method and apparatus for automatic generation of information system user interfaces
US6580440B1 (en) * 2000-04-05 2003-06-17 Ncr Corporation System and method for automatically creating and updating a graphical user interface
US20080222539A1 (en) * 2001-02-14 2008-09-11 Mitsubishi Denki Kabushiki Kaisha User interface designing apparatus
US20030160822A1 (en) * 2002-02-22 2003-08-28 Eastman Kodak Company System and method for creating graphical user interfaces
US20060271908A1 (en) * 2002-12-02 2006-11-30 Bargh Christopher I Method of componentisation of a graphically defined formula
US20050066285A1 (en) * 2003-08-13 2005-03-24 Santori Michael L. Creating a graphical user interface for selected parameters of a graphical program
US7849440B1 (en) * 2004-04-16 2010-12-07 The Mathworks, Inc. Real-time code preview for a model based development process
US7913225B2 (en) * 2006-04-28 2011-03-22 Microsoft Corporation Error handling using declarative constraints in a graphical modeling tool
US20080056403A1 (en) * 2006-09-01 2008-03-06 On Demand Microelectronics Method and apparatus for timing recovery of pam signals
US20080126973A1 (en) * 2006-09-27 2008-05-29 Rockwell Automation Technologies, Inc. Sequential function chart validation tool
US8136043B2 (en) * 2006-12-26 2012-03-13 Canon Kabushiki Kaisha GUI generation apparatus and method for generating GUI
US20090113399A1 (en) * 2007-10-24 2009-04-30 Rachel Tzoref Device, System and Method of Debugging Computer Programs
US20110292438A1 (en) * 2010-05-26 2011-12-01 Pfu Limited Image reading apparatus, information processing apparatus, image processing method, and computer program product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Maso, Brian, The Visual J++ Handbook, 1997, Osborne McGraw-Hill, pages 132, 139 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10031891B2 (en) 2012-11-14 2018-07-24 Amazon Technologies Inc. Delivery and display of page previews during page retrieval events
US10095663B2 (en) 2012-11-14 2018-10-09 Amazon Technologies, Inc. Delivery and display of page previews during page retrieval events
US11169666B1 (en) 2014-05-22 2021-11-09 Amazon Technologies, Inc. Distributed content browsing system using transferred hardware-independent graphics commands
US10248633B2 (en) 2014-06-17 2019-04-02 Amazon Technologies, Inc. Content browser system using multiple layers of graphics commands
US20170109136A1 (en) * 2015-10-14 2017-04-20 Microsoft Technology Licensing, Llc Generation of application behaviors
WO2017065991A1 (en) * 2015-10-14 2017-04-20 Microsoft Technology Licensing, Llc Generation of application behaviors
US9910641B2 (en) * 2015-10-14 2018-03-06 Microsoft Technology Licensing, Llc Generation of application behaviors
US10592211B2 (en) * 2015-10-14 2020-03-17 Microsoft Technology Licensing, Llc Generation of application behaviors
US11010933B2 (en) * 2016-08-04 2021-05-18 Inbario As Method and system for presentation of risks

Also Published As

Publication number Publication date
US20150121259A1 (en) 2015-04-30
US10545734B2 (en) 2020-01-28

Similar Documents

Publication Publication Date Title
US9524176B2 (en) Method and system for binding graphical interfaces to textual code
Sharp Microsoft Visual C# 2013 Step by Step
US10545734B2 (en) Method for designing a graphical interface program
EP2504748B1 (en) System and method for object relationship identification in a user interface
US6286017B1 (en) Graphical environment for managing and developing applications
US10592211B2 (en) Generation of application behaviors
US20040111673A1 (en) System and method for controlling user interface features of a web application
US7761859B2 (en) Application development environment with features for aiding a user in writing function calls
US8042095B2 (en) Application development environment with features for increasing the ease and efficiency of viewing function help text
US20240020350A1 (en) Method and system for navigation control
Valverde et al. Facing the technological challenges of web 2.0: A RIA model-driven engineering approach
US20090235188A1 (en) Method for designing a graphical interface program
Palanque et al. Interaction object graphs: an executable graphical notation for specifying user interfaces
WO2023128793A1 (en) System and method for dynamically visualizing software elements
Eng et al. Application Development with Qt Creator: Build cross-platform applications and GUIs using Qt 5 and C++
WO2020230119A1 (en) System and method of computer-assisted computer programming
Precord WxPython application development cookbook
Trivedi User interface implementation of environmental data integration system with React
Borycki Beginning Xamarin Development for the Mac
Bertot et al. The ctcoq experience
Jacobsen Tool support for specifying multi-way dataflow constraint systems
Armbruster A graphical editor for structural screen models
CA2452460C (en) System and method for controlling user interface features of a web application
Gudschun Design-Aid for Graphical User Interfaces in Declarative Programming Languages
Volf Aplikace pro lokalizaci RC souborů

Legal Events

Date Code Title Description
AS Assignment

Owner name: CREATIVE INFORMATION TECHNOLOGY, FRANCE

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:RINAUDO, PHILIPPE;GRANGE, ERIC;REEL/FRAME:026785/0601

Effective date: 20110816

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION