Package com.codename1.ui.table
package com.codename1.ui.table
Tables of data.
DataGrid shows a TableModel, or a tree of rows from a TreeTableModel,
for data sets of any size: it paints only the rows on screen, and sorts,
filters and groups by moving row numbers rather than data. Its columns are
GridColumns, painted by a GridCellRenderer and edited in place by a
GridCellEditor.
Table lays out a component for each cell with TableLayout, which suits a
small form arranged in rows and columns.
-
ClassDescriptionThis abstract class extends table model with various capabilities such as type information etc.A grid of data for large sets: a
TableModelor a tree of rows, with sorting, filtering, grouping, frozen columns, resizable and movable columns, selection, keyboard navigation and editing in place.What a tap selects.The editor aDataGriduses for a column that has none: a text field for text and numbers, a date picker for dates and a picker of the column's choices.The renderer aDataGriduses for a column that has none: text aligned by kind, a check box for a boolean, and an image scaled to the row.A default implementation of the table model based on a two dimensional array.What a group row of aDataGridshows in a column: the values of the group's rows folded into one.One cell of aDataGridas a renderer or an editor sees it.Edits the cells of aDataGridcolumn.Takes the taps on the cells of a grid while an editor wants them, the way a spreadsheet puts a reference into the formula being typed when a cell is tapped.Paints the cells of aDataGridcolumn.One column of aDataGrid: which column of the model it shows, its title and width, and how its values are painted, compared and edited.What a column holds, which decides how it is aligned, compared and edited.Decides which rows of aDataGridare shown.Turns the values of aGridColumninto the text a cell shows, and the text typed into an editor back into a value.One row of the data under aDataGrid, as a filter sees it: a row of aTableModelor a node of aTreeTableModel.The sort aDataGridorders its rows with, for any other list of rows.A proxy that wraps the table model providing sorting API that can be leveraged by the tableTheTableclass represents a grid of data that can be used for rendering a grid of components/labels.TableLayout is a very elaborate constraint based layout manager that can arrange elements in rows/columns while defining constraints to control complex behavior such as spanning, alignment/weight etc.Represents the layout constraint for an entry within the table indicating the desired position/behavior of the component.The table and table model class are complimentry classes allowing the quick construction of tabular data controls.The open nodes of aTreeTableModel, flattened into rows in the order they are shown: the row engine of a treeDataGrid, for any other view of a tree that needs rows.The data of a tree grid: aTreeModelwhose every node also has a value in each column.