Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< List< T > >.
Classes | |
class | CellMouseEvent |
interface | CellMouseListener |
class | Overlay |
Public Member Functions | |
JTablePanel (ListTableModel< T > tableModel) | |
JTablePanel () | |
CellMouseListener | getCellListener () |
TableColumnModel | getColumnModel () |
Function< T,?extends Object > | getKeyFunction () |
List< T > | getSelectedItems () |
JTablePanel< T > | setCellListener (CellMouseListener cellListener) |
JTablePanel< T > | setColumnModel (TableColumnModel columnModel) |
JTablePanel< T > | setKeyFunction (Function< T,?extends Object > keyFunction) |
final JTablePanel< T > | setModel (ListTableModel< T > tableModel) |
void | showDataFetchResult (DataFetchResult< T > result, String errorMessage, String noResultsMessage) |
void | showDataFetchResult (DataFetchResult< T > result) |
void | showDefaultLoadingMessage () |
synchronized void | showMessage (String message) |
synchronized void | showResults (T data) |
Static Public Member Functions | |
static String | getDefaultErrorMessage () |
static String | getDefaultNoResultsMessage () |
static< T, CextendsGuiCellModel > JTablePanel< T > | getJTablePanel (List< ColumnModel< T, C >> columns) |
static< T, CextendsGuiCellModel > TableColumnModel | getTableColumnModel (List< ColumnModel< T, C >> columns) |
static< T, CextendsGuiCellModel > ListTableModel< T > | getTableModel (List< ColumnModel< T, C >> columns) |
Static Public Attributes | |
static final String | DEFAULT_ERROR_MESSAGE |
static final String | DEFAULT_LOADING_MESSAGE |
static final String | DEFAULT_NO_RESULTS_MESSAGE |
Protected Member Functions | |
void | setMessage (boolean visible, String message) |
abstract void | setResults (T data) |
synchronized void | setResults (List< T > data) |
Private Member Functions | |
void | initComponents () |
Private Attributes | |
CellMouseListener | cellListener = null |
Function< T,?extends Object > | keyFunction = (rowItem) -> rowItem |
Overlay | overlayLayer |
JTable | table |
ListTableModel< T > | tableModel |
JScrollPane | tableScrollPane |
Static Private Attributes | |
static final CellModelTableCellRenderer | DEFAULT_CELL_RENDERER = new CellModelTableCellRenderer() |
static final int | EXTRA_ROW_HEIGHT = 4 |
static final long | serialVersionUID = 1L |
A table that displays a list of items and also can display messages for loading, load error, and not loaded.
Definition at line 42 of file JTablePanel.java.
org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.JTablePanel | ( | ListTableModel< T > | tableModel | ) |
Panel constructor.
tableModel | The model to use for the table. |
Definition at line 241 of file JTablePanel.java.
Default constructor.
Definition at line 250 of file JTablePanel.java.
CellMouseListener org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.getCellListener | ( | ) |
Definition at line 297 of file JTablePanel.java.
TableColumnModel org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.getColumnModel | ( | ) |
Definition at line 317 of file JTablePanel.java.
|
staticinherited |
Definition at line 58 of file AbstractLoadableComponent.java.
|
staticinherited |
Definition at line 65 of file AbstractLoadableComponent.java.
|
static |
Generates a JTablePanel corresponding to the provided column definitions where 'T' is the object representing each row.
columns | The column definitions. |
Definition at line 220 of file JTablePanel.java.
Function<T, ? extends Object> org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.getKeyFunction | ( | ) |
Definition at line 338 of file JTablePanel.java.
List<T> org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.getSelectedItems | ( | ) |
Returns the selected items or null if no item is selected.
Definition at line 364 of file JTablePanel.java.
|
static |
Generates a TableColumnModel based on the column definitions.
columns | The column definitions. |
Definition at line 172 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.getJTablePanel(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeAttchementsTable(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeDownloadTable(), and org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeOpenDocsTable().
|
static |
Generates a ListTableModel based on the column definitions provided where 'T' is the object representing each row.
columns | The column definitions. |
Definition at line 204 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.getJTablePanel(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeAttchementsTable(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeDownloadTable(), and org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeOpenDocsTable().
|
private |
Initialize the gui components.
Definition at line 414 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.JTablePanel().
JTablePanel<T> org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.setCellListener | ( | CellMouseListener | cellListener | ) |
Sets the current listener for mouse events.
cellListener | The event listener that will receive these events with cell and table context. |
Definition at line 309 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.getJTablePanel(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeAttchementsTable(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeDownloadTable(), and org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeOpenDocsTable().
JTablePanel<T> org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.setColumnModel | ( | TableColumnModel | columnModel | ) |
Sets the underlying JTable's column model.
columnModel | The table column model to use with the JTable. |
Definition at line 328 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.getJTablePanel(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeAttchementsTable(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeDownloadTable(), and org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeOpenDocsTable().
JTablePanel<T> org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.setKeyFunction | ( | Function< T,?extends Object > | keyFunction | ) |
Sets the function for determining the key for a data row. This key is used to maintain current selection in the table despite changing rows.
keyFunction | The function to determine the key of a row. |
Definition at line 350 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeAttchementsTable(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeDownloadTable(), and org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeOpenDocsTable().
|
protected |
Definition at line 406 of file JTablePanel.java.
final JTablePanel<T> org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.setModel | ( | ListTableModel< T > | tableModel | ) |
Set the table model. This method must be called prior to calling setResultList.
tableModel |
Definition at line 283 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeAttchementsTable(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeDownloadTable(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel.initalizeOpenDocsTable(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.JTablePanel().
|
abstractprotectedinherited |
Sets the data to be shown in the JTable. Repaint does not need to be handled in this method.
data | The list of data objects to be shown. |
|
protected |
Definition at line 375 of file JTablePanel.java.
|
inherited |
Shows the data in a DataFetchResult. If there was an error during the operation, the errorMessage will be displayed. If the operation completed successfully and no data is present, noResultsMessage will be shown. Otherwise, the data will be shown as rows in the table.
result | The DataFetchResult. |
errorMessage | The error message to be shown in the event of an error. |
noResultsMessage | The message to be shown if there are no results but the operation completed successfully. |
Definition at line 114 of file AbstractLoadableComponent.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.PastCasesPanel::handleResult(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel::initalizeAttchementsTable(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel::initalizeDownloadTable(), org.sleuthkit.autopsy.datasourcesummary.ui.RecentFilesPanel::initalizeOpenDocsTable(), and org.sleuthkit.autopsy.datasourcesummary.ui.UserActivityPanel::UserActivityPanel().
|
inherited |
Shows the data in a DataFetchResult. If there was an error during the operation, the DEFAULT_ERROR_MESSAGE will be displayed. If the operation completed successfully and no data is present, DEFAULT_NO_RESULTS_MESSAGE will be shown. Otherwise, the data will be shown as rows in the table.
result | The DataFetchResult. |
Definition at line 150 of file AbstractLoadableComponent.java.
|
inherited |
Shows a default loading message on the table. This will clear any results in the table.
Definition at line 85 of file AbstractLoadableComponent.java.
|
inherited |
Clears the results from the underlying JTable and shows the provided message.
message | The message to be shown. |
Definition at line 75 of file AbstractLoadableComponent.java.
|
inherited |
Shows the list as rows of data in the table. If overlay message will be cleared if present.
data | The data to be shown where each item represents a row of data. |
Definition at line 96 of file AbstractLoadableComponent.java.
|
private |
Definition at line 233 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.getCellListener(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.setCellListener().
|
staticprivate |
Definition at line 163 of file JTablePanel.java.
|
staticinherited |
The default error message.
Definition at line 46 of file AbstractLoadableComponent.java.
|
staticinherited |
The default loading message.
Definition at line 41 of file AbstractLoadableComponent.java.
|
staticinherited |
The default 'no results' message.
Definition at line 51 of file AbstractLoadableComponent.java.
|
staticprivate |
Definition at line 44 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.JTablePanel().
|
private |
Definition at line 234 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.getKeyFunction(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.setKeyFunction().
|
private |
Definition at line 230 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.initComponents().
|
staticprivate |
Definition at line 161 of file JTablePanel.java.
|
private |
Definition at line 232 of file JTablePanel.java.
|
private |
Definition at line 231 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.getJTablePanel(), org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.getTableColumnModel(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.setModel().
|
private |
Definition at line 229 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.initComponents().
Copyright © 2012-2022 Basis Technology. Generated on: Tue Jun 27 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.