Class FileField


@JsonData public class FileField extends FolderField
A field that allows the definition of a file.
Since:
taskplanner 3.0
  • Constructor Details

    • FileField

      public FileField(String key, String label)
      Creates the field for choosing a file
      Parameters:
      key - the key of the field
      label - the label to be displayed in front of the field
      Since:
      taskplanner 3.0
  • Method Details

    • setFilter

      public void setFilter(List<String> filter)
      Sets the filter of allowed file names. E.g. "*.pdf"
      Parameters:
      filter - the file name filters
      Since:
      taskplanner 3.0