Package io.jmix.flowui.screen.builder
Class WindowBuilder<S extends Screen<?>>
java.lang.Object
io.jmix.flowui.screen.builder.AbstractWindowBuilder<S>
io.jmix.flowui.screen.builder.WindowBuilder<S>
- All Implemented Interfaces:
DialogWindowBuilder<S>
-
Field Summary
Fields inherited from class io.jmix.flowui.screen.builder.AbstractWindowBuilder
afterCloseListener, afterOpenListener, handler, origin, screenId
-
Constructor Summary
ConstructorDescriptionWindowBuilder
(Screen<?> origin, Class<S> screenClass, Function<? extends WindowBuilder<S>, DialogWindow<S>> handler) WindowBuilder
(Screen<?> origin, String screenId, Function<? extends WindowBuilder<S>, DialogWindow<S>> handler) -
Method Summary
Modifier and TypeMethodDescriptionwithAfterCloseListener
(Consumer<DialogWindow.AfterCloseEvent<S>> listener) withAfterOpenListener
(Consumer<DialogWindow.AfterOpenEvent<S>> listener) Methods inherited from class io.jmix.flowui.screen.builder.AbstractWindowBuilder
build, getAfterCloseListener, getAfterOpenListener, getOrigin, open
-
Field Details
-
screenClass
-
-
Constructor Details
-
WindowBuilder
public WindowBuilder(Screen<?> origin, Class<S> screenClass, Function<? extends WindowBuilder<S>, DialogWindow<S>> handler) -
WindowBuilder
public WindowBuilder(Screen<?> origin, String screenId, Function<? extends WindowBuilder<S>, DialogWindow<S>> handler)
-
-
Method Details
-
withAfterOpenListener
public WindowBuilder<S> withAfterOpenListener(@Nullable Consumer<DialogWindow.AfterOpenEvent<S>> listener) - Overrides:
withAfterOpenListener
in classAbstractWindowBuilder<S extends Screen<?>>
-
withAfterCloseListener
public WindowBuilder<S> withAfterCloseListener(@Nullable Consumer<DialogWindow.AfterCloseEvent<S>> listener) - Overrides:
withAfterCloseListener
in classAbstractWindowBuilder<S extends Screen<?>>
-
getScreenId
- Specified by:
getScreenId
in interfaceDialogWindowBuilder<S extends Screen<?>>
- Overrides:
getScreenId
in classAbstractWindowBuilder<S extends Screen<?>>
-
getScreenClass
-