Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | List of all members
org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableComponent< T > Interface Template Reference

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)
 

Detailed Description

Interface for a loadable component that can show messages, results, or a DataFetchResult.

Definition at line 25 of file LoadableComponent.java.

Member Function Documentation

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.

Parameters
resultThe DataFetchResult.
errorMessageThe error message to be shown in the event of an error.
noResultsMessageThe message to be shown if there are no results but the operation completed successfully.

Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.

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.

Parameters
resultThe DataFetchResult.

Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.

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.

Parameters
messageThe message to be shown.

Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.

Shows the list as rows of data in the table. If overlay message will be cleared if present.

Parameters
dataThe data to be shown where each item represents a row of data.

Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.


The documentation for this interface was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Mon Sep 26 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.