C - Concrete configurator typepublic interface TextInputConfigurator<C extends TextInputConfigurator<C>> extends HasEnabledConfigurator<C>, HasAutocompleteConfigurator<C>, HasAutocapitalizeConfigurator<C>, HasAutocorrectConfigurator<C>, InputNotifierConfigurator<C>, KeyNotifierConfigurator<C>, HasValueChangeModeConfigurator<C>
Input components.| Modifier and Type | Method and Description |
|---|---|
default C |
autoselect()
Automatically select the input value when the input component gains focus.
|
C |
autoselect(boolean autoselect)
Set whether to automatically select the input value when the input component gains focus.
|
C |
blankValuesAsNull(boolean blankValuesAsNull)
Enable or disable treating blank String values (with 0 length or whitespaces only Strings) as
null
values. |
C |
clearButtonVisible(boolean clearButtonVisible)
Set whether to show a clear button which can be used to clear the input value.
|
C |
emptyValuesAsNull(boolean emptyValuesAsNull)
Enable or disable treating empty String values as
null values. |
C |
maxLength(int maxLength)
Set the maximum number of characters (in Unicode code points) that the user can enter.
|
C |
minLength(int minLength)
Set the minimum number of characters (in Unicode code points) that the user can enter.
|
disabled, enabledautocompleteautocapitalizeautocorrectwithInputListenerwithKeyDownListener, withKeyDownListener, withKeyPressListener, withKeyPressListener, withKeyUpListener, withKeyUpListenervalueChangeModeC maxLength(int maxLength)
maxLength - the maximum lengthC minLength(int minLength)
minLength - the minimum lengthC emptyValuesAsNull(boolean emptyValuesAsNull)
null values.
By default this behaviour is enabled.
emptyValuesAsNull - True to treat empty String values as null valuesC blankValuesAsNull(boolean blankValuesAsNull)
null
values.
By default this behaviour is disabled.
blankValuesAsNull - True to treat blank String values (with 0 length or whitespaces only Strings) as
null valuesC autoselect(boolean autoselect)
autoselect - true to automatically select the input value when the input component gains focus,
false otherwisedefault C autoselect()
C clearButtonVisible(boolean clearButtonVisible)
clearButtonVisible - true to show the clear button, false to hide itCopyright © 2019 The Holon Platform. All rights reserved.