Package io.jmix.ui.navigation
Class UrlParamsChangedEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.navigation.UrlParamsChangedEvent
- All Implemented Interfaces:
Serializable
Event sent when browser URL parameters corresponding to opened screen are changed. It is fired before the screen is
shown, which enables to do some preparatory work.
In this event listener, you can load some data or change screen controls state depending on new parameters:
@Subscribe protected void onUrlParamsChanged(UrlParamsChangedEvent event) { Map<String, String> params = event.getParams(); // handle new params }
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
params
-
-
Constructor Details
-
UrlParamsChangedEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getParams
- Returns:
- current URL parameters
-