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.timeline.zooming.ZoomSettingsPane.EnumSliderLabelFormatter<> Class Template Reference

Inherits StringConverter< Double >.

Public Member Functions

Double fromString (String string)
String toString (Double dbl)

Private Attributes

final Class< EnumType > clazz
final Function< Integer, Integer > indexAdjsuter

Detailed Description

StringConverter for the tick Labels of a Slider that is "backed" by an Enum. Narrows the Slider's Double value to an Integer and then uses that as the index of the Enum value whose displayName will be shown as the tick Label

<EnumType>The type of Enum that this converter works with.

Definition at line 239 of file

Member Function Documentation

Definition at line 274 of file

Definition at line 258 of file

Member Data Documentation

A Type token for the class of Enum that this converter works with.

Definition at line 244 of file

final Function<Integer, Integer> org.sleuthkit.autopsy.timeline.zooming.ZoomSettingsPane.EnumSliderLabelFormatter<>.indexAdjsuter

A Function that can be used to adjust the narrowed slider value if it doesn't correspond exactly to the Enum value index.

Definition at line 250 of file

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.