Interface HasRequired

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isRequired()
      Reflects the required HTML attribute, indicating that the user must fill in a value before submitting a form.
      void setRequired​(boolean arg)
      Reflects the required HTML attribute, indicating that the user must fill in a value before submitting a form.
    • Method Detail

      • isRequired

        boolean isRequired()
        Reflects the required HTML attribute, indicating that the user must fill in a value before submitting a form.
        Returns:
        required true/false
      • setRequired

        void setRequired​(boolean arg)
        Reflects the required HTML attribute, indicating that the user must fill in a value before submitting a form.
        Parameters:
        arg - required true/false