Class TextInputFieldDelegate<C extends com.vaadin.flow.component.AbstractField<?,String>,V>
java.lang.Object
io.jmix.flowui.component.delegate.AbstractComponentDelegate<C>
io.jmix.flowui.component.delegate.AbstractValueComponentDelegate<C,T,V>
io.jmix.flowui.component.delegate.AbstractFieldDelegate<C,V,String>
io.jmix.flowui.component.delegate.TextInputFieldDelegate<C,V>
- All Implemented Interfaces:
ValueBindingDelegate<V>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Component("flowui_TextFieldDelegate")
@Scope("prototype")
public class TextInputFieldDelegate<C extends com.vaadin.flow.component.AbstractField<?,String>,V>
extends AbstractFieldDelegate<C,V,String>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.component.delegate.ValueBindingDelegate
ValueBindingDelegate.ValueBindingChangeEvent<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected Stringprotected RegexpValidatorprotected SizeValidator<? super V>Fields inherited from class io.jmix.flowui.component.delegate.AbstractFieldDelegate
applicationContext, datatype, errorMessage, explicitlyInvalid, messages, metadataTools, PROPERTY_INVALID, requiredMessage, statusChangeHandler, toModelConverter, validatorsFields inherited from class io.jmix.flowui.component.delegate.AbstractValueComponentDelegate
valueBindingFields inherited from class io.jmix.flowui.component.delegate.AbstractComponentDelegate
component -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RegexpValidatorcreateRegexpValidator(String pattern) protected SizeValidator<V>protected AbstractValueBinding<V>createValueBinding(ValueSource<V> valueSource) intintprotected booleanvoidsetMaxLength(int maxLength) voidsetMinLength(int minLength) voidsetPattern(String pattern) protected voidprotected voidMethods inherited from class io.jmix.flowui.component.delegate.AbstractFieldDelegate
addValidator, applyDefaultValueFormat, executeValidators, formatMessage, getComponentValue, getDatatype, getErrorMessage, getMessage, getRequiredErrorMessage, getRequiredMessage, isInvalid, isInvalidInternal, setApplicationContext, setComponentRequiredErrorState, setDatatype, setErrorMessage, setInvalid, setInvalidInternal, setMessages, setMetadataTools, setRequiredMessage, setStatusChangeHandler, setToModelConverter, updateInvalidState, validatorsPassedMethods inherited from class io.jmix.flowui.component.delegate.AbstractValueComponentDelegate
addValueBindingChangeListener, getEventBus, getValueBinding, getValueSource, setValueSource, valueBindingChangedMethods inherited from class io.jmix.flowui.component.delegate.AbstractComponentDelegate
getComponent
-
Field Details
-
sizeValidator
-
regexpValidator
-
pattern
-
maxLength
protected int maxLength -
minLength
protected int minLength
-
-
Constructor Details
-
TextInputFieldDelegate
-
-
Method Details
-
getPattern
-
setPattern
-
getMaxLength
public int getMaxLength() -
setMaxLength
public void setMaxLength(int maxLength) -
getMinLength
public int getMinLength() -
setMinLength
public void setMinLength(int minLength) -
setupRegexpValidation
protected void setupRegexpValidation() -
setupSizeValidation
protected void setupSizeValidation() -
isStringDatatype
protected boolean isStringDatatype() -
createValueBinding
- Specified by:
createValueBindingin classAbstractValueComponentDelegate<C extends com.vaadin.flow.component.AbstractField<?,String>, V, String>
-
createSizeValidator
-
createRegexpValidator
-