public class Select
extends AbstractFormField
A pojo representing a select element
  • Field Details

    • multiple

      private Boolean multiple
      The multiple attribute of the select element
    • required

      private Boolean required
      The required attribute of the select element
    • size

      private Integer size
      The size attribute of the select element
    • options

      private List<Option> options
      The inner options of the select element
    • label

      private String label
      A label for the select element
  • Constructor Details

  • Method Details

    • builder

      public static Select.SelectBuilder builder()
    • setAutoFocus

      public void setAutoFocus​(Boolean autoFocus)
    • setDisabled

      public void setDisabled​(Boolean disabled)
    • setForm

      public void setForm​(String form)
    • setMultiple

      public void setMultiple​(Boolean multiple)
    • setRequired

      public void setRequired​(Boolean required)
    • setSize

      public void setSize​(Integer size)
    • setOptions

      public void setOptions​(List<Option> options)
    • setLabel

      public void setLabel​(String label)
    • addOption

      public void addOption​(Option option)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual​(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getMultiple

      public Boolean getMultiple()
    • getRequired

      public Boolean getRequired()
    • getSize

      public Integer getSize()
    • getOptions

      public List<Option> getOptions()
    • getLabel

      public String getLabel()