|
Autopsy
4.12.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 238 of file ZoomSettingsPane.java.
| Double org.sleuthkit.autopsy.timeline.zooming.ZoomSettingsPane.EnumSliderLabelFormatter<>.fromString | ( | String | string | ) |
Definition at line 273 of file ZoomSettingsPane.java.
| String org.sleuthkit.autopsy.timeline.zooming.ZoomSettingsPane.EnumSliderLabelFormatter<>.toString | ( | Double | dbl | ) |
Definition at line 257 of file ZoomSettingsPane.java.
|
private |
A Type token for the class of Enum that this converter works with.
Definition at line 243 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 249 of file ZoomSettingsPane.java.
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.