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

All Implemented Interfaces:
ValueBindingDelegate<V>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
EmailFieldDelegate

@Primary @Component("flowui_TextFieldDelegate") @Scope("prototype") public class TextInputFieldDelegate<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

    • TextInputFieldDelegate

      public TextInputFieldDelegate(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)