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.BarChartSeries.OrderedKey Class Reference

Inherits Comparable< OrderedKey >.

Public Member Functions

 OrderedKey (Object keyValue, int keyIndex)
 
int compareTo (OrderedKey o)
 
boolean equals (Object obj)
 
int hashCode ()
 
String toString ()
 

Private Attributes

final int keyIndex
 
final Object keyValue
 

Detailed Description

JFreeChart bar charts don't preserve the order of bars provided to the chart, but instead uses the comparable nature to order items. This provides order using a provided index as well as the value for the axis.

Definition at line 106 of file BarChartSeries.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.OrderedKey.OrderedKey ( Object  keyValue,
int  keyIndex 
)

Main constructor.

Parameters
keyValueThe value for the key to be displayed in the domain axis.
keyIndexThe index at which it will be displayed.

Definition at line 118 of file BarChartSeries.java.

References org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.OrderedKey.keyIndex, and org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.OrderedKey.keyValue.

Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.OrderedKey.equals().

Member Function Documentation

int org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.OrderedKey.compareTo ( OrderedKey  o)

Definition at line 138 of file BarChartSeries.java.

boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.OrderedKey.equals ( Object  obj)
int org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.OrderedKey.hashCode ( )

Definition at line 149 of file BarChartSeries.java.

String org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.OrderedKey.toString ( )

Definition at line 173 of file BarChartSeries.java.

Member Data Documentation

final int org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.OrderedKey.keyIndex
private
final Object org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartSeries.OrderedKey.keyValue
private

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

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