Annotation Interface SliderProperty


@Target(FIELD) @Retention(RUNTIME) public @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 Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the category of the parameter.
    Specifies the display name for this slider.
    double
    The maximum value of the slider
    double
    The minimum value of the slider
    double
    The precision of the slider when using the mouse wheel.
  • Element Details

    • min

      double min
      The minimum value of the slider
      Returns:
      the minimum value
      Default:
      4.9E-324
    • max

      double max
      The maximum value of the slider
      Returns:
      the maximum value
      Default:
      1.7976931348623157E308
    • scrollPrecision

      double scrollPrecision
      The precision of the slider when using the mouse wheel. Default is 1 unit.
      Returns:
      the precision of the scrolling
      Default:
      1.0
    • displayName

      String displayName
      Specifies the display name for this slider. If not specified, the field name will be used.
      Returns:
      the display name
      Default:
      ""
    • category

      String category
      Specifies the category of the parameter.
      Returns:
      the category of the parameter
      Default:
      ""