Class BooleanField
- java.lang.Object
-
- com.inet.taskplanner.server.api.field.Field
-
- com.inet.taskplanner.server.api.field.BooleanField
-
@JsonData public class BooleanField extends Field
A field that allows a boolean state to be displayed as a checkbox. Possible values are "true" and "false" as String- Since:
- taskplanner 3.0
-
-
Constructor Summary
Constructors Constructor Description BooleanField(java.lang.String key, java.lang.String label)
Creates the field for setting a true or false valueBooleanField(java.lang.String key, java.lang.String label, java.lang.String postText)
Creates the field for setting a true or false value
-
Method Summary
-
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
-
BooleanField
public BooleanField(java.lang.String key, java.lang.String label)
Creates the field for setting a true or false value- Parameters:
key
- the key of the fieldlabel
- the label to be displayed in front of the checkbox- Since:
- taskplanner 3.0
-
BooleanField
public BooleanField(java.lang.String key, java.lang.String label, java.lang.String postText)
Creates the field for setting a true or false value- Parameters:
key
- the key of the fieldlabel
- the label to be displayed in front of the checkboxpostText
- the text to be displayed after the checkbox- Since:
- taskplanner 3.0
-
-