d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Javafx And Fxml?
Add Reply New Topic New Poll
Member
Posts: 31,378
Joined: Mar 25 2009
Gold: 15.00
Jul 19 2019 02:11pm
What is parent and children?
Member
Posts: 12,703
Joined: May 17 2013
Gold: 12,935.00
Jul 19 2019 04:24pm
A scene has a root node called a parent node, and this parent has child nodes which are elements in your GUI that occur in the scene (as part of the parent node)

FXML describes the hierarchy of a node and its children. A node that contains child nodes, is called a parent node. The root node almost always contains other nodes, so it's usually called both the root node / parent node.

It basically looks like this:



This post was edited by Klexmoo on Jul 19 2019 04:26pm
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll