Let an application show a list of simple values in a control and on the entity as one shared list.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-30 17:28:18 +01:00
co-authored by Cursor
parent 99886efa8b
commit aab55cbde3
6 changed files with 228 additions and 4 deletions
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.layout.VBox?>
<?import de.neitzel.fx.view.BindingList?>
<?import de.neitzel.fx.view.DirectBinding?>
<VBox xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml">
<fx:define>
<BindingList>
<DirectBinding control="tags" property="items" path="tags" direction="both"/>
</BindingList>
</fx:define>
<ListView fx:id="tags" id="tags"/>
</VBox>