controlsfx对话框被弃用了什么? [英] controlsfx Dialogs deprecated for what?

查看:190
本文介绍了controlsfx对话框被弃用了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ControlsFX类 Dialogs 是标记为已弃用。

ControlsFX class Dialogs is marked as deprecated.

使用什么?

推荐答案

这博客文章解释了这一切:

This blog post explains it all:

http://fxexperience.com/2014/09/announcing-controlsfx-8-20-7/


自从8.0.6于5月29日发布以来,这个版本一直在酝酿 - 所以基本上是四个月。这对我们来说并不典型(我们通常会有更快的发布),但Eugene和我都在一项重大工作中分心 - 将ControlsFX对话框API和实现提升到JavaFX本身的下一个版本中(它将出现在JavaFX 8u40中)虽然API与您在ControlsFX 8.0.6中看到的有很大不同。最终的结果是我们迭代了一堆API设计工作(参见RT-12643)并且没有一个能够使ControlsFX受益,但它占用了我们所有的时间。

This release has been brewing since 8.0.6 was released on May 29th – so basically four months. This is not typical for us (we normally have much quicker releases), but Eugene and I were both distracted on a major undertaking – elevating the ControlsFX dialogs API and implementation into the next release of JavaFX itself (it’ll be appearing in JavaFX 8u40, although the API is vastly different than what you see in ControlsFX 8.0.6). The end result is that we iterated through a bunch of API design work (see RT-12643) and none of that benefited ControlsFX, but it took up all our time.

一旦JavaFX 8u40对话框完成API(仅在8月中旬),我们就如何继续使用ControlsFX对话框制定了计划。从本质上讲,我们并不认为在ControlsFX中维护一个与JavaFX 8u40中提供的内容如此不同的对话API是明智的。因此,我们开发的计划是弃用旧的ControlsFX API,将JavaFX对话框API分成一个名为openjfx-dialogs的新项目,并使用新的API重新创建ControlsFX包含的其他功能(但在JavaFX本身中缺少)。 (这包括进度,字体选择器,命令链接,登录等对话框。)

Once JavaFX 8u40 dialogs were API complete (which was only mid-August), we developed a plan for how to proceed with ControlsFX dialogs. In essence we didn’t feel that it was wise to maintain a dialogs API in ControlsFX that was so divergent than what will ship in JavaFX 8u40. Therefore, the plan that we developed was to deprecate the old ControlsFX API, fork the JavaFX dialogs API into a new project called openjfx-dialogs, and to recreate the additional features that ControlsFX includes (but are lacking in JavaFX itself) using the new API (this includes dialogs like progress, font chooser, command link, login, etc).

这篇关于controlsfx对话框被弃用了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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