Method and system for separation of content and layout definitions in a display description
First Claim
1. A method for specifying alternate layouts of an element of a display description specified using a display description language, the method comprising:
- providing a definition of the element;
providing a first condition and a first layout for the definition of the element;
providing a second condition and a second layout for the definition of the element; and
when processing the definition of the element, displaying the element in accordance with the first layout when the first condition is satisfied; and
displaying the element in accordance with the second layout when the second condition is satisfied.
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.
105 Citations
55 Claims
-
1. A method for specifying alternate layouts of an element of a display description specified using a display description language, the method comprising:
-
providing a definition of the element;
providing a first condition and a first layout for the definition of the element;
providing a second condition and a second layout for the definition of the element; and
when processing the definition of the element, displaying the element in accordance with the first layout when the first condition is satisfied; and
displaying the element in accordance with the second layout when the second condition is satisfied. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer system for specifying alternate layouts of an element of a display description, comprising:
-
a display description having a definition of the element and condition and layout pairs for the element; and
a display component that generates a display based on the display description by displaying the element in accordance with a layout of a pair when the condition of the pair is satisfied. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A method for specifying alternate layouts of child elements of an element using a display description language, the method comprising:
-
providing a child element layout attribute for specifying the layout of child elements of an element, the child element layout attribute having at least two attribute values that specify different layouts for the child elements;
providing a style for a class of elements, the style specifying a first attribute value for the child element layout property when a first condition is satisfied and a second attribute value for the child element layout property when a second condition is satisfied; and
when processing an element of the class, when the first condition is satisfied, laying out the child elements of the element in accordance with the first attribute value of the child element layout property; and
when the second condition is satisfied, laying out the child elements of the element in accordance with the second attribute value of the child element layout property. - View Dependent Claims (26, 27, 28, 29, 30)
-
-
31. A method in a computer system for positioning cells within a table, the method comprising:
-
providing a definition in a display description language of content of an element having child elements;
providing a specification in the display description language that the content of the element is to be laid out as a table, the specification of layout being not integrated with the provided definition of the content of the element; and
when processing the definition of the content of element, generating a table having cell positions;
automatically identifying a cell position for each child element; and
placing content defined by each child element in the identified cell position for that child element. - View Dependent Claims (32, 33, 34, 35, 36, 37, 38, 39)
-
-
40. A computer-readable medium containing a data structure specifying alternate layouts of an element, the data structure comprising:
-
a definition of an element;
a first condition and a first layout associated with the element; and
a second condition and a second layout associated with the element wherein the element is laid out in accordance with the first layout when the first condition is satisfied and with the second layout when the second condition is satisfied. - View Dependent Claims (41, 42, 43, 44, 45, 46, 47)
-
-
48. A method performed by a computer system for specifying layout of an element of a display description specified using a display description language, the method comprising:
-
providing a definition of content of the element;
providing a specification of the layout of the content, the specification of the layout being separate from the definition of the content; and
when processing the definition of the content, rendering the content in accordance with the specification of the layout of the content. - View Dependent Claims (49, 50, 51, 52, 53, 54, 55)
-
Specification