Class BooleanField
java.lang.Object
com.inet.taskplanner.server.api.field.Field
com.inet.taskplanner.server.api.field.BooleanField
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
ConstructorsConstructorDescriptionBooleanField
(String key, String label) Creates the field for setting a true or false valueBooleanField
(String key, String label, 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 Details
-
BooleanField
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
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
-