Class FileOrFolderField


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

      • FileOrFolderField

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