Adaptive column selection
First Claim
1. A computer-implemented method comprising:
- obtaining a size of a display area;
obtaining column descriptors, each column descriptor identifying a column and a column width;
determining a set of columns to present, comprising;
comparing the column width of a column to an available size remaining in the display area, andincluding the column in the set in response to determining that the column width is less than the available size;
in response to determining that the column width is more than the available size;
checking a value associated with the column to determine whether the column can be clipped;
in response to determining that the column can be clipped adjusting the column width to the available size; and
in response to determining that the column cannot be clipped hiding the column;
calculating an aggregate width of all the columns in the set;
allocating a portion of the size of the display area to each column in the set of columns based on a ratio of width of the respective column and the aggregate width; and
presenting the columns in the set of columns on the display area.
4 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for adaptive column selection. One of the methods includes obtaining a size of a display area. The method includes obtaining column descriptors, each column descriptor identifying a column and a column width. The method includes determining a set of columns to present, including comparing the column width of a column to an available size remaining, and including the column in the set in response to determining that the column size is less than the available size. The method includes calculating an aggregate width of all the columns in the set. The method includes allocating a portion of the size to each column in the set of columns based on a ratio of width of the respective column and the aggregate width. The method also includes presenting the columns in the set of columns on the display area.
-
Citations
15 Claims
-
1. A computer-implemented method comprising:
-
obtaining a size of a display area; obtaining column descriptors, each column descriptor identifying a column and a column width; determining a set of columns to present, comprising; comparing the column width of a column to an available size remaining in the display area, and including the column in the set in response to determining that the column width is less than the available size; in response to determining that the column width is more than the available size; checking a value associated with the column to determine whether the column can be clipped; in response to determining that the column can be clipped adjusting the column width to the available size; and in response to determining that the column cannot be clipped hiding the column; calculating an aggregate width of all the columns in the set; allocating a portion of the size of the display area to each column in the set of columns based on a ratio of width of the respective column and the aggregate width; and presenting the columns in the set of columns on the display area. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A non-transitory computer storage medium encoded with computer program instructions that when executed by one or more computers cause the one or more computers to perform operations comprising:
-
determining a set of columns to present, comprising; comparing the column width of a column to an available size remaining in the display area, and including the column in the set in response to determining that the column width is less than the available size; in response to determining that the column width is more than the available size; checking a value associated with the column to determine whether the column can be clipped; in response to determining that the column can be clipped adjusting the column width to the available size; and in response to determining that the column cannot be clipped hiding the column; calculating an aggregate width of all the columns in the set; allocating a portion of the size of the display area to each column in the set of columns based on a ratio of width of the respective column and the aggregate width; and presenting the columns in the set of columns on the display area. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A system comprising:
-
one or more computers and one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising; obtaining a size of a display area; obtaining column descriptors, each column descriptor identifying a column and a column width; determining a set of columns to present, comprising; comparing the column width of a column to an available size remaining in the display area, and including the column in the set in response to determining that the column width is less than the available size; in response to determining that the column width is more than the available size; checking a value associated with the column to determine whether the column can be clipped; in response to determining that the column can be clipped adjusting the column width to the available size; and in response to determining that the column cannot be clipped hiding the column; calculating an aggregate width of all the columns in the set; allocating a portion of the size of the display area to each column in the set of columns based on a ratio of width of the respective column and the aggregate width; and presenting the columns in the set of columns on the display area. - View Dependent Claims (12, 13, 14, 15)
-
Specification