Autopsy
4.19.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherited by org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.
Public Member Functions | |
void | showDataFetchResult (DataFetchResult< T > result, String errorMessage, String noResultsMessage) |
void | showDataFetchResult (DataFetchResult< T > result) |
void | showDefaultLoadingMessage () |
void | showMessage (String message) |
void | showResults (T data) |
Interface for a loadable component that can show messages, results, or a DataFetchResult.
Definition at line 25 of file LoadableComponent.java.
void org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< 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. |
Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.
void org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< 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. |
Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.
void org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< T >.showDefaultLoadingMessage | ( | ) |
Shows a default loading message on the table. This will clear any results in the table.
Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.
void org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< T >.showMessage | ( | String | message | ) |
Clears the results from the underlying JTable and shows the provided message.
message | The message to be shown. |
Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.
void org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< 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. |
Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.
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.