Ich brauche mal dringend eure Hilfe:
Es geht um eine TreeView in der ich gerne Strings als Oberbegriffe speichern möchte, als Leafs/Blätter dann aber selbst erstellte Objekte habe.
Ich habe ein kleines Beispiel dazu erstellt, mit dem wir arbeiten können:
Code (Java):
package application;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.util.Callback;
import javafx.scene.Scene;
import javafx.scene.control.TreeCell;
import...
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.util.Callback;
import javafx.scene.Scene;
import javafx.scene.control.TreeCell;
import...
TreeView mit verschiedenen Datentypen
0 commentaires:
Enregistrer un commentaire