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 TypeMethodDescriptionvoid
add
(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, streamFieldsCreated
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getElement
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 com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
Methods inherited from interface com.storedobject.core.ObjectSearchBuilder
addSearchField, getFilterPredicate, getFilterText, getSearchFieldCount, removeSearchField
-
Field Details
-
changeConsumer
-
-
Constructor Details
-
ObjectSearchForm
-
-
Method Details
-
getObjectClass
- Specified by:
getObjectClass
in interfaceObjectSearchBuilder<T extends StoredObject>
-
add
public void add(com.vaadin.flow.component.Component... components) Description copied from class:AbstractForm
Add components to the form's field container.- Overrides:
add
in classAbstractForm<Object>
- Parameters:
components
- Components to add
-
createSearchBuilder
public final ObjectSearchBuilder<T> createSearchBuilder(Class<T> objectClass, StringList searchColumns, Consumer<ObjectSearchBuilder<T>> changeConsumer) - Specified by:
createSearchBuilder
in interfaceSearchBuilder<T extends StoredObject>
-