Autopsy
4.17.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
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 |
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 ZoomSettingsPane.java.
Double org.sleuthkit.autopsy.timeline.zooming.ZoomSettingsPane.EnumSliderLabelFormatter<>.fromString | ( | String | string | ) |
Definition at line 274 of file ZoomSettingsPane.java.
String org.sleuthkit.autopsy.timeline.zooming.ZoomSettingsPane.EnumSliderLabelFormatter<>.toString | ( | Double | dbl | ) |
Definition at line 258 of file ZoomSettingsPane.java.
|
private |
A Type token for the class of Enum that this converter works with.
Definition at line 244 of file ZoomSettingsPane.java.
|
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.
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.