Interface HasAutocapitalize
-
- All Superinterfaces:
com.vaadin.flow.component.HasElement,Serializable
- All Known Implementing Classes:
AbstractNumberField,BigDecimalField,EmailField,IntegerField,NumberField,PasswordField,TextArea,TextField
public interface HasAutocapitalize extends com.vaadin.flow.component.HasElementMixin interface for fields withautocapitalizeattribute.
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTOCAPITALIZE_ATTRIBUTEName of @{code autocapitalize} attribute.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AutocapitalizegetAutocapitalize()Gets theAutocapitalizefor indicating whether the value of this component can be automatically completed by the browser.default voidsetAutocapitalize(Autocapitalize autocapitalize)Sets theAutocapitalizeattribute for indicating whether the value of this component can be automatically completed by the browser.
-
-
-
Field Detail
-
AUTOCAPITALIZE_ATTRIBUTE
static final String AUTOCAPITALIZE_ATTRIBUTE
Name of @{code autocapitalize} attribute.- See Also:
- Constant Field Values
-
-
Method Detail
-
setAutocapitalize
default void setAutocapitalize(Autocapitalize autocapitalize)
Sets theAutocapitalizeattribute for indicating whether the value of this component can be automatically completed by the browser.If not set, devices may apply their own default.
- Parameters:
autocapitalize- theautocapitalizevalue, ornullto unset
-
getAutocapitalize
default Autocapitalize getAutocapitalize()
Gets theAutocapitalizefor indicating whether the value of this component can be automatically completed by the browser.- Returns:
- the
autocapitalizevalue, ornullif not set
-
-