Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel, and org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< T >.
Public Member Functions | |
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 Public Attributes | |
static final String | DEFAULT_ERROR_MESSAGE = Bundle.AbstractLoadableComponent_errorMessage_defaultText() |
static final String | DEFAULT_LOADING_MESSAGE = Bundle.AbstractLoadableComponent_loadingMessage_defaultText() |
static final String | DEFAULT_NO_RESULTS_MESSAGE = Bundle.AbstractLoadableComponent_noDataExists_defaultText() |
Protected Member Functions | |
abstract void | setMessage (boolean visible, String message) |
abstract void | setResults (T data) |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(AbstractLoadableComponent.class.getName()) |
static final long | serialVersionUID = 1L |
Abstract class for common methods of a loadable component.
Definition at line 34 of file AbstractLoadableComponent.java.
|
static |
Definition at line 58 of file AbstractLoadableComponent.java.
|
static |
Definition at line 65 of file AbstractLoadableComponent.java.
|
abstractprotected |
Sets the message and visibility of the message. Repaint does not need to be handled in this method.
visible | The visibility of the message. |
message | The message to be displayed if visible. |
|
abstractprotected |
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. |
void org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.showDataFetchResult | ( | DataFetchResult< T > | result, |
String | errorMessage, | ||
String | noResultsMessage | ||
) |
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. |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< T >.
Definition at line 114 of file AbstractLoadableComponent.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.handleResult().
void org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.showDataFetchResult | ( | DataFetchResult< T > | result | ) |
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. |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< T >.
Definition at line 150 of file AbstractLoadableComponent.java.
void org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.showDefaultLoadingMessage | ( | ) |
Shows a default loading message on the table. This will clear any results in the table.
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< T >.
Definition at line 85 of file AbstractLoadableComponent.java.
synchronized void org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.showMessage | ( | String | message | ) |
Clears the results from the underlying JTable and shows the provided message.
message | The message to be shown. |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< T >.
Definition at line 75 of file AbstractLoadableComponent.java.
synchronized void org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.showResults | ( | T | data | ) |
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. |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< T >.
Definition at line 96 of file AbstractLoadableComponent.java.
|
static |
The default error message.
Definition at line 46 of file AbstractLoadableComponent.java.
|
static |
The default loading message.
Definition at line 41 of file AbstractLoadableComponent.java.
|
static |
The default 'no results' message.
Definition at line 51 of file AbstractLoadableComponent.java.
|
staticprivate |
Definition at line 53 of file AbstractLoadableComponent.java.
|
staticprivate |
Definition at line 36 of file AbstractLoadableComponent.java.
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.