Package org.vaadin.firitin.fields
Class CommaSeparatedStringField
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<VTextField>
com.vaadin.flow.component.AbstractCompositeField<VTextField,CommaSeparatedStringField,Set<String>>
org.vaadin.firitin.fields.CommaSeparatedStringField
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<CommaSeparatedStringField,
,Set<String>>, Set<String>> com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<CommaSeparatedStringField,
,Set<String>>, Set<String>> Serializable
,FluentHasSize<CommaSeparatedStringField>
public class CommaSeparatedStringField
extends com.vaadin.flow.component.AbstractCompositeField<VTextField,CommaSeparatedStringField,Set<String>>
implements FluentHasSize<CommaSeparatedStringField>
A field to edit a set of String using one simple text field. Strings are separated using a comma and optional white-space.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue
com.vaadin.flow.component.HasValue.ValueChangeEvent<V>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
-
Constructor Summary
-
Method Summary
Methods inherited from class com.vaadin.flow.component.AbstractCompositeField
addValueChangeListener, getEmptyValue, isEmpty, setModelValue, valueEquals
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContent
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidth
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabled
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
Methods inherited from interface com.vaadin.flow.component.HasValue
clear, getOptionalValue
Methods inherited from interface com.vaadin.flow.component.HasValueAndElement
isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible
-
Constructor Details
-
CommaSeparatedStringField
public CommaSeparatedStringField() -
CommaSeparatedStringField
-
-
Method Details
-
setValue
- Specified by:
setValue
in interfacecom.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<CommaSeparatedStringField,
Set<String>>, Set<String>> - Overrides:
setValue
in classcom.vaadin.flow.component.AbstractCompositeField<VTextField,
CommaSeparatedStringField, Set<String>>
-
getValue
- Specified by:
getValue
in interfacecom.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<CommaSeparatedStringField,
Set<String>>, Set<String>> - Overrides:
getValue
in classcom.vaadin.flow.component.AbstractCompositeField<VTextField,
CommaSeparatedStringField, Set<String>>
-
setPresentationValue
- Specified by:
setPresentationValue
in classcom.vaadin.flow.component.AbstractCompositeField<VTextField,
CommaSeparatedStringField, Set<String>>
-
setLabel
-
getLabel
-