Autopsy
4.19.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits AbstractTableModel, and org.sleuthkit.autopsy.datasourcesummary.uiutils.ListTableModel< T >.
Public Member Functions | |
DefaultListTableModel (List< Function< T,?extends Object >> columns) | |
int | getColumnCount () |
List< T > | getDataRows () |
int | getRowCount () |
Object | getValueAt (int rowIndex, int columnIndex) |
void | setDataRows (List< T > dataRows) |
Private Attributes | |
final List< Function< T,?extends Object > > | columns |
List< T > | dataRows = Collections.emptyList() |
Static Private Attributes | |
static final long | serialVersionUID = 1L |
A TableModel for a JTable designed to show a list of data where each item in the list represents a row.
Definition at line 31 of file DefaultListTableModel.java.
org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.DefaultListTableModel | ( | List< Function< T,?extends Object >> | columns | ) |
Main constructor.
columns | A list of functions where the index of each function represents the data to be displayed at each column index. The data displayed at row 'r' and column 'c' will be the result of columns.get(c).apply(dataRows.get(r)). |
Definition at line 45 of file DefaultListTableModel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.columns.
int org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.getColumnCount | ( | ) |
Definition at line 66 of file DefaultListTableModel.java.
List<T> org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.getDataRows | ( | ) |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.ListTableModel< T >.
Definition at line 50 of file DefaultListTableModel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.dataRows.
int org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.getRowCount | ( | ) |
Definition at line 61 of file DefaultListTableModel.java.
Object org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.getValueAt | ( | int | rowIndex, |
int | columnIndex | ||
) |
Definition at line 71 of file DefaultListTableModel.java.
void org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.setDataRows | ( | List< T > | dataRows | ) |
Sets the list of objects to be displayed in the table.
dataRows | The datarows to be displayed. |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.ListTableModel< T >.
Definition at line 55 of file DefaultListTableModel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.dataRows.
|
private |
Definition at line 34 of file DefaultListTableModel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.DefaultListTableModel().
|
private |
Definition at line 35 of file DefaultListTableModel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.getDataRows(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultListTableModel< T >.setDataRows().
|
staticprivate |
Definition at line 33 of file DefaultListTableModel.java.
Copyright © 2012-2021 Basis Technology. Generated on: Thu Sep 30 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.