JFXtras 0.6预览版发布,JavaFX的扩展工具包
程序员文章站
2022-05-28 20:49:47
...
JFXtras 0.6预览版发布!JFXtras 是一个 JavaFX 脚本语言的扩展工具包,包含对话框、布局容器、单元测试工具以及异步的处理等。
新功能:
- Layouts – Changes to the Grid API in preparation for inclusion in the JavaFX Soma release, and also added animation support to all the layouts.
- Sphere – Pseudo 3D sphere created for the Groovy showdown with Andrey Almiray.
- Gear – New shape from Steve Bixby.
- ManualResizableRectangle – Very useful shape from Yannick’s post.
- JXScene – Pedro’s improved API for Swing integration.
- PaintUtil, HSBColor, new gradients – Liu’s magic paint classes
- Custom Paints – From Jeff Friesen’s excellent article on Custom Paints.
- Custom Cursors – From Jeff Friesen’s excellent article on Custom Cursors.
- Wipe Library – A transition library from Simon Morris’ JavaFX in Action book.
- XMap – A bindable Map implementation for JavaFX.
- XStore – David Armitage’s simple persistence for JavaFX variables using dependency injection.
- ImageCache – Caching of JavaFX images for building high performance applications contributed by Joshua Marinacci.
- XEDT – Simplified event thread mangement for JavaFX infrastructure classes (Warning: Use the JavaFX Task API instead unless you know exactly what you are doing)
And the rest under a new Controls jar:
- XTableView – I am still working on this, but it is very useful already as demonstrated by Jim Weaver’s SpeedReaderFX application.
- XTreeView – Jim Clarke’s Tree Control.
- XCalendarPicker – Tom’s excellent calendar control.
- XPane – A titled region with rounded corners developed by Dean Iverson.
- XPicker – David Armitage did some great work on this… Check out his demo on the JFXtras website.
- XShelfView – A high performance Display Shelf control implementation with support for reflection, titles, and a scrollbar as showcased on JFXStudio.
- XSpinnerWheel – A prize spinner wheel that makes use of pseudo 3D effects as showcased in the JUG Prize Spinner application.
- XMenu – Pure JavaFX Menu developed by Jonathan Giles (this version will be replaced by the official Sun Menu control when it becomes available).
- XPasswordBox – Control from Liu to create a password field.
- XMultiLineTextBox – Till’s control for editing multiple lines of text.
- XSwingTable – From John Freeman, this gives you all the power of a JTable directly from JavaFX code.
查看详细发布文档:http://jfxtras.googlecode.com/svn/site/javadoc/release-0.6/index.html
下载JFXtras:http://code.google.com/p/jfxtras/downloads/list
为了与JavaFX中的布局和控件相区分,在大多数Class的前面都添加了“X”。
此次一同发布的还有JFXtras Test的一个新版本。这也是最后一次使用这个名字,以后JFXtras Test将会融入FEST-JavaFX中。(查看相关详情:Devoxx 大会)