Class ViewChildrenVisitResult

java.lang.Object
io.jmix.flowui.view.ViewChildrenVisitResult

public class ViewChildrenVisitResult extends Object
ViewChildrenVisitResult data model class that stores results from walk through comonents tree from view
See Also:
  • Constructor Details

    • ViewChildrenVisitResult

      public ViewChildrenVisitResult()
  • Method Details

    • getView

      public View<?> getView()
      Returns:
      target view, parent that contains found component result
    • setView

      public void setView(View<?> view)
      Parameters:
      view - set view to store target view, parent that contains found component result
    • getComponentId

      @Nullable public String getComponentId()
      Returns found component id result inside tree elements in target view, also can be null because elements may not have own id
      Returns:
      found component id result inside tree elements in target view
    • setComponentId

      public void setComponentId(@Nullable String componentId)
      Parameters:
      componentId - component id that was found inside view
    • getComponent

      public com.vaadin.flow.component.Component getComponent()
      Returns:
      found component result inside tree elements in target view, always not null
    • setComponent

      public void setComponent(com.vaadin.flow.component.Component component)
      Parameters:
      component - component that was found inside view