Class AbstractTextInputFieldDelegate<C extends com.vaadin.flow.component.AbstractField<?,String>,V>

Type Parameters:
C - component type
V - component value type
All Implemented Interfaces:
ValueBindingDelegate<V>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
EmailFieldDelegate, TextInputFieldDelegate

public abstract class AbstractTextInputFieldDelegate<C extends com.vaadin.flow.component.AbstractField<?,String>,V> extends AbstractFieldDelegate<C,V,String>
  • Field Details

    • sizeValidator

      protected SizeValidator<? super V> sizeValidator
    • regexpValidator

      protected RegexpValidator regexpValidator
    • dataAwareComponentsTools

      protected DataAwareComponentsTools dataAwareComponentsTools
    • pattern

      protected String pattern
    • maxLength

      protected int maxLength
    • minLength

      protected int minLength
  • Constructor Details

    • AbstractTextInputFieldDelegate

      protected AbstractTextInputFieldDelegate(C component)
  • Method Details

    • setDataAwareComponentsTools

      @Autowired public void setDataAwareComponentsTools(DataAwareComponentsTools dataAwareComponentsTools)
    • getPattern

      public String getPattern()
    • setPattern

      public void setPattern(String pattern)
    • 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()
    • setupProperties

      protected void setupProperties(EntityValueSource<?,V> valueSource)
      Overrides:
      setupProperties in class AbstractValueComponentDelegate<C extends com.vaadin.flow.component.AbstractField<?,String>,V,String>
    • isStringDatatype

      protected boolean isStringDatatype()
    • createValueBinding

      protected AbstractValueBinding<V> createValueBinding(ValueSource<V> valueSource)
      Specified by:
      createValueBinding in class AbstractValueComponentDelegate<C extends com.vaadin.flow.component.AbstractField<?,String>,V,String>
    • createSizeValidator

      protected SizeValidator<V> createSizeValidator()
    • createRegexpValidator

      protected RegexpValidator createRegexpValidator(String pattern)