Annotation Interface RangeNumber
A start and end pair within
This is
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() edited with two number inputs
This is
RangeSlider without the track so it suits ranges too wide to drag across
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 ElementsModifier and TypeOptional ElementDescriptionClass<? extends ValueFormatter> floatfloatfloatAmount the arrows on each input step by
-
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 stepAmount the arrows on each input step by- Default:
1.0f
-
formatter
Class<? extends ValueFormatter> formatter- Default:
org.polyfrost.oneconfig.api.config.v1.ValueFormatter.class
-