Inherits org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< List< BarChartPanel.BarChartSeries > >.
|
final JFreeChart | chart |
|
final DefaultCategoryDataset | dataset = new DefaultCategoryDataset() |
|
final ChartMessageOverlay | overlay = new ChartMessageOverlay() |
|
final CategoryPlot | plot |
|
A bar chart panel.
Definition at line 41 of file BarChartPanel.java.
org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.BarChartPanel |
( |
| ) |
|
org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.BarChartPanel |
( |
String |
title, |
|
|
String |
categoryLabel, |
|
|
String |
valueLabel |
|
) |
| |
Main constructor for the pie chart.
- Parameters
-
title | The title for this pie chart. |
categoryLabel | The x-axis label. |
valueLabel | The y-axis label. |
Definition at line 224 of file BarChartPanel.java.
String org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.getTitle |
( |
| ) |
|
void org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.setMessage |
( |
boolean |
visible, |
|
|
String |
message |
|
) |
| |
|
protected |
|
abstractprotectedinherited |
Sets the data to be shown in the JTable. Repaint does not need to be handled in this method.
- Parameters
-
data | The list of data objects to be shown. |
void org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.setResults |
( |
List< BarChartPanel.BarChartSeries > |
data | ) |
|
|
protected |
BarChartPanel org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.setTitle |
( |
String |
title | ) |
|
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
-
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.
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
-
result | The DataFetchResult. |
Definition at line 150 of file AbstractLoadableComponent.java.
Clears the results from the underlying JTable and shows the provided message.
- Parameters
-
message | The message to be shown. |
Definition at line 75 of file AbstractLoadableComponent.java.
Shows the list as rows of data in the table. If overlay message will be cleared if present.
- Parameters
-
data | The data to be shown where each item represents a row of data. |
Definition at line 96 of file AbstractLoadableComponent.java.
final JFreeChart org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.chart |
|
private |
final DefaultCategoryDataset org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.dataset = new DefaultCategoryDataset() |
|
private |
final Font org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.DEFAULT_FONT = new JLabel().getFont() |
|
staticprivate |
final Font org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.DEFAULT_HEADER_FONT = new Font(DEFAULT_FONT.getName(), DEFAULT_FONT.getStyle(), (int) (DEFAULT_FONT.getSize() * 1.5)) |
|
staticprivate |
final ChartMessageOverlay org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.overlay = new ChartMessageOverlay() |
|
private |
final CategoryPlot org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.plot |
|
private |
final long org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.serialVersionUID = 1L |
|
staticprivate |
The documentation for this class was generated from the following file:
- /home/carriersleuth/repos/autopsy/Core/src/org/sleuthkit/autopsy/datasourcesummary/uiutils/BarChartPanel.java