Class FileField
java.lang.Object
com.inet.taskplanner.server.api.field.Field
com.inet.taskplanner.server.api.field.FolderField
com.inet.taskplanner.server.api.field.FileField
A field that allows the definition of a file.
- Since:
- taskplanner 3.0
-
Field Summary
Fields inherited from class com.inet.taskplanner.server.api.field.FolderField
PROTOCOL_FILE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.inet.taskplanner.server.api.field.FolderField
getAllAvailableProtocols, patchResultPlaceholderInValue, patchSeriesPlaceholderInValue, setProtocols
Methods inherited from class com.inet.taskplanner.server.api.field.Field
getConditions, getKey, getLabel, getPlaceholder, getType, getValue, isUpdateValuesOnChange, isValueSavable, replaceSeriesPlaceholders, setConditions, setKey, setLabel, setPlaceholder, setType, setType, setUpdateValuesOnChange, setValue, setValueSavable
-
Constructor Details
-
FileField
Creates the field for choosing a file- Parameters:
key
- the key of the fieldlabel
- the label to be displayed in front of the field- Since:
- taskplanner 3.0
-
-
Method Details
-
setFilter
Sets the filter of allowed file names. E.g. "*.pdf"- Parameters:
filter
- the file name filters- Since:
- taskplanner 3.0
-