Package com.vaadin.featurepack.ui
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.featurepack.data.Buffered
Buffered.SourceExceptionNested classes/interfaces inherited from interface com.vaadin.featurepack.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.DetachEvent, ClientConnector.DetachListenerNested classes/interfaces inherited from interface com.vaadin.featurepack.server.FAbstractClientConnector
FAbstractClientConnector.LegacyMethodEventNested classes/interfaces inherited from interface com.vaadin.featurepack.ui.FAbstractComponent
FAbstractComponent.DataKeyNested classes/interfaces inherited from interface com.vaadin.featurepack.data.ui.Field
Field.ValueChangeEventNested classes/interfaces inherited from interface com.vaadin.featurepack.data.Property
Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeEvent, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.Transactional<T>, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer -
Field Summary
Fields inherited from interface com.vaadin.flow.data.value.HasValueChangeMode
DEFAULT_CHANGE_TIMEOUT -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Resets the value to the empty one.intReturns the maximum number of characters in the field.voidsetMaxLength(int maxLength) Sets the maximum number of characters in the field.Methods inherited from interface com.vaadin.featurepack.server.FAbstractClientConnector
addLegacyAttachListener, addLegacyDetachListener, addListener, addListener, attach, detach, doConnectorOnAttach, doConnectorOnDetach, fireEvent, fireEvent, getAllChildrenIterable, getFListeners, getFlowComponent, getResource, hasListeners, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeListener, removeListener, setResourceMethods inherited from interface com.vaadin.featurepack.ui.FAbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, addStyleNames, beforeClientResponse, getCaption, getComponentError, getData, getDescription, getFErrorIndicator, getFErrorMessage, getFId, getFParent, getIcon, getIconResource, getPrimaryStyleName, getStyleName, isCaptionAsHtml, isImmediate, isResponsive, notifyParentAboutStyleChanges, removeContextClickListener, removeShortcutListener, removeStyleName, removeStyleNames, setCaption, setCaptionAsHtml, setComponentError, setData, setDescription, setDescription, setIcon, setIcon, setIconResource, setImmediate, setLabelComponent, setLocale, setPrimaryStyleName, setResponsive, setStyleName, setStyleNameMethods inherited from interface com.vaadin.featurepack.data.ui.Field
addReadOnlyStatusChangeListener, addValidator, addValueChangeListener, commit, discard, getConvertedValue, getConverter, getFAbstractField, getPropertyDataSource, getRequiredError, getType, getValidators, isBuffered, isEmpty, isInvalidAllowed, isInvalidCommitted, isModified, isPropertyReadOnly, isRequired, isValid, readOnlyStatusChange, removeAllValidators, removeReadOnlyStatusChangeListener, removeValidator, removeValueChangeListener, setBuffered, setConverter, setInvalidAllowed, setInvalidCommitted, setPropertyDataSource, setPropertyReadOnly, setRequired, setRequiredError, valueChangeMethods inherited from interface com.vaadin.featurepack.event.FieldEvents.BlurNotifier
addBlurListener, removeBlurListenerMethods inherited from interface com.vaadin.featurepack.event.FieldEvents.FocusNotifier
addFocusListener, removeFocusListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
bindEnabled, isEnabled, setEnabledMethods inherited from interface com.vaadin.featurepack.ui.HasInputColumns
getColumns, getInputColumnController, setColumnsMethods inherited from interface com.vaadin.flow.component.HasPlaceholder
bindPlaceholder, getPlaceholder, setPlaceholderMethods inherited from interface com.vaadin.flow.component.HasSize
bindHeight, bindWidth, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidthMethods inherited from interface com.vaadin.featurepack.server.HasSizeable
getFHeight, getFWidth, getHeightUnits, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefinedMethods inherited from interface com.vaadin.flow.data.value.HasValueChangeMode
getValueChangeMode, getValueChangeTimeout, setValueChangeMode, setValueChangeTimeoutMethods inherited from interface com.vaadin.featurepack.ui.InputSelectionCapable
getCursorPosition, getInputSelectionController, selectAll, setCursorPosition, setSelectionRangeMethods inherited from interface com.vaadin.featurepack.ui.NullValueCapable
getNullRepresentation, getNullValueController, isNullSettingAllowed, processGetValue, processSetValue, setNullRepresentation, setNullSettingAllowedMethods inherited from interface com.vaadin.featurepack.data.Validatable
validate
-
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.
-