Class FilePathBreadCrumbs

java.lang.Object
io.jmix.webdavflowui.view.webdavdocument.FilePathBreadCrumbs

public class FilePathBreadCrumbs extends Object
Helper class to manage filepath breadcrumbs
  • Field Details

    • linksLayout

      protected com.vaadin.flow.component.orderedlayout.HorizontalLayout linksLayout
    • clickHandler

      protected Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> clickHandler
  • Constructor Details

    • FilePathBreadCrumbs

      public FilePathBreadCrumbs(com.vaadin.flow.component.orderedlayout.HorizontalLayout parentLayout, MessageBundle messageBundle)
  • Method Details

    • updateFilePath

      public void updateFilePath(Deque<WebdavDocument> path)
    • showSearchResultLabel

      public void showSearchResultLabel(WebdavDocument previousDocument)
      Shows "Search results:" label instead of breadcrumbs with the link to the previously shown folder.
      Parameters:
      previousDocument - for a back link
    • showRootPath

      public void showRootPath()
    • getLinksLayout

      public com.vaadin.flow.component.orderedlayout.HorizontalLayout getLinksLayout()
    • setClickHandler

      public void setClickHandler(Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> clickHandler)