Class SelectField
- java.lang.Object
-
- com.inet.taskplanner.server.api.field.Field
-
- com.inet.taskplanner.server.api.field.SelectField
-
@JsonData public class SelectField extends Field
A field that allows to choose from a list of predefined values.- Since:
- taskplanner 3.0
-
-
Constructor Summary
Constructors Constructor Description SelectField(java.lang.String key, java.lang.String label, java.util.ArrayList<com.inet.config.structure.model.LocalizedKey> values)
Creates the field for selecting a value from a predefined list
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<com.inet.config.structure.model.LocalizedKey>
getValues()
Returns the list of translated values-
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, setValue, setValueSavable
-
-
-
-
Constructor Detail
-
SelectField
public SelectField(java.lang.String key, java.lang.String label, java.util.ArrayList<com.inet.config.structure.model.LocalizedKey> values)
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 fieldvalues
- the list of translated values- Since:
- taskplanner 3.0
-
-