Autopsy  4.21.0
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

Constructor & Destructor Documentation

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

Main constructor.

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

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

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

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

Definition at line 173 of file

Member Data Documentation

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

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

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