Class SelectInputFieldMulti
- java.lang.Object
-
- com.inet.taskplanner.server.api.field.Field
-
- com.inet.taskplanner.server.api.field.SelectInputFieldMulti
-
@JsonData public class SelectInputFieldMulti extends Field
A field that allows to choose multiple values from a list of predefined values.- Since:
- taskplanner 3.0
-
-
Constructor Summary
Constructors Constructor Description SelectInputFieldMulti(java.lang.String key, java.lang.String label, int typeID)
Creates the field for selecting a value from a predefined list
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setDisplay(java.lang.String value)
manually sets the display value this field should havevoid
setValue(java.lang.String value)
Sets the current value of the field-
Methods inherited from class com.inet.taskplanner.server.api.field.Field
getConditions, getKey, getLabel, getPlaceholder, getType, getValue, isUpdateValuesOnChange, isValueSavable, patchResultPlaceholderInValue, patchSeriesPlaceholderInValue, replaceSeriesPlaceholders, setConditions, setKey, setLabel, setPlaceholder, setType, setType, setUpdateValuesOnChange, setValueSavable
-
-
-
-
Constructor Detail
-
SelectInputFieldMulti
public SelectInputFieldMulti(java.lang.String key, java.lang.String label, int typeID)
Creates the field for selecting a value from a predefined list- Parameters:
key
- the key of the fieldlabel
- the label to be displayed in front of the fieldtypeID
- type ID, known to implementors and callers of TaskFieldListGenerator- Since:
- taskplanner 3.0
-
-
Method Detail
-
setValue
public void setValue(java.lang.String value)
Sets the current value of the field
-
setDisplay
public void setDisplay(java.lang.String value)
manually sets the display value this field should have- Parameters:
value
- the display value this field should have- Since:
- taskplanner 5.0
-
-