Class FileOrFolderField


@JsonData public class FileOrFolderField extends FolderField
A field that allows the definition of a file or a folder.
  • Constructor Details

    • FileOrFolderField

      public FileOrFolderField(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