Autopsy
4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< List< BarChartSeries > >.
Classes | |
class | OrderedKey |
Public Member Functions | |
BarChartPanel () | |
BarChartPanel (String title, String categoryLabel, String valueLabel) | |
String | getTitle () |
BarChartPanel | setTitle (String title) |
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) |
abstract void | setResults (T data) |
void | setResults (List< BarChartSeries > data) |
Private Attributes | |
final JFreeChart | chart |
final DefaultCategoryDataset | dataset = new DefaultCategoryDataset() |
final ChartMessageOverlay | overlay = new ChartMessageOverlay() |
final CategoryPlot | plot |
Static Private Attributes | |
static final Font | DEFAULT_FONT = new JLabel().getFont() |
static final Font | DEFAULT_HEADER_FONT = new Font(DEFAULT_FONT.getName(), DEFAULT_FONT.getStyle(), (int) (DEFAULT_FONT.getSize() * 1.5)) |
static final long | serialVersionUID = 1L |
A bar chart panel.
Definition at line 40 of file BarChartPanel.java.
org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.BarChartPanel | ( | ) |
Main constructor assuming null values for all items.
Definition at line 133 of file BarChartPanel.java.
org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.BarChartPanel | ( | String | title, |
String | categoryLabel, | ||
String | valueLabel | ||
) |
Main constructor for the pie chart.
title | The title for this pie chart. |
categoryLabel | The x-axis label. |
valueLabel | The y-axis label. |
Definition at line 144 of file BarChartPanel.java.
|
staticinherited |
Definition at line 58 of file AbstractLoadableComponent.java.
|
staticinherited |
Definition at line 65 of file AbstractLoadableComponent.java.
String org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.getTitle | ( | ) |
Definition at line 183 of file BarChartPanel.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.setTitle().
|
protected |
Definition at line 202 of file BarChartPanel.java.
|
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 208 of file BarChartPanel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.getColor(), org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.getItems(), org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.BarChartItem.getKey(), org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.getKey(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.BarChartItem.getValue().
BarChartPanel org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.setTitle | ( | String | title | ) |
Sets the title for this pie chart.
title | The title. |
Definition at line 196 of file BarChartPanel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.getTitle().
|
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.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >::getData(), org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >::getException(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >::getResultType().
|
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 |
Definition at line 127 of file BarChartPanel.java.
|
private |
Definition at line 126 of file BarChartPanel.java.
|
staticinherited |
The default error message.
Definition at line 46 of file AbstractLoadableComponent.java.
|
staticprivate |
Definition at line 122 of file BarChartPanel.java.
|
staticprivate |
Definition at line 123 of file BarChartPanel.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 125 of file BarChartPanel.java.
|
private |
Definition at line 128 of file BarChartPanel.java.
|
staticprivate |
Definition at line 120 of file BarChartPanel.java.
Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.