Autopsy  4.17.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.BarChartPanel.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 127 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.uiutils.BarChartPanel.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 139 of file

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

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

Member Function Documentation

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

Definition at line 159 of file

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

Definition at line 170 of file

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

Definition at line 194 of file

Member Data Documentation

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

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

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