Class FileField


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

      • FileField

        public FileField​(java.lang.String key,
                         java.lang.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 Detail

      • setFilter

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