com.vaadin.flow.component.textfield.
Interface HasAutocapitalize
-
All Superinterfaces:
All Known Implementing Classes:
AbstractNumberField
,BigDecimalField
,EmailField
,IntegerField
,NumberField
,PasswordField
,TextArea
,TextField
public interface HasAutocapitalize extends HasElement
Mixin interface for fields with
autocapitalize
attribute.
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUTOCAPITALIZE_ATTRIBUTE
Name of @{code autocapitalize} attribute.
-
Method Summary
All Methods Modifier and Type Method Description default Autocapitalize
getAutocapitalize()
Gets the
Autocapitalize
for indicating whether the value of this component can be automatically completed by the browser.default void
setAutocapitalize(Autocapitalize autocapitalize)
Sets the
Autocapitalize
attribute for indicating whether the value of this component can be automatically completed by the browser.-
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
-
-
-
-
Field Detail
-
AUTOCAPITALIZE_ATTRIBUTE
static final String AUTOCAPITALIZE_ATTRIBUTE
Name of @{code autocapitalize} attribute.
See Also:
-
-
Method Detail
-
setAutocapitalize
default void setAutocapitalize(Autocapitalize autocapitalize)
Sets the
Autocapitalize
attribute 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
- theautocapitalize
value, ornull
to unset
-
getAutocapitalize
default Autocapitalize getAutocapitalize()
Gets the
Autocapitalize
for indicating whether the value of this component can be automatically completed by the browser.Returns:
the
autocapitalize
value, ornull
if not set
-
-