Package org.patternfly.extension.finder
package org.patternfly.extension.finder
Provides a multi-column finder component inspired by the macOS Finder for hierarchical data navigation.
The finder displays data in a series of columns, where selecting an item in one column reveals its children in the next column. Columns support asynchronous loading, keyboard navigation, filtering, sorting, and an optional preview pane. Finder paths can be serialized for URL routing and restored programmatically.
Key classes:
Finder- the main container managing columns and navigationFinderColumn- a single column displaying a list of itemsFinderItem- an individual selectable item within a columnFinderPreview- preview pane shown alongside the columnsFinderPath- lightweight path for serialization and URL routing
Usage
Finder finder = finder()
.addColumn(finderColumn("categories")
.addItem(finderItem("cat-1", "Category 1")
.nextColumn(() -> finderColumn("items")
.addItem(finderItem("item-1", "Item 1"))
.addItem(finderItem("item-2", "Item 2")))));
- See Also:
-
ClassDescriptionA finder provides column-based hierarchical navigation inspired by the macOS Finder.A column in the
Finder, displaying a list ofFinderItems that can be selected, filtered, and sorted.Container for action buttons and dropdowns in aFinderColumnheader.The header of aFinderColumn, displaying the column title and optional actions.TheFinderColumnSearchclass is a subcomponent designed to handle search functionality within a finder column.An item within aFinderColumn, representing a selectable entry with optional icon, description, and actions.Container for action buttons and dropdowns displayed on aFinderItem.A text description displayed below the main content of aFinderItem.A lightweight finder path containing only string-basedsegments.A preview panel displayed alongside theFindercolumns when an item is selected.A lightweight segment of aFinderPathcontaining only string identifiers.Handler for populating aFinderPreviewwhen aFinderItemis selected.A resolved finder path containing live references toFinderColumnandFinderIteminstances.A segment of aResolvedFinderPathcontaining live references to theFinderColumnand selectedFinderItem.