Class SelectInputFieldMulti

java.lang.Object
com.inet.taskplanner.server.api.field.Field
com.inet.taskplanner.server.api.field.SelectInputFieldMulti

@JsonData public class SelectInputFieldMulti extends Field
A field that allows to choose multiple values from a list of predefined values.
Since:
taskplanner 3.0
  • Constructor Details

    • SelectInputFieldMulti

      public SelectInputFieldMulti(String key, String label, int typeID)
      Creates the field for selecting a value from a predefined list
      Parameters:
      key - the key of the field
      label - the label to be displayed in front of the field
      typeID - type ID, known to implementors and callers of TaskFieldListGenerator
      Since:
      taskplanner 3.0
  • Method Details

    • setValue

      public void setValue(String value)
      Sets the current value of the field
      Overrides:
      setValue in class Field
      Parameters:
      value - the current value of the field
    • setDisplay

      public void setDisplay(String value)
      manually sets the display value this field should have
      Parameters:
      value - the display value this field should have
      Since:
      taskplanner 5.0