Interface TreeTableDataModel
-
- All Superinterfaces:
TableDataModel
- All Known Implementing Classes:
AbstractTreeTableDataModel
,SimpleBeanTreeTableDataModel
@Deprecated public interface TreeTableDataModel extends TableDataModel
Deprecated.UseWTable
andWTable.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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TableTreeNode
getNodeAtLine(int row)
Deprecated.Returns the node at the given line.Object
getValueAt(TableTreeNode node, int col)
Deprecated.Retrieves the value at the given row and column.-
Methods inherited from interface com.github.bordertech.wcomponents.TableDataModel
getFilterValues, getRowCount, getRowHeader, getValueAt, isCellEditable, isDisabled, isSelectable, isSortable, setValueAt, sort
-
-
-
-
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.
-
-