Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public final class GridRow

  1. Object
  2. GridRow

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.

Methods

public Object getValue(int modelColumn)The value in column modelColumn of the model.
public int getModelRow()The row of the TableModel, or -1 in a tree grid.
public Object getNode()The node of the TreeTableModel, or null in a flat grid.
public int getDepth()How deep the node is: 0 for a root, and always 0 in a flat grid.

Inherited methods

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.