在Scene Builder中包含控制FX? [英] Include Controls FX in Scene Builder?

查看:344
本文介绍了在Scene Builder中包含控制FX?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在




  • 选择搜索存储库并输入ControlsFX并单击搜索按钮。






  • 这将显示默认添加的存储库中列出的所有controlsfx工件。选择org.controlsfx:controlsfx并点击添加Jar。






  • 然后显示Dialog,您可以在其中选择要导入的组件。选择它们并按导入组件按钮。






  • 所有选定的组件都加载到SceneBuilder中。








在8.2.0之前将控件导入到SceneBuilder



在SceneBuilder 8.2.0之前,您可以手动导入控件:




  • 点击向下箭头在右侧

  • 选择导入JAR / FXML文件

  • 选择 controlsfx jar




Is it possible to include the component of Controls FX in Scene Builder ?

If yes, can you tell me how, if no can you tell me if there're alternatives ?

解决方案

Yes you can. But unfortunately all ControlsFX controls are not supported by scene builder. An issue titled, "All controls should be supported by SceneBuilder" is currently opened with the ControlsFX team.

Update

Since SceneBuilder 8.2.0 you can directly search for an artifact from SceneBuilder and include them using the brand new Library Manager \o/

To open the Library Manager:

  • Click the down arrow to the right of Library and choose import JAR/FXML File.

  • This will open up the Library Manager Dialog:

  • Select "Search Repository" and type in "ControlsFX" and click the Search button.

  • This will display all the controlsfx artifacts listed in the repositories that is added by default. Choose "org.controlsfx:controlsfx" and click on "Add Jar".

  • It then displays Dialog in which you can select the components that you want to import. Select them and press the "Import Component" button.

  • All the selected components are loaded into the SceneBuilder.


Import controls to SceneBuilder before 8.2.0

Prior to SceneBuilder 8.2.0, you can manually import the controls:

  • click the down arrow to the right of Library
  • choose "Import JAR/FXML File"
  • select the controlsfx jar.

这篇关于在Scene Builder中包含控制FX?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆