Class ViewOpeningContext

java.lang.Object
io.jmix.tabbedmode.builder.ViewOpeningContext

public class ViewOpeningContext extends Object
Represents the context used for opening a view in an application. The class encapsulates details such as the target view, the mode in which the view should be opened, route parameters, query parameters, and checks for multiple open views.
  • Field Details

    • view

      protected final View<?> view
    • openMode

      protected final ViewOpenMode openMode
    • routeParameters

      protected com.vaadin.flow.router.RouteParameters routeParameters
    • queryParameters

      protected com.vaadin.flow.router.QueryParameters queryParameters
    • checkMultipleOpen

      protected boolean checkMultipleOpen
  • Constructor Details

    • ViewOpeningContext

      public ViewOpeningContext(View<?> view, ViewOpenMode openMode)
  • Method Details

    • create

      public static ViewOpeningContext create(View<?> view, ViewOpenMode openMode)
    • getView

      public View<?> getView()
    • getOpenMode

      public ViewOpenMode getOpenMode()
    • getRouteParameters

      public com.vaadin.flow.router.RouteParameters getRouteParameters()
    • getQueryParameters

      public com.vaadin.flow.router.QueryParameters getQueryParameters()
    • isCheckMultipleOpen

      public boolean isCheckMultipleOpen()
    • withRouteParameters

      public ViewOpeningContext withRouteParameters(com.vaadin.flow.router.RouteParameters routeParameters)
    • withQueryParameters

      public ViewOpeningContext withQueryParameters(com.vaadin.flow.router.QueryParameters queryParameters)
    • withCheckMultipleOpen

      public ViewOpeningContext withCheckMultipleOpen(boolean checkMultipleOpen)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object