samedi 20 février 2016

Defining node features on creation

I have some sort of nodes in JavaFX application. All of them have the same properties and abilities. They respond on clicking in different circumstances identically, are dragged identically etc. Therefore I want to give them all listeners and other features on creation. How can I do it? What would be the best way to realize it architecturally? Thanks.

Aucun commentaire:

Enregistrer un commentaire