Class FilePathBreadCrumbs
java.lang.Object
io.jmix.webdavflowui.view.webdavdocument.FilePathBreadCrumbs
Helper class to manage filepath breadcrumbs
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>>
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
-
Constructor Summary
ConstructorDescriptionFilePathBreadCrumbs
(com.vaadin.flow.component.orderedlayout.HorizontalLayout parentLayout, MessageBundle messageBundle) -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.orderedlayout.HorizontalLayout
void
setClickHandler
(Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> clickHandler) void
void
showSearchResultLabel
(WebdavDocument previousDocument) Shows "Search results:" label instead of breadcrumbs with the link to the previously shown folder.void
updateFilePath
(Deque<WebdavDocument> path)
-
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
-
showSearchResultLabel
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)
-