Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< String >.
Public Member Functions | |
LoadableLabel (String key) | |
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 |
static final String | DEFAULT_LOADING_MESSAGE |
static final String | DEFAULT_NO_RESULTS_MESSAGE |
Protected Member Functions | |
void | setMessage (boolean visible, String message) |
void | setResults (String data) |
abstract void | setResults (T data) |
Private Member Functions | |
void | setValue (String value) |
Private Attributes | |
final String | key |
final JLabel | label = new JLabel() |
Static Private Attributes | |
static final long | serialVersionUID = 1L |
A label that allows for displaying loading messages and can be used with a DataFetchResult. Text displays as "<key>:<value | message>".
Definition at line 29 of file LoadableLabel.java.
org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableLabel.LoadableLabel | ( | String | key | ) |
Main constructor for the label.
key | The key to be displayed. |
Definition at line 41 of file LoadableLabel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableLabel.key, and org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< String >.showResults().
|
staticinherited |
Definition at line 58 of file AbstractLoadableComponent.java.
|
staticinherited |
Definition at line 65 of file AbstractLoadableComponent.java.
|
protected |
Definition at line 55 of file LoadableLabel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableLabel.setValue().
|
protected |
Definition at line 60 of file LoadableLabel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableLabel.setValue().
|
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. |
|
private |
Definition at line 48 of file LoadableLabel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableLabel.key.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableLabel.setMessage(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableLabel.setResults().
|
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.
|
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.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableLabel::LoadableLabel().
|
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 |
Definition at line 34 of file LoadableLabel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableLabel.LoadableLabel(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.LoadableLabel.setValue().
|
private |
Definition at line 33 of file LoadableLabel.java.
|
staticprivate |
Definition at line 31 of file LoadableLabel.java.
Copyright © 2012-2022 Basis Technology. Generated on: Fri Mar 24 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.