Annotation Interface SliderProperty
Annotation to specify which fields, among those annotated with
UIProperty
,
should be displayed as sliders when using PropertySheetFactory
methods to
create a PropertySheet
Sliders from JavaFX only work with double values, so the annotated field must be of
type double.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSpecifies the category of the parameter.Specifies the display name for this slider.double
The maximum value of the sliderdouble
The minimum value of the sliderdouble
The precision of the slider when using the mouse wheel.
-
Element Details
-
min
double minThe minimum value of the slider- Returns:
- the minimum value
- Default:
4.9E-324
-
max
double maxThe maximum value of the slider- Returns:
- the maximum value
- Default:
1.7976931348623157E308
-
scrollPrecision
double scrollPrecisionThe precision of the slider when using the mouse wheel. Default is 1 unit.- Returns:
- the precision of the scrolling
- Default:
1.0
-
displayName
String displayNameSpecifies the display name for this slider. If not specified, the field name will be used.- Returns:
- the display name
- Default:
""
-
category
String categorySpecifies the category of the parameter.- Returns:
- the category of the parameter
- Default:
""
-