Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem Class Reference

Public Member Functions

 PieChartItem (String label, double value, Color color)
 
Color getColor ()
 
String getLabel ()
 
double getValue ()
 

Private Attributes

final Color color
 
final String label
 
final double value
 

Detailed Description

An individual pie chart slice in the pie chart.

Definition at line 26 of file PieChartItem.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.PieChartItem ( String  label,
double  value,
Color  color 
)

Main constructor.

Parameters
labelThe label for this pie slice.
valueThe value for this item.
colorThe color for the pie slice. Can be null for auto-determined.

Definition at line 40 of file PieChartItem.java.

References org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.color, org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.label, and org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.value.

Member Function Documentation

Color org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.getColor ( )
Returns
The color for the pie slice or null for auto-determined.

Definition at line 63 of file PieChartItem.java.

References org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.color.

String org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.getLabel ( )
Returns
The label for this item.

Definition at line 49 of file PieChartItem.java.

References org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.label.

double org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.getValue ( )
Returns
The value for this item.

Definition at line 56 of file PieChartItem.java.

References org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.value.

Member Data Documentation

final Color org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.color
private
final String org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.label
private
final double org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartItem.value
private

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

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