Package io.jmix.flowui.screen.builder
Class LookupWindowClassBuilder<E,S extends Screen<?> & LookupScreen<E>>
java.lang.Object
io.jmix.flowui.screen.builder.AbstractWindowBuilder<S>
io.jmix.flowui.screen.builder.LookupWindowBuilder<E,S>
io.jmix.flowui.screen.builder.LookupWindowClassBuilder<E,S>
- All Implemented Interfaces:
DialogWindowBuilder<S>,DialogWindowClassBuilder<S>
public class LookupWindowClassBuilder<E,S extends Screen<?> & LookupScreen<E>>
extends LookupWindowBuilder<E,S>
implements DialogWindowClassBuilder<S>
-
Field Summary
FieldsFields inherited from class io.jmix.flowui.screen.builder.LookupWindowBuilder
container, entityClass, field, fieldCollectionValue, listDataComponent, selectHandler, selectValidator, transformationFields inherited from class io.jmix.flowui.screen.builder.AbstractWindowBuilder
afterCloseListener, afterOpenListener, handler, origin, screenId -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLookupWindowClassBuilder(LookupWindowBuilder<E, S> builder, Class<S> screenClass) LookupWindowClassBuilder(Screen<?> origin, Class<E> entityClass, Class<S> screenClass, Function<? extends LookupWindowClassBuilder<E, S>, DialogWindow<S>> handler) -
Method Summary
Modifier and TypeMethodDescriptionwithAfterCloseListener(Consumer<DialogWindow.AfterCloseEvent<S>> listener) withAfterOpenListener(Consumer<DialogWindow.AfterOpenEvent<S>> listener) withContainer(CollectionContainer<E> container) <T extends com.vaadin.flow.component.HasValue<?,E>>
LookupWindowClassBuilder<E,S> withField(T field) withListDataComponent(ListDataComponent<E> listDataComponent) withScreenId(String screenId) withSelectHandler(Consumer<Collection<E>> selectHandler) withSelectValidator(Predicate<LookupScreen.ValidationContext<E>> selectValidator) withTransformation(Function<Collection<E>, Collection<E>> transformation) <T extends com.vaadin.flow.component.HasValue<?,Collection<E>>>
LookupWindowClassBuilder<E,S> withValuesField(T field) Methods inherited from class io.jmix.flowui.screen.builder.LookupWindowBuilder
getContainer, getEntityClass, getField, getListDataComponent, getOrigin, getSelectHandler, getSelectValidator, getTransformation, isFieldCollectionValue, withScreenClassMethods inherited from class io.jmix.flowui.screen.builder.AbstractWindowBuilder
build, getAfterCloseListener, getAfterOpenListener, getScreenId, openMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.screen.builder.DialogWindowBuilder
getAfterCloseListener, getAfterOpenListener, getOrigin, getScreenId
-
Field Details
-
screenClass
-
-
Constructor Details
-
LookupWindowClassBuilder
-
LookupWindowClassBuilder
-
-
Method Details
-
withScreenId
- Overrides:
withScreenIdin classLookupWindowBuilder<E,S extends Screen<?> & LookupScreen<E>>
-
withSelectHandler
- Overrides:
withSelectHandlerin classLookupWindowBuilder<E,S extends Screen<?> & LookupScreen<E>>
-
withSelectValidator
public LookupWindowClassBuilder<E,S> withSelectValidator(Predicate<LookupScreen.ValidationContext<E>> selectValidator) - Overrides:
withSelectValidatorin classLookupWindowBuilder<E,S extends Screen<?> & LookupScreen<E>>
-
withTransformation
public LookupWindowClassBuilder<E,S> withTransformation(@Nullable Function<Collection<E>, Collection<E>> transformation) - Overrides:
withTransformationin classLookupWindowBuilder<E,S extends Screen<?> & LookupScreen<E>>
-
withContainer
- Overrides:
withContainerin classLookupWindowBuilder<E,S extends Screen<?> & LookupScreen<E>>
-
withListDataComponent
public LookupWindowClassBuilder<E,S> withListDataComponent(@Nullable ListDataComponent<E> listDataComponent) - Overrides:
withListDataComponentin classLookupWindowBuilder<E,S extends Screen<?> & LookupScreen<E>>
-
withField
public <T extends com.vaadin.flow.component.HasValue<?,E>> LookupWindowClassBuilder<E,S> withField(@Nullable T field) - Overrides:
withFieldin classLookupWindowBuilder<E,S extends Screen<?> & LookupScreen<E>>
-
withValuesField
public <T extends com.vaadin.flow.component.HasValue<?,Collection<E>>> LookupWindowClassBuilder<E,S> withValuesField(@Nullable T field) - Overrides:
withValuesFieldin classLookupWindowBuilder<E,S extends Screen<?> & LookupScreen<E>>
-
withAfterOpenListener
public LookupWindowClassBuilder<E,S> withAfterOpenListener(@Nullable Consumer<DialogWindow.AfterOpenEvent<S>> listener) - Overrides:
withAfterOpenListenerin classLookupWindowBuilder<E,S extends Screen<?> & LookupScreen<E>>
-
withAfterCloseListener
public LookupWindowClassBuilder<E,S> withAfterCloseListener(@Nullable Consumer<DialogWindow.AfterCloseEvent<S>> listener) - Overrides:
withAfterCloseListenerin classLookupWindowBuilder<E,S extends Screen<?> & LookupScreen<E>>
-
getScreenClass
- Specified by:
getScreenClassin interfaceDialogWindowClassBuilder<E>
-