Method and system for separation of content and layout definitions in a display description
First Claim
1. A method in a computing device for specifying alternate layouts of an element of a display description specified using a display description language, the method comprising:
- providing a display description file that specifies the display description using the display description language that includes;
a definition of the element, the definition of the element occurring only once in the display description file;
a first condition and a first layout for the definition of the element; and
a second condition and a second layout for the definition of the element; and
when processing the definition of the element of the provided display description file,parsing by the computing device the display description file to identify the definition of the element, the first condition and the first layout, and the second condition and the second layout;
retrieving a parameter for controlling the layout of the element;
determining whether the retrieved parameter indicates that the first condition is satisfied or the second condition is satisfied;
displaying the element in accordance with the first layout when it is determined that the first condition is satisfied; and
displaying the element in accordance with the second layout when it is determined that the second condition is satisfied;
wherein layouts and conditions included in the same display description file only specify how to display elements defined in the display description file,wherein the element has child elements and the layouts specify the layout of the child elements,wherein a layout specifies a table in which the child elements are to be displayed, andwherein the layout that specifies the table further specifies that a cell within the table for a child element and another cell for another child element is to be automatically selected.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for specifying alternate layouts of a user interface element of a display description is provided. In one embodiment, a display system provides a display description language that separates the definition of content of a user interface element from the layout of the user interface element. This separation allows alternate layouts to be specified that are conditionally applied to content of the user interface element without having to repeat the content. In another embodiment, the display system allows each element of a table to be positioned within a specific cell within the table.
54 Citations
19 Claims
-
1. A method in a computing device for specifying alternate layouts of an element of a display description specified using a display description language, the method comprising:
-
providing a display description file that specifies the display description using the display description language that includes; a definition of the element, the definition of the element occurring only once in the display description file; a first condition and a first layout for the definition of the element; and a second condition and a second layout for the definition of the element; and when processing the definition of the element of the provided display description file, parsing by the computing device the display description file to identify the definition of the element, the first condition and the first layout, and the second condition and the second layout; retrieving a parameter for controlling the layout of the element; determining whether the retrieved parameter indicates that the first condition is satisfied or the second condition is satisfied; displaying the element in accordance with the first layout when it is determined that the first condition is satisfied; and displaying the element in accordance with the second layout when it is determined that the second condition is satisfied; wherein layouts and conditions included in the same display description file only specify how to display elements defined in the display description file, wherein the element has child elements and the layouts specify the layout of the child elements, wherein a layout specifies a table in which the child elements are to be displayed, and wherein the layout that specifies the table further specifies that a cell within the table for a child element and another cell for another child element is to be automatically selected. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method performed by a computing device with a storage device and a display for specifying alternate layouts of an element of a display description specified using a display description language, the method comprising:
-
providing in the storage device a display description file that specifies the display description using the display description language that includes; a definition of the element, wherein the element has child elements, the definition of the element occurring only once in the display description file; a first condition and a first layout for the definition of the element; and a second condition and a second layout for the definition of the element, wherein the layouts specify the layout of the child elements and wherein a layout specifies a table in which the child elements are to be displayed and further specifies a cell within the table for a child element and another cell for another child element is to be automatically selected; and when processing by the computing device the definition of the element of the provided display description file, parsing by the computing device the display description file to identify the definition of the element, the first condition and the first layout, and the second condition and the second layout; retrieving a parameter for controlling the layout of the element; determining whether the retrieved parameter indicates that the first condition is satisfied or the second condition is satisfied; displaying on the display the element in accordance with the first layout when the first condition is satisfied; and displaying on the display the element in accordance with the second layout when the second condition is satisfied; wherein layouts and conditions included in the display description file only specify how to display elements defined in the display description file.
-
-
9. A computer system for specifying alternate layouts of an element of a display description specified using a display description language, the computer system including a processor and a storage device, the processor is configured to:
-
provide in the storage device a display description file that specifies the display description using the display description language that includes; a definition of the element, wherein the element has child elements, the definition of the element occurring only once in the display description file; a first condition and a first layout for the definition of the element; and a second condition and a second layout for the definition of the element, wherein the layouts specify the layout of the child elements and wherein a layout specifies a table in which the child elements are to be displayed and further specifies a cell within the table for a child element and another cell for another child element is to be automatically selected; and the processor when executing the definition of the element of the provided display description file, parsing by the computing device the display description file to identify the definition of the element, the first condition and the first layout, and the second condition and the second layout; retrieving a parameter for controlling the layout of the element; determining whether the retrieved parameter indicates that the first condition is satisfied or the second condition is satisfied; displaying on the display the element in accordance with the first layout when the first condition is satisfied; and displaying on the display the element in accordance with the second layout when the second condition is satisfied; wherein layouts and conditions included in the display description file only specify how to display elements defined in the display description file. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A computer-readable storage medium storing computer instructions, the computer instructions when executed by a computer performs a method for specifying alternate layouts of an element using a display description language, the method comprising:
-
providing a display description file that specifies the display description using the display description language that includes; a definition of the element, the definition of the element occurring only once in the display description file; a first condition and a first layout for the definition of the element; and a second condition and a second layout for the definition of the element; and when processing the definition of the element of the provided display description file, parsing by the computing device the display description file to identify the definition of the element, the first condition and the first layout, and the second condition and the second layout; retrieving a parameter for controlling the layout of the element; determining whether the retrieved parameter indicates that the first condition is satisfied or the second condition is satisfied; displaying the element in accordance with the first layout when it is determined that the first condition is satisfied; and displaying the element in accordance with the second layout when it is determined that the second condition is satisfied; wherein layouts and conditions included in the same display description file only specify how to display elements defined in the display description file, wherein the element has child elements and the layouts specify the layout of the child elements, wherein a layout specifies a table in which the child elements are to be displayed, and wherein the layout that specifies the table further specifies that a cell within the table for a child element and another cell for another child element is to be automatically selected. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification