Class GridRow

java.lang.Object
com.codename1.ui.table.GridRow

public final class GridRow extends Object

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 grid hands the same object out for every row it asks about, so a row is read where it is given and never kept.

  • Method Details

    • getValue

      public Object getValue(int modelColumn)
      The value in column modelColumn of the model.
    • getModelRow

      public int getModelRow()
      The row of the TableModel, or -1 in a tree grid.
    • getNode

      public Object getNode()
      The node of the TreeTableModel, or null in a flat grid.
    • getDepth

      public int getDepth()
      How deep the node is: 0 for a root, and always 0 in a flat grid.