Package io.jmix.flowui.view
Class View.BeforeShowEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<View<?>>
io.jmix.flowui.view.View.BeforeShowEvent
- All Implemented Interfaces:
Serializable
The second (after
View.InitEvent
) event in the view opening process.
All components have completed their internal initialization procedures.
Data loaders have been triggered by the automatically configured DataLoadCoordinator
facet.
In this event listener, you can load data, check permissions and modify UI components. For example:
@Subscribe protected void onBeforeShow(BeforeShowEvent event) { customersDl.load(); }
You can abort the process of opening the view by throwing an exception.
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
BeforeShowEvent
-