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
    • titleTranslation

      boolean titleTranslation
      Default:
      false
    • titleKey

      Deprecated.
      Default:
      ""
    • description

      String description
      Default:
      ""
    • descriptionTranslation

      boolean descriptionTranslation
      Default:
      false
    • descriptionKey

      @Deprecated String descriptionKey
      Deprecated.
      Default:
      ""
    • icon

      String icon
      Default:
      ""
    • category

      String category
      Default:
      "General"
    • categoryTranslation

      boolean categoryTranslation
      Default:
      false
    • categoryKey

      @Deprecated String categoryKey
      Deprecated.
      Default:
      ""
    • subcategory

      String subcategory
      Default:
      "General"
    • subcategoryTranslation

      boolean subcategoryTranslation
      Default:
      false
    • subcategoryKey

      @Deprecated String subcategoryKey
      Deprecated.
      Default:
      ""
    • options

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

      boolean optionsTranslation
      Default:
      false
    • optionsKey

      @Deprecated String[] optionsKey
      Deprecated.
      Default:
      {}
    • checkable

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