Programmatic user interface generation based on display size
Abstract
Non-limiting examples of the present disclosure describe programmatic generation of a user interface for display on a processing device. A display class is determined from a plurality of display classes based on a detected display size of a processing device on which the user interface is to display. Prior to instantiating a user interface window, a stored user interface definition is identified and interpreted. The stored user interface definition comprises at least one programmed command object. A displayed user interface is instantiated on the processing device, where the displayed user interface comprises at least one user interface element. The user interface element is programmatically generated by translating the programmed command object of the user interface definition into the user interface element based on operations set in accordance with the determined display class. Other examples are also described.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A computer-implemented method comprising:
determining a display class from a plurality of display classes based on a detected display size of a processing device on which a user interface is to display; prior to instantiating a user interface window, identifying and interpreting a stored user interface definition that comprises at least one programmed command object; and instantiating, on the processing device, a displayed user interface that comprises at least one user interface element, wherein the user interface element is programmatically generated by translating the programmed command object into the user interface element based on operations set in accordance with the determined display class.
2 . The computer-implemented method according to claim 1 , wherein the display size is a value determined from at least one of a screen diagonal of the display of the processing device and a resolution of the display of the processing device.
3 . The computer-implemented method according to claim 1 , wherein the identifying and interpreting further comprises occurs at runtime of an application associated with the user interface.
4 . The computer-implemented method according to claim 1 , wherein the stored user interface definition comprises definitions for the programmed command object and grouping data for presenting the programmed command object as the user interface element.
5 . The computer-implemented method according to claim 1 , wherein the translating of the programmed command object into the user interface element further comprises setting a size of the user interface element based on the operations corresponding with the determine display class.
6 . The computer-implemented method according to claim 1 , wherein the translating of the programmed command object into the user interface element further comprises setting a style of the user interface element based on the operations corresponding with the determine display class.
7 . The computer-implemented method according to claim 1 , wherein the translating of the programmed command object into the user interface element further comprises setting a layout of the user interface element based on the grouping data of the user interface definition and the operations corresponding with the determine display class.
8 . The computer-implemented method according to claim 1 , further comprising creating a user interface definition file comprising one or more programmed command objects, and storing the user interface definition file in a memory of the processing device.
9 . The computer-implemented method according to claim 1 , further comprising receiving update to the stored user interface definition, and instantiating the displayed user interface based on the updated stored user interface definition.
10 . A system comprising:
a memory; and at least one processor operatively connected with the memory, executing operations comprising:
determining a display class from a plurality of display classes based on a detected display size of a processing device on which a user interface is to display,
prior to instantiating a user interface window, identifying and interpreting a stored user interface definition that comprises at least one programmed command object, and
instantiating, on the processing device, a displayed user interface that comprises at least one user interface element, wherein the user interface element is programmatically generated by translating the programmed command object into the user interface element based on operations set in accordance with the determined display class.
11 . The system according to claim 10 , wherein the display size is a value determined from at least one of a screen diagonal of the display of the processing device and a resolution of the display of the processing device.
12 . The system according to claim 10 , wherein processor executes the identifying and interpreting of the stored user interface definition at runtime of an application associated with the user interface.
13 . The system according to claim 10 , wherein the stored user interface definition is stored in the memory and comprises definitions for the programmed command object and grouping data for presenting the programmed command object as the user interface element.
14 . The system according to claim 10 , wherein the translating of the programmed command object into the user interface element further comprises setting a size of the user interface element based on the operations corresponding with the determine display class.
15 . The system according to claim 10 , wherein the translating of the programmed command object into the user interface element further comprises setting a style of the user interface element based on the operations corresponding with the determine display class.
16 . The system according to claim 10 , wherein the translating of the programmed command object into the user interface element further comprises setting a layout of the user interface element based on the grouping data of the user interface definition and the operations corresponding with the determine display class.
17 . The system according to claim 10 , wherein the executed operations further comprising creating a user interface definition file comprising one or more programmed command objects, and storing the user interface definition file in the memory of the system.
18 . The system according to claim 10 , wherein the executed operations further comprising receiving update to the stored user interface definition, and instantiating the displayed user interface based on the updated stored user interface definition.
19 . A computer-readable storage device including executable instructions, that when executed on at least one processor, causing the processor to perform a process comprising:
determining a display class from a plurality of display classes based on a detected display size of a processing device on which a user interface is to display; prior to instantiating a user interface window, identifying and interpreting a stored user interface definition that comprises a plurality of groupings of programmed command objects; and instantiating, on the processing device, a displayed user interface that comprises at least one user interface control palette, wherein the user interface control palette is programmatically generated by translating the plurality of groupings of programmed command objects into a plurality of groupings of user interface elements based on operations set in accordance with the determined display class.
20 . The computer-readable storage device according to claim 19 , wherein the process comprising receiving update to the stored user interface definition, and instantiating the displayed user interface based on an updated stored user interface definition.Join the waitlist — get patent alerts
Track US2016132301A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.