INTELLIGENT TEXT REDUCTION FOR GRAPHICAL INTERFACE ELEMENTS
First Claim
1. A method comprising:
- at a computer system comprising at least one processor and a memory storing computer programs for execution by the processor;
receiving inputs from an application or framework that implements the user interface when at least one text string is too long to be displayed in a display element of the user interface, the inputs comprising the text string, an amount of available space in the display element, and an identification of the language of the text string;
executing, by the processor, a text reduction algorithm on the text string;
identifying one or more short forms of the text string that fit within the available space of the display element based on executing the text reduction algorithm; and
communicating the identified short forms of the text string to the application or framework for display in the display element of the user interface.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is an improved system for performing intelligent text reduction on text strings for optimal display in a variety of user interface display elements. The system includes a smart text reduction algorithm that can shorten text strings as necessary in response to resizing the user interface or elements therein. The system also includes a design time user interface for application developers (or other users) to design graphical user interfaces in a collaborative workspace. The design time user interface incorporates the smart text reduction algorithm to enable designers to modify user interface display elements and run the text reduction algorithm on any text strings that no longer fit within the modified display elements. The described embodiments can also translate text strings of user interface display elements and can execute the smart text shortening algorithm on the translated text strings accordingly.
-
Citations
20 Claims
-
1. A method comprising:
-
at a computer system comprising at least one processor and a memory storing computer programs for execution by the processor; receiving inputs from an application or framework that implements the user interface when at least one text string is too long to be displayed in a display element of the user interface, the inputs comprising the text string, an amount of available space in the display element, and an identification of the language of the text string; executing, by the processor, a text reduction algorithm on the text string; identifying one or more short forms of the text string that fit within the available space of the display element based on executing the text reduction algorithm; and communicating the identified short forms of the text string to the application or framework for display in the display element of the user interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer system comprising:
-
at least one processor; a communications medium coupled with the processor; a system memory in communication with the processor via the communication medium, the system memory configured to store programmed computer code, which when executed by the processor, causes the processor to perform operations comprising; receiving inputs from an application or framework that implements the user interface when at least one text string is too long to be displayed in a display element of the user interface, the inputs comprising the text string, an amount of available space in the display element, and an identification of the language of the text string; executing a text reduction algorithm on the text string; identifying one or more short forms of the text string that fit within the available space of the display element based on executing the text reduction algorithm; and communicating the identified short forms of the text string to the application or framework for display in the display element of the user interface. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A non-transitory computer readable storage medium storing programmed computer code, which when executed by a computer system having at least one processor and a memory storing computer programs for execution by the processor, causes the computer system to perform operations comprising:
-
receiving inputs from an application or framework that implements the user interface when at least one text string is too long to be displayed in a display element of the user interface, the inputs comprising the text string, an amount of available space in the display element, and an identification of the language of the text string; executing, by the processor, a text reduction algorithm on the text string; identifying one or more short forms of the text string that fit within the available space of the display element based on executing the text reduction algorithm; and communicating the identified short forms of the text string to the application or framework for display in the display element of the user interface. - View Dependent Claims (20)
-
Specification