开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜