Autopsy  4.18.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 47 of file BarChartPanel.java.

Constructor & Destructor Documentation

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

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 79 of file BarChartPanel.java.

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

Definition at line 90 of file BarChartPanel.java.

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

Definition at line 114 of file BarChartPanel.java.

Member Data Documentation

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

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

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