public abstract class AbstractValidationPage<T extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValidation>
extends com.vaadin.flow.component.html.Div
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTACH_FIELD_BUTTON |
static String |
DETACH_FIELD_BUTTON |
static String |
SERVER_VALIDITY_STATE |
static String |
SERVER_VALIDITY_STATE_BUTTON |
protected T |
testField |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractValidationPage() |
| Modifier and Type | Method and Description |
|---|---|
protected com.vaadin.flow.component.html.NativeButton |
createButton(String id,
String title,
com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.html.NativeButton>> listener)
A helper to create a native button element.
|
protected com.vaadin.flow.component.html.Input |
createInput(String id,
String placeholder,
com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.html.Input,String>> listener)
A helper to create a native input element.
|
protected abstract T |
createTestField()
A field to test.
|
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClickListener, addClickShortcutgetChildren, getComponentAt, getComponentCount, indexOf, replaceadd, add, addComponentAsFirst, addComponentAtIndex, remove, removeAllgetCssSize, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullpublic static final String SERVER_VALIDITY_STATE
public static final String SERVER_VALIDITY_STATE_BUTTON
public static final String ATTACH_FIELD_BUTTON
public static final String DETACH_FIELD_BUTTON
protected T extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValidation testField
protected com.vaadin.flow.component.html.NativeButton createButton(String id, String title, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.html.NativeButton>> listener)
protected com.vaadin.flow.component.html.Input createInput(String id, String placeholder, com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.html.Input,String>> listener)
protected abstract T createTestField()
Copyright © 2025. All rights reserved.