Class EnhancedDetailViewNavigator<E>
java.lang.Object
io.jmix.flowui.view.navigation.AbstractViewNavigator
io.jmix.flowui.view.navigation.DetailViewNavigator<E>
io.jmix.tabbedmode.builder.navigation.EnhancedDetailViewNavigator<E>
- All Implemented Interfaces:
EnhancedViewNavigator<E>
public class EnhancedDetailViewNavigator<E>
extends DetailViewNavigator<E>
implements EnhancedViewNavigator<E>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.HasValue<?,
E> protected ListDataComponent<E>
Fields inherited from class io.jmix.flowui.view.navigation.DetailViewNavigator
editedEntity, entityClass, mode, readOnly
Fields inherited from class io.jmix.flowui.view.navigation.AbstractViewNavigator
backwardNavigation, handler, origin, queryParameters, routeParameters, viewId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.vaadin.flow.component.HasValue<?,
?>> getField()
withListDataComponent
(ListDataComponent<E> listDataComponent) <V extends View<?>>
DetailViewClassNavigator<E,V> withViewClass
(Class<V> viewClass) Sets the opened view by its class.Methods inherited from class io.jmix.flowui.view.navigation.DetailViewNavigator
editEntity, getEditedEntity, getEntityClass, getMode, isReadOnly, newEntity, withBackwardNavigation, withQueryParameters, withReadOnly, withRouteParameters, withViewId
Methods inherited from class io.jmix.flowui.view.navigation.AbstractViewNavigator
getOrigin, getQueryParameters, getRouteParameters, getViewClass, getViewId, isBackwardNavigation, navigate
-
Field Details
-
listDataComponent
-
field
-
-
Constructor Details
-
Method Details
-
getListDataComponent
- Specified by:
getListDataComponent
in interfaceEnhancedViewNavigator<E>
-
getField
- Specified by:
getField
in interfaceEnhancedViewNavigator<E>
-
withListDataComponent
public EnhancedDetailViewNavigator<E> withListDataComponent(@Nullable ListDataComponent<E> listDataComponent) -
withField
public EnhancedDetailViewNavigator<E> withField(@Nullable com.vaadin.flow.component.HasValue<?, E> field) -
withViewClass
Description copied from class:DetailViewNavigator
Sets the opened view by its class.- Overrides:
withViewClass
in classDetailViewNavigator<E>
- Parameters:
viewClass
- view class- Returns:
- this instance for chaining
-