Difference between JavaFX node and UI component?
What is the difference between JavaFX node and a UI component?
开发者_开发知识库I understand that the both concepts are similar but I am sure that there is a reason why we call a JavaFX Node a node and not a Component.
Shortly, node is a general element in a scene tree. Component as generaly understood is a composition of several nodes (in JavaFX) enriched with behavior of some kind. In JavaFX we do not have components. We rather called them controls.
精彩评论