Annotation Interface RangeSlider
A slider with two handles selecting a start and end pair within
The annotated field holds both ends together as a two-element numeric array or list such as
Values are written back in whatever container shape the field already holds so its type is preserved
min() and max()
The annotated field holds both ends together as a two-element numeric array or list such as
float[] or 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
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
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
-
formatter
Class<? extends ValueFormatter> formatter- Default:
org.polyfrost.oneconfig.api.config.v1.ValueFormatter.class
-