Class VCustomField<T>
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.AbstractField<com.vaadin.flow.component.customfield.CustomField<T>,T>
-
- com.vaadin.flow.component.customfield.CustomField<T>
-
- org.vaadin.firitin.components.customfield.VCustomField<T>
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.customfield.CustomField>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.Focusable<com.vaadin.flow.component.customfield.CustomField>,com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.customfield.CustomField>,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasHelper,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasValidation,com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<T>,T>,T>,com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<T>,T>,T>,Serializable,FluentAttachNotifier<VCustomField<T>>,FluentBlurNotifier<com.vaadin.flow.component.customfield.CustomField,VCustomField<T>>,FluentComponent<VCustomField<T>>,FluentDetachNotifier<VCustomField<T>>,FluentFocusable<com.vaadin.flow.component.customfield.CustomField,VCustomField<T>>,FluentFocusNotifier<com.vaadin.flow.component.customfield.CustomField,VCustomField<T>>,FluentHasEnabled<VCustomField<T>>,FluentHasHelper<VCustomField<T>>,FluentHasSize<VCustomField<T>>,FluentHasValidation<VCustomField<T>>,FluentHasValueAndElement<VCustomField<T>,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<T>,T>,T>,FluentHasLabel<VCustomField<T>>
public abstract class VCustomField<T> extends com.vaadin.flow.component.customfield.CustomField<T> implements FluentHasSize<VCustomField<T>>, FluentHasValidation<VCustomField<T>>, FluentFocusable<com.vaadin.flow.component.customfield.CustomField,VCustomField<T>>, FluentHasValueAndElement<VCustomField<T>,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<T>,T>,T>, FluentComponent<VCustomField<T>>, FluentHasLabel<VCustomField<T>>, FluentHasHelper<VCustomField<T>>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.flow.component.AbstractField
com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,V extends Object>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier
com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue
com.vaadin.flow.component.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
-
-
Constructor Summary
Constructors Constructor Description VCustomField()VCustomField(T defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VCustomField<T>withErrorMessage(String errorMessage)VCustomField<T>withInvalid(boolean invalid)-
Methods inherited from class com.vaadin.flow.component.customfield.CustomField
add, generateModelValue, getErrorMessage, getLabel, isInvalid, remove, setErrorMessage, setInvalid, setLabel, setPresentationValue, updateValue
-
Methods inherited from class com.vaadin.flow.component.AbstractField
addValueChangeListener, getEmptyValue, getValue, isEmpty, setModelValue, setValue, valueEquals
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, 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 org.vaadin.firitin.fluency.ui.FluentAttachNotifier
withAttachListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentBlurNotifier
withBlurListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent
setId, setVisible, withId, withVisible
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier
withDetachListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentFocusable
withTabIndex
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentFocusNotifier
withFocusListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasEnabled
withEnabled
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasHelper
withHelperComponent, withHelperText
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.internal.FluentHasLabel
getLabel, setLabel, withLabel
-
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 org.vaadin.firitin.fluency.ui.FluentHasValueAndElement
withReadOnly, withRequiredIndicatorVisible, withValue, withValueChangeListener
-
Methods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, getTabIndex, setTabIndex
-
Methods inherited from interface com.vaadin.flow.component.HasHelper
getHelperComponent, getHelperText, setHelperComponent, setHelperText
-
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.HasValidation
getErrorMessage, isInvalid, setErrorMessage, setInvalid
-
-
-
-
Constructor Detail
-
VCustomField
public VCustomField()
-
VCustomField
public VCustomField(T defaultValue)
-
-
Method Detail
-
withInvalid
public VCustomField<T> withInvalid(boolean invalid)
- Specified by:
withInvalidin interfaceFluentHasValidation<T>
-
withErrorMessage
public VCustomField<T> withErrorMessage(String errorMessage)
- Specified by:
withErrorMessagein interfaceFluentHasValidation<T>
-
-