Inherits org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< List< PieChartPanel.PieChartItem > >.
|
final JFreeChart | chart |
|
final DefaultPieDataset | dataset = new DefaultPieDataset() |
|
final ChartMessageOverlay | overlay = new ChartMessageOverlay() |
|
final PiePlot | plot |
|
A pie chart panel.
Definition at line 42 of file PieChartPanel.java.
org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.PieChartPanel |
( |
| ) |
|
org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.PieChartPanel |
( |
String |
title | ) |
|
Main constructor for the pie chart.
- Parameters
-
title | The title for this pie chart. |
Definition at line 123 of file PieChartPanel.java.
String org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.getTitle |
( |
| ) |
|
void org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.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.PieChartPanel.setResults |
( |
List< PieChartPanel.PieChartItem > |
data | ) |
|
|
protected |
PieChartPanel org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.setTitle |
( |
String |
title | ) |
|
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.
synchronized void org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.showDataWithMessage |
( |
List< PieChartPanel.PieChartItem > |
data, |
|
|
String |
message |
|
) |
| |
Shows a message on top of data.
- Parameters
-
data | The data. |
message | The message. |
Definition at line 205 of file PieChartPanel.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.PieChartPanel.chart |
|
private |
final DefaultPieDataset org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.dataset = new DefaultPieDataset() |
|
private |
final double org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.DEFAULT_CHART_PADDING = .1 |
|
staticprivate |
final Font org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.DEFAULT_FONT = new JLabel().getFont() |
|
staticprivate |
final Font org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.DEFAULT_HEADER_FONT = new Font(DEFAULT_FONT.getName(), DEFAULT_FONT.getStyle(), (int) (DEFAULT_FONT.getSize() * 1.5)) |
|
staticprivate |
final PieSectionLabelGenerator org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.DEFAULT_LABEL_GENERATOR |
|
staticprivate |
Initial value:= new StandardPieSectionLabelGenerator(
"{0}: {1} ({2})", new DecimalFormat("#,###"), new DecimalFormat("0.0%"))
Definition at line 103 of file PieChartPanel.java.
final double org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.NEAR_ZERO = Math.ulp(1d) |
|
staticprivate |
It appears that JFreeChart will show nothing if all values are zero. So this is a value close to zero but not to be displayed.
Definition at line 97 of file PieChartPanel.java.
final Color org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.NO_DATA_COLOR = Color.WHITE |
|
staticprivate |
final ChartMessageOverlay org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.overlay = new ChartMessageOverlay() |
|
private |
final PiePlot org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.plot |
|
private |
final long org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.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/PieChartPanel.java