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.

  • Class
    Description
    This abstract class extends table model with various capabilities such as type information etc.
    A grid of data for large sets: a TableModel or 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 a DataGrid uses 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 a DataGrid uses 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 a DataGrid shows in a column: the values of the group's rows folded into one.
    One cell of a DataGrid as a renderer or an editor sees it.
    Edits the cells of a DataGrid column.
    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 a DataGrid column.
    One column of a DataGrid: 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 a DataGrid are shown.
    Turns the values of a GridColumn into the text a cell shows, and the text typed into an editor back into a value.
    One row of the data under a DataGrid, as a filter sees it: a row of a TableModel or a node of a TreeTableModel.
    The sort a DataGrid orders 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 table
    The Table class 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 a TreeTableModel, flattened into rows in the order they are shown: the row engine of a tree DataGrid, for any other view of a tree that needs rows.
    The data of a tree grid: a TreeModel whose every node also has a value in each column.