All Known Implementing Classes:
AbstractFormatingSuggestBox, AbstractFormatingTextBox, AbstractMinMaxTextBox, AbstractPhoneNumberSuggestBox, BicSuggestBox, CheckBox, ColorBox, CountryListBox, CurrencyBigDecimalBox, CurrencyDoubleBox, DateBox, DateBoxLocalDate, DateTimeLocalBox, DateTimeLocalBoxLocalDateTime, DecimalBigDecimalBox, DecimalDoubleBox, DynamicInputWidget, EmailTextBox, FieldTypeListBox, IbanTextBox, IdAndNameListBox, IdAndNameSearchableListBox, IntegerBox, IntegerBoxWithoutSeparator, Isbn10TextBox, Isbn13TextBox, IsbnTextBox, LongBox, LongBoxWithoutSeparator, MonthBox, PageNumberListBox, PasswordTextBox, PercentBigDecimalBox, PercentDoubleBox, PhoneNumberCommonInterSuggestBox, PhoneNumberCommonSuggestBox, PhoneNumberDin5008InterSuggestBox, PhoneNumberDin5008SuggestBox, PhoneNumberE123InterSuggestBox, PhoneNumberE123SuggestBox, PhoneNumberMsSuggestBox, PhoneNumberUriSuggestBox, PostalCodeTextBox, RadioButton, RangeBox, RegExCheckedTextBox, SearchTextBox, SortableIdAndNameListBox, SortableIdAndNameSearchableListBox, SuggestBoxWithEditorErrors, TaxNumberTextBox, TextArea, TextBox, TextBoxBase, TextBoxWithFormating, TimeBox, TimeBoxLocalTime, TinTextBox, UiLanguageListBox, UrlTextBox, ValueBox, ValueBoxBaseWithEditorErrors, VatIdTextBox

public interface HasRequired
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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 Details

    • 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