Add reusable autocomplete, tag chips, and dismissible toolbars

This commit is contained in:
2026-11-22 13:03:53 +01:00
parent f8ab7fc1d7
commit 32f8d28159
7 changed files with 290 additions and 3 deletions
+6 -3
View File
@@ -5,9 +5,12 @@ Use JavaFX's `ToolBar` for toolbar content and NeitzelLib's
ordinary application Nodes. They work in Java and ordinary FXML without a
DockingManager, ViewLoader, ViewModel or initialized injection context.
The toolbar deliberately reuses JavaFX's existing public control: its item
list, orientation, overflow handling, accessibility and CSS already provide
the required behavior. There is no second library toolbar API to learn.
Use JavaFX's `ToolBar` directly for permanent bars. `ToolBarPane` hosts a
horizontal JavaFX toolbar and adds an optional × at its left edge, outside
the overflow menu. Set `dismissible` to show the button. Clicking it hides
the pane and calls `onDismiss` if supplied. Bind `managedProperty()` to
`visibleProperty()` when a hidden pane should release its layout space.
Show the pane again with `setVisible(true)`. Its items are retained.
## Java