Annotation Interface SliderList


@Retention(RUNTIME) @Target(FIELD) @Documented public @interface SliderList
Renders a user-editable list of numbers, each row being a slider with a value field beside it.

The annotated field must be a numeric array (int[], float[], double[], long[], ...) or a List of numbers; see NumberList for how the element type is decided and for the plain number-input variant.

  • Element Details

    • title

      String title
    • titleTranslation

      boolean titleTranslation
      Default:
      false
    • description

      String description
      Default:
      ""
    • descriptionTranslation

      boolean descriptionTranslation
      Default:
      false
    • icon

      String icon
      Default:
      ""
    • category

      String category
      Default:
      "General"
    • categoryTranslation

      boolean categoryTranslation
      Default:
      false
    • subcategory

      String subcategory
      Default:
      "General"
    • subcategoryTranslation

      boolean subcategoryTranslation
      Default:
      false
    • min

      float min
      Default:
      0.0f
    • max

      float max
      Default:
      100.0f
    • step

      float step
      Value the slider snaps to multiples of. 0 slides continuously.
      Default:
      1.0f
    • maxEntries

      int maxEntries
      Maximum number of entries the user may add. 0 means unlimited.
      Default:
      0
    • reorderable

      boolean reorderable
      Allow the user to drag entries to reorder them.
      Default:
      true
    • addText

      String addText
      Label of the button that appends a new entry.
      Default:
      "Add"
    • addTextTranslation

      boolean addTextTranslation
      Default:
      false