Package com.storedobject.ui
Class ObjectSearchForm<T extends StoredObject>
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.Component>
com.storedobject.vaadin.AbstractForm<Object>
com.storedobject.vaadin.Form
com.storedobject.ui.ObjectSearchForm<T>
- All Implemented Interfaces:
ObjectSearchBuilder<T>,SearchBuilder<T>,com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,Serializable
public abstract class ObjectSearchForm<T extends StoredObject>
extends Form
implements SearchBuilder<T>, ObjectSearchBuilder<T>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.storedobject.vaadin.AbstractForm
AbstractForm.ValueHandler -
Field Summary
FieldsFields inherited from class com.storedobject.vaadin.AbstractForm
container, data, objectData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(com.vaadin.flow.component.Component... components) Add components to the form's field container.final ObjectSearchBuilder<T> createSearchBuilder(Class<T> objectClass, StringList searchColumns, Consumer<ObjectSearchBuilder<T>> changeConsumer) Methods inherited from class com.storedobject.vaadin.AbstractForm
addField, addField, addFields, addIncludeFieldChecker, addValidator, addValidator, attachField, clearError, clearErrors, clearFields, commit, connect, connect, connect, constructed, createContainer, createField, createField, createObjectInstance, detachField, dumpValues, generateFieldNames, getBinder, getColumns, getColumnSpan, getComponent, getContainer, getContent, getErrorDisplay, getField, getFieldLabel, getFieldLabel, getFieldName, getFieldNames, getLabel, getObject, getObject, getView, initContent, isFieldEditable, isFieldEditable, isFieldVisible, isFieldVisible, isReadOnly, load, markError, newLine, remove, removeAll, removeField, removeField, removeField, setColumns, setColumnSpan, setErrorDisplay, setFieldLabel, setFieldLabel, setIncludeFieldChecker, setObject, setObject, setReadOnly, setRequired, setRequired, setRequired, setRequired, setRequired, setRequired, setRequired, setRequired, setView, streamFieldNamesCreated, streamFieldsCreatedMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getElementMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.storedobject.core.ObjectSearchBuilder
addSearchField, getFilterPredicate, getFilterText, getSearchFieldCount, removeSearchField
-
Field Details
-
changeConsumer
-
-
Constructor Details
-
ObjectSearchForm
-
-
Method Details
-
getObjectClass
- Specified by:
getObjectClassin interfaceObjectSearchBuilder<T extends StoredObject>
-
add
public void add(com.vaadin.flow.component.Component... components) Description copied from class:AbstractFormAdd components to the form's field container.- Overrides:
addin classAbstractForm<Object>- Parameters:
components- Components to add
-
createSearchBuilder
public final ObjectSearchBuilder<T> createSearchBuilder(Class<T> objectClass, StringList searchColumns, Consumer<ObjectSearchBuilder<T>> changeConsumer) - Specified by:
createSearchBuilderin interfaceSearchBuilder<T extends StoredObject>
-