Reputation: 284
Does anybody know a API or something for Vaadin that i dont have to save the nodes as Strings to reidentify them?
This is important for me because i'm working on a Programm on with the User chooses the Names and they are not static for ever.
Would realy love something like:
Node node = new Node("Title");
Node node1 = new Node("Title1");
node.addNode(node1);
tree.addNode(node);
Thanks for every answere.
Upvotes: 0
Views: 424
Reputation: 714
in vaadin item identifiers do not have to be a String. They just have to be an object.
Maybe you are looking for the Tree component from Vaadin? https://vaadin.com/book/-/page/components.tree.html
Upvotes: 1