开发者

Difference between JavaFX node and UI component?

开发者 https://www.devze.com 2022-12-29 14:49 出处:网络
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 a

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消