Package io.jmix.flowui.view.navigation
Class ListViewNavigator<E>
java.lang.Object
io.jmix.flowui.view.navigation.ViewNavigator
io.jmix.flowui.view.navigation.ListViewNavigator<E>
Provides a fluent interface to configure navigation parameters and navigate to an entity list 
View.
 
 An instance of this class should be obtained through ViewNavigators.listView(Class).
- 
Field SummaryFieldsFields inherited from class io.jmix.flowui.view.navigation.ViewNavigatorbackwardNavigation, handler, queryParameters, routeParameters, viewClass, viewId
- 
Constructor SummaryConstructorsConstructorDescriptionListViewNavigator(Class<E> entityClass, Consumer<? extends ListViewNavigator<E>> handler) 
- 
Method SummaryModifier and TypeMethodDescriptionwithBackwardNavigation(boolean backwardNavigation) Sets whether the current URL should be navigated to when the opened view is closed.withQueryParameters(com.vaadin.flow.router.QueryParameters queryParameters) Sets URL query parameters.withRouteParameters(com.vaadin.flow.router.RouteParameters routeParameters) Sets URL route parameters.withViewClass(Class<? extends View> viewClass) Sets the opened view by its class.withViewId(String viewId) Sets the opened view by id.Methods inherited from class io.jmix.flowui.view.navigation.ViewNavigatorgetQueryParameters, getRouteParameters, getViewClass, getViewId, isBackwardNavigation, navigate
- 
Field Details- 
entityClass
 
- 
- 
Constructor Details- 
ListViewNavigator
 
- 
- 
Method Details- 
withViewIdDescription copied from class:ViewNavigatorSets the opened view by id.- Overrides:
- withViewIdin class- ViewNavigator
- Parameters:
- viewId- identifier of the view as specified in the- ViewControllerannotation
- Returns:
- this instance for chaining
 
- 
withViewClassDescription copied from class:ViewNavigatorSets the opened view by its class.- Overrides:
- withViewClassin class- ViewNavigator
- Parameters:
- viewClass- view class
- Returns:
- this instance for chaining
 
- 
withRouteParameterspublic ListViewNavigator<E> withRouteParameters(@Nullable com.vaadin.flow.router.RouteParameters routeParameters) Description copied from class:ViewNavigatorSets URL route parameters.- Overrides:
- withRouteParametersin class- ViewNavigator
- Parameters:
- routeParameters- route parameters
- Returns:
- this instance for chaining
 
- 
withQueryParameterspublic ListViewNavigator<E> withQueryParameters(@Nullable com.vaadin.flow.router.QueryParameters queryParameters) Description copied from class:ViewNavigatorSets URL query parameters.- Overrides:
- withQueryParametersin class- ViewNavigator
- Parameters:
- queryParameters- query parameters
- Returns:
- this instance for chaining
 
- 
getEntityClass- Returns:
- entity class of the list view
 
 
-