Interface TreeTableDataModel

  • All Superinterfaces:
    TableDataModel
    All Known Implementing Classes:
    AbstractTreeTableDataModel, SimpleBeanTreeTableDataModel

    @Deprecated
    public interface TreeTableDataModel
    extends TableDataModel
    Deprecated.
    Use WTable and WTable.TableModel instead.

    TableDataModel provides the data for tables. In a MVC sense, the TableDataModel is the Model, the WDataTable is the controller and the view is comprised of the WTable layout and column renderers.

    Note that Data may be stored locally or sourced remotely, depending on the particular TableDataModel implementation.

    Row and column indices for all methods are zero-based, and TableDataModels are not expected to perform bounds-checking.

    Since:
    1.0.0
    Author:
    Yiannis Paschalidis
    • Method Detail

      • getValueAt

        Object getValueAt​(TableTreeNode node,
                          int col)
        Deprecated.
        Retrieves the value at the given row and column.
        Parameters:
        node - - the tree node for the row.
        col - - the column index.
        Returns:
        the value at the given row and column.
      • getNodeAtLine

        TableTreeNode getNodeAtLine​(int row)
        Deprecated.
        Returns the node at the given line.
        Parameters:
        row - the row index.
        Returns:
        the node at the given line, or null if the index is out of bounds.