Interface HasRequired
-
- All Known Implementing Classes:
AbstractFormatingSuggestBox,AbstractFormatingTextBox,AbstractMinMaxTextBox,AbstractPhoneNumberSuggestBox,AbstractWebShimedMinMaxTextBox,BicSuggestBox,CheckBox,ColorBox,CurrencyBigDecimalBox,CurrencyDoubleBox,DateBox,DateBoxLocalDate,DateTimeLocalBox,DateTimeLocalBoxLocalDateTime,DecimalBigDecimalBox,DecimalDoubleBox,DynamicInputWidget,EmailTextBox,IbanTextBox,IdAndNameSearchableListBox,IntegerBox,IntegerBoxWithoutSeparator,Isbn10TextBox,Isbn13TextBox,IsbnTextBox,LongBox,LongBoxWithoutSeparator,MonthBox,PasswordTextBox,PercentBigDecimalBox,PercentDoubleBox,PhoneNumberCommonInterSuggestBox,PhoneNumberCommonSuggestBox,PhoneNumberDin5008InterSuggestBox,PhoneNumberDin5008SuggestBox,PhoneNumberE123InterSuggestBox,PhoneNumberE123SuggestBox,PhoneNumberMsSuggestBox,PhoneNumberUriSuggestBox,PostalCodeTextBox,RadioButton,RangeBox,RegExCheckedTextBox,SearchTextBox,SortableIdAndNameSearchableListBox,SuggestBoxWithEditorErrors,TaxNumberTextBox,TextArea,TextBox,TextBoxBase,TextBoxWithFormating,TimeBox,TimeBoxLocalTime,TinTextBox,UrlTextBox,ValueBox,ValueBoxBaseWithEditorErrors,VatIdTextBox
public interface HasRequired
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisRequired()Reflects therequiredHTML attribute, indicating that the user must fill in a value before submitting a form.voidsetRequired(boolean arg)Reflects therequiredHTML attribute, indicating that the user must fill in a value before submitting a form.
-
-
-
Method Detail
-
isRequired
boolean isRequired()
Reflects therequiredHTML attribute, indicating that the user must fill in a value before submitting a form.- Returns:
- required true/false
-
setRequired
void setRequired(boolean arg)
Reflects therequiredHTML attribute, indicating that the user must fill in a value before submitting a form.- Parameters:
arg- required true/false
-
-