Autopsy  4.16.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

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

Definition at line 239 of file ZoomSettingsPane.java.

Member Function Documentation

Definition at line 274 of file ZoomSettingsPane.java.

Definition at line 258 of file ZoomSettingsPane.java.

Member Data Documentation

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

Definition at line 244 of file ZoomSettingsPane.java.

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

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 ZoomSettingsPane.java.


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

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