Autopsy
4.17.0
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 | ColumnModel |
class | Overlay |
Public Member Functions | |
JTablePanel (ListTableModel< T > tableModel) | |
JTablePanel () | |
CellMouseListener | getCellListener () |
TableColumnModel | getColumnModel () |
Function< T,?extends Object > | getKeyFunction () |
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 > JTablePanel< T > | getJTablePanel (List< ColumnModel< T >> columns) |
static< T > TableColumnModel | getTableColumnModel (List< ColumnModel< T >> columns) |
static< T > ListTableModel< T > | getTableModel (List< ColumnModel< T >> 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 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 43 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 300 of file JTablePanel.java.
Default constructor.
Definition at line 308 of file JTablePanel.java.
CellMouseListener org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.getCellListener | ( | ) |
Definition at line 354 of file JTablePanel.java.
TableColumnModel org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.getColumnModel | ( | ) |
Definition at line 373 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 279 of file JTablePanel.java.
Function<T, ? extends Object> org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.getKeyFunction | ( | ) |
Definition at line 393 of file JTablePanel.java.
|
static |
Generates a TableColumnModel based on the column definitions.
columns | The column definitions. |
Definition at line 231 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< Pair< String, Integer > >.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 263 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< Pair< String, Integer > >.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 454 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< Pair< String, Integer > >.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 365 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< Pair< String, Integer > >.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 384 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< Pair< String, Integer > >.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 405 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 446 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 340 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< Pair< String, Integer > >.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 415 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 |
|
staticprivate |
Definition at line 222 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.
|
private |
|
private |
Definition at line 289 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< Pair< String, Integer > >.initComponents().
|
staticprivate |
Definition at line 220 of file JTablePanel.java.
|
private |
Definition at line 291 of file JTablePanel.java.
|
private |
Definition at line 290 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< Pair< String, Integer > >.getJTablePanel(), org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< Pair< String, Integer > >.getTableColumnModel(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< Pair< String, Integer > >.setModel().
|
private |
Definition at line 288 of file JTablePanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< Pair< String, Integer > >.initComponents().
Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.