Class EmptyTableDataModel
- java.lang.Object
-
- com.github.bordertech.wcomponents.AbstractTableDataModel
-
- com.github.bordertech.wcomponents.EmptyTableDataModel
-
- All Implemented Interfaces:
TableDataModel
,Serializable
@Deprecated public final class EmptyTableDataModel extends AbstractTableDataModel
Deprecated.UseWTable
andEmptyTableModel
instead.An empty data model implementation, the default model used by WDataTable.- Since:
- 1.0.0
- Author:
- Yiannis Paschalidis
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyTableDataModel
INSTANCE
Deprecated.The singleton instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getRowCount()
Deprecated.Retrieves the number of rows in the model.Object
getValueAt(int row, int col)
Deprecated.Retrieves the value at the given row and column.-
Methods inherited from class com.github.bordertech.wcomponents.AbstractTableDataModel
getFilterValues, getRowHeader, isCellEditable, isDisabled, isSelectable, isSortable, setValueAt, sort, sort
-
-
-
-
Field Detail
-
INSTANCE
public static final EmptyTableDataModel INSTANCE
Deprecated.The singleton instance.
-
-
Method Detail
-
getRowCount
public int getRowCount()
Deprecated.Description copied from interface:TableDataModel
Retrieves the number of rows in the model.- Returns:
- 0, this table model is empty
-
getValueAt
public Object getValueAt(int row, int col)
Deprecated.Description copied from interface:TableDataModel
Retrieves the value at the given row and column.- Parameters:
row
- the row index, ignored.col
- the column index, ignored.- Returns:
- null, this table is empty
-
-