Class SelectField


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

      • SelectField

        public SelectField​(java.lang.String key,
                           java.lang.String label,
                           java.util.ArrayList<com.inet.config.structure.model.LocalizedKey> values)
        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
        values - the list of translated values
        Since:
        taskplanner 3.0
    • Method Detail

      • getValues

        public java.util.ArrayList<com.inet.config.structure.model.LocalizedKey> getValues()
        Returns the list of translated values
        Returns:
        the list of translated values
        Since:
        taskplanner 3.0