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 strings.
- Since:
- taskplanner 3.0
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanField(String key, String label) Creates the field for setting a true or false value.BooleanField(String key, String label, String postText) Creates the field for setting a true or false valueBooleanField(String key, String label, String postText, String tooltip) Creates a boolean field with text after the checkbox and a tooltip for the checkbox. -
Method Summary
Methods inherited from class Field
getConditions, getKey, getLabel, getPlaceholder, getType, getValue, isUpdateValuesOnChange, isValueSavable, patchResultPlaceholderInValue, patchSeriesPlaceholderInValue, replaceSeriesPlaceholders, setConditions, setKey, setLabel, setPlaceholder, setType, setType, setUpdateValuesOnChange, setValue, setValueSavable
-
Constructor Details
-
BooleanField
-
BooleanField
-
BooleanField
Creates a boolean field with text after the checkbox and a tooltip for the checkbox.- Parameters:
key- the key of the fieldlabel- the label to be displayed in front of the checkboxpostText- the text to be displayed after the checkboxtooltip- the tooltip to be displayed for the checkbox- Since:
- 26.10
-