Using custom Controls in fxml
Let's say I have subclassed the default TableView<T> class provided by javafx and created a class PersonTableView extends TableView<Person> . That subclass exists in java code and does not use fxml at all. It defines and encapsulates behaviour that I need specifically for my Person object. Now I want to use an instance of my custom class inside of an fxml file, just like I would use all the default controls. And that exactly is my problem, I don't know how I can do that, or if this is even a good / common design decision. I want to encapsulate the behaviour for my specific TableView inside its