×

Automatic layout of graphical user interface screens from object data

  • US 9,864,739 B1
  • Filed: 03/13/2013
  • Issued: 01/09/2018
  • Est. Priority Date: 03/13/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method of operating a computer having a display and an interface to a network, comprising:

  • using a request-response protocol over the network to (i) send a resource request to a server application of a remote computer, the resource request requesting object data, and (ii) receive a resource response from the server application of the remote computer in response to the resource request, the resource response including a structured text description of a resource as one or more data objects, each data object including a respective set of attributes each having an attribute name and attribute value, the data objects and the attributes of each data object appearing in the resource response in a display order;

    subsequently, in a first layout generating step, (A) determining whether the structured text description of the resource in the resource response includes only a single data object or an array of data objects, and (B) selecting a display format by (1) for the single data object, selecting a form display format and a number of form columns to be used based on (a) the number of attributes of the single data object and (b) a width of label;

    value pairs to be placed in the form columns to display the attributes of the single data object, and (2) for the array of data objects, selecting a table display format and a number of table columns to be used based on (c) the number of attributes of each data object of the array and (b) respective widths of the table columns for displaying respective attribute values;

    in a subsequent second layout generating step, creating a specification of a display object of the selected display format to be rendered in a graphical user interface window on the display, the specification being created to include;

    for the form display format, the label;

    value pairs of the single data object and corresponding location information specifying respective locations of the label;

    value pairs in the form columns in the graphical user interface window according to the display order of the attributes in the resource response; and

    for the table display format, a table definition and row data values for the data objects of the array, the table definition including the number of columns and respective column headings corresponding to the attribute names of the data objects in the display order of the attributes in the resource response, each row data value containing the attribute values for a corresponding data object of the array in the display order of the attributes in the resource response, the row data values being ordered according to the display order in the resource response of the respective data objects of the array; and

    subsequently rendering the display object on the display based on the specification as created.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×