Package io.jmix.flowui.view
Class ViewControllerUtils
java.lang.Object
io.jmix.flowui.view.ViewControllerUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.vaadin.flow.shared.Registration
addQueryParametersChangeListener
(View<?> view, com.vaadin.flow.component.ComponentEventListener<View.QueryParametersChangeEvent> listener) static <A extends Annotation>
Optional<A>findAnnotation
(com.vaadin.flow.component.Component component, Class<A> annotationClass) static <A extends Annotation>
Optional<A>findAnnotation
(Class<? extends com.vaadin.flow.component.Component> componentClass, Class<A> annotationClass) static void
static String
getPackage
(Class<?> controllerClass) static String
getPageTitle
(com.vaadin.flow.component.Component component) static ViewActions
getViewActions
(View<?> view) static ViewData
getViewData
(View<?> view) static ViewFacets
getViewFacets
(View<?> view) static boolean
isSaveActionPerformed
(StandardDetailView<?> detailView) static void
setViewActions
(View<?> view, ViewActions viewActions) static void
setViewData
(View<?> view, ViewData viewData) static void
setViewFacets
(View<?> view, ViewFacets viewFacets)
-
Method Details
-
getPageTitle
-
findAnnotation
public static <A extends Annotation> Optional<A> findAnnotation(com.vaadin.flow.component.Component component, Class<A> annotationClass) -
findAnnotation
public static <A extends Annotation> Optional<A> findAnnotation(Class<? extends com.vaadin.flow.component.Component> componentClass, Class<A> annotationClass) -
getPackage
-
getViewData
-
setViewData
-
getViewActions
-
setViewActions
-
getViewFacets
-
setViewFacets
-
fireEvent
-
isSaveActionPerformed
-
addQueryParametersChangeListener
public static com.vaadin.flow.shared.Registration addQueryParametersChangeListener(View<?> view, com.vaadin.flow.component.ComponentEventListener<View.QueryParametersChangeEvent> listener)
-