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

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

问题描述

是否可以在

  • 选择搜索存储库"并输入ControlsFX",然后单击搜索"按钮.

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

  • 然后显示对话框,您可以在其中选择要导入的组件.选择它们并按下导入组件"按钮.

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

<小时>

在 8.2.0 之前将控件导入到 SceneBuilder

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

  • 点击Library右侧的向下箭头
  • 选择导入 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 中包含 Controls FX?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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