网站优化推广费用,商务网站规划与建设,wordpress版本文件,制作微信网站出处#xff1a;http://www.oschina.net/p/controlsfx JavaFX 的 UI 控件集 ControlsFX ControlsFX 开源项目旨在为 JavaFX 开发提供更多的 UI 控件和其他工具。 该项目主要针对JavaFX 8.0#xff08;捆绑在JDK 8中#xff09;#xff0c;考虑到JavaFX中已经包含了一些控件… 出处http://www.oschina.net/p/controlsfx JavaFX 的 UI 控件集 ControlsFX ControlsFX 开源项目旨在为 JavaFX 开发提供更多的 UI 控件和其他工具。 该项目主要针对JavaFX 8.0捆绑在JDK 8中考虑到JavaFX中已经包含了一些控件ControlsFX只会包含新的控件和功能并且还有一个完善的javadoc文档。 ControlsFX包含的主要特性如下 1. 按钮栏 这是一个按钮容器可以自动根据底层操作系统来将按钮放置到正确的位置开发者只需标注按钮的类型该容器会自动完成剩余工作。 2. 对话框 一个预建的模态对话框集合提供了一个简单但强大的API。支持所有预建对话框类型还可以轻松创建自定义对话框。 3. GridView 一个快速、虚拟化的网格容器类似于ListView。对于图像显示来说该控件非常实用。 4. 范围滑块 如果你希望用户指定一个范围可以使用该控件。用户只需在两端输入数字或拖动滑块即可。 5. 评分控件 一个简单的评分控件允许用户在范围内指定一个分数。 6. SegmentedButton分段按钮 如果你希望将一些有关联的按钮控件组合在一起可以使用该控件。 需要注意的是ControlsFX目前只支持JavaFX 8.0 b87捆绑在JDK8 b87版本中及更高版本如果你使用的是JDK 8早期版本则需要升级。JavaFX 2.x及之前版本不受支持。 介绍内容来自 iteye -------------------------------------------------------------------------------- 出处https://bitbucket.org/controlsfx/controlsfx/ ControlsFX is an open source project for JavaFX that aims to provide really high quality UI controls and other tools to complement the core JavaFX distribution. It has been developed for JavaFX 8.0 and beyond, and has a guiding principle of only accepting new controls / features when all existing code is at an acceptably high level, including thankless jobs like having high quality javadoc documentation. This ensure a high quality release is available at all times, with all experimental work being done in branches of the main code base. Important note: ControlsFX will only work on JavaFX 8.0 b118 or later. If you are running on earlier versions of JDK 8, please upgrade. If you are still using JavaFX 2.x then unfortunately this library will not work for you. Getting Started If you want to play with the ControlsFX sample application, either clone the ControlsFX repo from bitbucket and then run the org.controlsfx.HelloControlsFX application that resides within thesrc/samples/java directory, or run the samples jar file from the command line with the following command (or a variation depending on your operating system): java -cp controlsfx-8.0.3.jar:controlsfx-8.0.3-samples.jar org.controlsfx.HelloControlsFX If you think you have a feature you can contribute, a bug you want to fix, or have a bug youd like to file, please direct it to the issue tracker over at the ControlsFX bitbucket website. If you want to use ControlsFX, then youre probably wondering how to use the API that weve slaved over for hours! In your case, the best and definitive location for help is definitely our javadocs. Fear not, these are not a barren wasteland of undescribed functionality weve poured our hearts into making these javadocs full to the brim of examples, commentary and explanation. If anything is unclear to you, file a bug in our issue tracker and well do our best to update the documentation straight away! If you have questions, you should join the the mailing list. Another great place to explore is our sample code, all located in the src/samples directory of our code repository. Weve put a bunch of effort into making these examples something you can learn from. Release Versioning ControlsFX has a slightly different approach to version numbers than other projects. We use the fairly traditional x.y.z numbering system, except in the case of ControlsFX, the x.y portion is used to represent the base JavaFX version required. In other words, ControlsFX 8.0.0 is the first release of ControlsFX to work on JavaFX 8.0 and above. ControlsFX 8.1.5 (if we ever release that version) is used to represent that the release will work on JavaFX 8.1 (and not JavaFX 8.0), and is the 6th release (remember: real programmers count from zero ). In other words, we do not differentiate between bug fix and feature releases we will clarify what the release contains on a per-release basis. Also, we will always aim to require the minimal version of JavaFX possible, but we are also not going to hold back features / bug fixes / etc if we can resolve them by moving to a newer release. Prior to moving up to a new JavaFX version we will always tag therepository and make available a download of the source and compiled code for the earlier version, for people who are unable to move to the newer JavaFX release. Downloads The library can be downloaded from from ControlsFX website. It is possible to download the current release (8.0.3), or also current development snapshots from Maven Central using the following dependency settings: Maven dependencygroupIdorg.controlsfx/groupIdartifactIdcontrolsfx/artifactIdversion8.0.3/version
/dependencyGradle dependencies {runtime org.controlsfx:controlsfx:8.0.3
}Ivy dependency orgorg.controlsfx namecontrolsfx rev8.0.3/Sbt libraryDependencies org.controlsfx % controlsfx % 8.0.3License ControlsFX is licensed under the 3-Clause BSD license. We are not lawyers, but our interpretation of this license suggests to us that it is business friendly, requiring only the redistribution of the 3-clause BSD license we distribute with ControlsFX. As always, I suggest you review the license with the appropriate people, rather than take the advice of software engineers. If this license is not suitable, please contact Jonathan Giles to discuss an alternative license. -------------------------------------------------------------------------------- Useful links: ControlsFX homepage: http://controlsfx.orgBitBucket repo: http://code.controlsfx.orgIssue tracker: http://issues.controlsfx.orgContributor license agreement: http://cla.controlsfx.orgThis Google group: http://groups.controlsfx.orgJavaFX 应用博客: http://www.javafxblogs.com转载于:https://www.cnblogs.com/leonxyzh/p/7289043.html