Method and system for providing interface defaults
First Claim
1. A computer-implemented method for searching for a value to provide to a property of an element of a user interface, comprising:
- determining, using a computer comprising a processor and memory, whether a default property sheet is designated as important and contains a rule that provides a value to a property, then applying the rule to the property when the default property sheet is designated as important and contains the rule, wherein order of addition of rules to the default property sheet makes no difference, the order of addition of rules containing a rule-order independence allowing only two rule types, the two rule types comprising a first rule type comprising rules that have no tree selector and leftmost type is same as that of an element adding the rule, and a second rule type comprising rules that have a tree selector and where a last tree selector is a child selector rather than a descendant selector and where the last tree selector has a leftmost type that is same as an element adding the rule, and wherein the default property sheet increases in priority when designated as important;
if the default sheet is not designated as important, searching for an in-line rule that provides a value to the property;
if no in-line rule is found that provides a value to the property, then searching for a non-default property sheet that includes a rule that provides a value to the property; and
if no non-default property sheet is found that includes a rule that provides a value to the property, then searching for a default property sheet not designated as important that includes a rule that provides a value to the property, wherein the default property sheet that includes a rule that provides a value to the property is promoted from non-important to important in response to a user input;
if no default property sheet is found that includes a rule that provides a value to the property, then searching for a value inheritance rule that provides a value to the property; and
if no value inheritance rule is found that provides a value to the property, then providing a default value to the property.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a default property sheet system that coordinates default values for elements used in a user interface. Interface designers add default values for the properties of the elements that they define. The default “value” is broadly understood. Not limited to fixed values, the default property sheet can provide a rule for calculating a default value. The rule can take into account, for example, aspects of the present environment. The order of searching for a rule that provides a value to a property of an interface element is defined. Other collections of value-setting rules, called “non-default property sheets,” can be created that take precedence over the default property sheet. The default property sheet can be a “theme of last resort.” If a property of an interface element is not given a value elsewhere, then the property is given the value specified in the default property sheet.
-
Citations
18 Claims
-
1. A computer-implemented method for searching for a value to provide to a property of an element of a user interface, comprising:
-
determining, using a computer comprising a processor and memory, whether a default property sheet is designated as important and contains a rule that provides a value to a property, then applying the rule to the property when the default property sheet is designated as important and contains the rule, wherein order of addition of rules to the default property sheet makes no difference, the order of addition of rules containing a rule-order independence allowing only two rule types, the two rule types comprising a first rule type comprising rules that have no tree selector and leftmost type is same as that of an element adding the rule, and a second rule type comprising rules that have a tree selector and where a last tree selector is a child selector rather than a descendant selector and where the last tree selector has a leftmost type that is same as an element adding the rule, and wherein the default property sheet increases in priority when designated as important; if the default sheet is not designated as important, searching for an in-line rule that provides a value to the property; if no in-line rule is found that provides a value to the property, then searching for a non-default property sheet that includes a rule that provides a value to the property; and if no non-default property sheet is found that includes a rule that provides a value to the property, then searching for a default property sheet not designated as important that includes a rule that provides a value to the property, wherein the default property sheet that includes a rule that provides a value to the property is promoted from non-important to important in response to a user input; if no default property sheet is found that includes a rule that provides a value to the property, then searching for a value inheritance rule that provides a value to the property; and if no value inheritance rule is found that provides a value to the property, then providing a default value to the property. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-readable storage medium containing computer-executable instructions, executed on a computer, cause the computer to perform a method for searching for a value to provide to a property of an element of a user interface, the method comprising:
-
determining, whether a default property sheet is designated as important and contains a rule that provides a value to a property, then applying the rule to the property when the default property sheet is designated as important and contains the rule, wherein order of addition of rules to the default property sheet makes no difference, the order of addition of rules containing a rule-order independence allowing only two rule types, the two rule types comprising a first rule type comprising rules that have no tree selector and whose leftmost type is same as an element adding the rule, and a second rule type comprising rules that have a tree selector and where a last tree selector is a child selector rather than a descendant selector and where the last tree selector has a leftmost type that is same as an element adding the rule, and wherein the default property sheet increases in priority when designated as important; if the default sheet is not designated as important, searching for an in-line rule that provides a value to the property; if no in-line rule is found that provides a value to the property, then searching for a non-default property sheet that includes a rule that provides a value to the property; and if no non-default property sheet is found that includes a rule that provides a value to the property, then searching for a default property sheet not designated as important that includes a rule that provides a value to the property, wherein the default property sheet that includes a rule that provides a value to the property is promoted from non-important to important in response to a user input if no default property sheet is found that includes a rule that provides a value to the property, then searching for a value inheritance rule that provides a value to the property; and if no value inheritance rule is found that provides a value to the property, then providing a default value to the property.
-
-
8. A computer-implemented method for providing a value to a property of an element of a user interface, comprising:
-
determining, using a computer comprising a processor and memory, if a default property sheet designated as important and contains a rule that provides a value to a property exists, then applying the rule to provide the value to the property, wherein order of addition of rules to the default property sheet makes no difference, the order of addition of rules containing a rule-order independence allowing only two rule types, the two rule types comprising a first rule type comprising rules that have no tree selector and whose leftmost type is same as an element adding the rule, and a second rule type comprising rules that have a tree selector and where a last tree selector is a child selector rather than a descendant selector and where the last tree selector has a leftmost type that is same as an element adding the rule, and wherein the default property sheet increases in priority when designated as important; else if an in-line rule exists to provide a value to the property, then applying the in-line rule to provide a value to the property; else if a non-default property sheet includes a rule to provide a value to the property, then applying the non-default property sheet rule to provide a value to the property; else if a default property sheet not designated as important includes a rule to provide a value to the property, then applying the default property sheet rule to provide a value to the property, wherein the default property sheet that includes a rule that provides a value to the property is promoted from non-important to important in response to a user input; else if no default property sheet includes a rule to provide a value to the property, then if a value inheritance rule exists to provide a value to the property, then applying the value inheritance rule to provide a value to the property; and if no value inheritance rule exists to provide a value to the property, then providing a default value to the property. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer-readable storage medium containing computer-executable instructions executed on a computer causes the computer to perform a method for providing a value to a property of an element of a user interface, the method comprising:
-
if a default property sheet designated as important and contains a rule that provides a value to a property exists, then applying the rule to provide the value to the property, wherein order of addition of rules to the default property sheet makes no difference, the order of addition of rules containing a rule-order independence allowing only two rule types, the two rule types comprising a first rule type comprising rules that have no tree selector and whose leftmost type is same as an element adding the rule, and a second rule type comprising rules that have a tree selector and where a last tree selector is a child selector rather than a descendant selector and where the last tree selector has a leftmost type that is same as an element adding the rule, and wherein the default property sheet increases in priority when designated as important;
else if an in-line rule exists to provide a value to the property, then applying the in-line rule to provide a value to the property;else if a non-default property sheet includes a rule to provide a value to the property, then applying the non-default property sheet rule to provide a value to the property; else if a default property sheet not designated as important includes a rule to provide a value to the property, then applying the default property sheet rule to provide a value to the property, wherein the default property sheet that includes a rule that provides a value to the property is promoted from non-important to important in response to a user input else if no default property sheet includes a rule to provide a value to the property, then if a value inheritance rule exists to provide a value to the property, then applying the value inheritance rule to provide a value to the property; and if no value inheritance rule exists to provide a value to the property, then providing a default value to the property.
-
Specification