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 Details

    • BooleanField

      public BooleanField(String key, String label)
      Creates the field for setting a true or false value
      Parameters:
      key - the key of the field
      label - the label to be displayed in front of the checkbox
      Since:
      taskplanner 3.0
    • BooleanField

      public BooleanField(String key, String label, String postText)
      Creates the field for setting a true or false value
      Parameters:
      key - the key of the field
      label - the label to be displayed in front of the checkbox
      postText - the text to be displayed after the checkbox
      Since:
      taskplanner 3.0