Annotation Interface RangeSlider


@Retention(RUNTIME) @Target(FIELD) @Documented public @interface RangeSlider
A slider with two handles, selecting a start/end pair within min() and max().
The annotated field holds both ends together, as a two-element numeric array or list (for example float[], int[] or List<Integer>), where index 0 is the start and index 1 is the end. Values are written back in whatever container shape the field already holds, so its type is preserved.
  • Element Details

    • title

      String title
    • description

      String description
      Default:
      ""
    • icon

      String icon
      Default:
      ""
    • category

      String category
      Default:
      "General"
    • subcategory

      String subcategory
      Default:
      "General"
    • min

      float min
      Default:
      0.0f
    • max

      float max
      Default:
      100.0f
    • step

      float step
      Default:
      1.0f