Annotation Interface DraggableList


@Retention(RUNTIME) @Target(FIELD) @Documented public @interface DraggableList
Renders a reorderable list. The annotated field must be String[].

When checkable = false (default), the property value is the full ordered list. When checkable = true, options holds all items and the property value is the ordered subset of enabled items.

  • Element Details

    • title

      String title
    • titleKey

      String titleKey
      Default:
      ""
    • description

      String description
      Default:
      ""
    • descriptionKey

      String descriptionKey
      Default:
      ""
    • icon

      String icon
      Default:
      ""
    • category

      String category
      Default:
      "General"
    • categoryKey

      String categoryKey
      Default:
      ""
    • subcategory

      String subcategory
      Default:
      "General"
    • subcategoryKey

      String subcategoryKey
      Default:
      ""
    • options

      String[] options
      Full set of items. Required when checkable = true; optional otherwise.
      Default:
      {}
    • optionsKey

      String[] optionsKey
      Default:
      {}
    • checkable

      boolean checkable
      Show checkboxes to enable/disable individual items.
      Default:
      false