Interface FAbstractTextField

All Superinterfaces:
Buffered, BufferedValidatable, ClientConnector, FAbstractClientConnector, FAbstractComponent, Field<String>, FieldEvents.BlurNotifier, FieldEvents.FocusNotifier, FSizeable, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, HasInputColumns, com.vaadin.flow.component.HasPlaceholder, com.vaadin.flow.component.HasSize, HasSizeable, com.vaadin.flow.data.value.HasValueChangeMode, InputSelectionCapable<String>, NullValueCapable<String>, Property<String>, Property.Editor, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer, Serializable, Validatable
All Known Implementing Classes:
FPasswordField, FTextArea, FTextField

public interface FAbstractTextField extends NullValueCapable<String>, InputSelectionCapable<String>, HasInputColumns, FAbstractComponent, Field<String>, FieldEvents.FocusNotifier, FieldEvents.BlurNotifier, com.vaadin.flow.component.HasPlaceholder, com.vaadin.flow.data.value.HasValueChangeMode, HasSizeable
An interface that provides the common v7 text-based field functionalities that are missing from their Flow counterparts. Implementations of this interface integrate NullValueCapable, InputSelectionCapable, and HasInputColumns behaviors, along with the standard FAbstractComponent functionality.
See Also:
  • Method Details

    • getMaxLength

      int getMaxLength()
      Returns the maximum number of characters in the field.
      Returns:
      the maxLength
    • setMaxLength

      void setMaxLength(int maxLength)
      Sets the maximum number of characters in the field.
      Parameters:
      maxLength - the maxLength to set
    • clear

      void clear()
      Resets the value to the empty one.