JavaFX 的 UI 控件集 ControlsFX

出处: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
<dependency><groupId>org.controlsfx</groupId><artifactId>controlsfx</artifactId><version>8.0.3</version>
</dependency>
Gradle
dependencies {runtime 'org.controlsfx:controlsfx:8.0.3'
}
Ivy
<dependency org="org.controlsfx" name="controlsfx" rev="8.0.3"/>
Sbt
libraryDependencies += "org.controlsfx" % "controlsfx" % "8.0.3"

License

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.org
  • BitBucket repo: http://code.controlsfx.org
  • Issue tracker: http://issues.controlsfx.org
  • Contributor license agreement: http://cla.controlsfx.org
  • This Google group: http://groups.controlsfx.org
  • JavaFX 应用博客: http://www.javafxblogs.com

转载于:https://www.cnblogs.com/leonxyzh/p/7289043.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/265337.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

c语言link错误什么原因,C语言 OpenCV错误:“LINK:致命错误LNK1104:无法打开文件’opencv_core231d.lib’”...

我正在尝试在visual studio opencv中编译一个简单的代码,但是遇到了这个错误.码&#xff1a;#include #include using namespace cv;int main ( int argc, char **argv ){Mat im_gray;Mat img_bw;Mat img_final;Mat im_rgb imread("001.jpg");cvtColor(im_rgb,im_gr…

shell 脚本编写使用

目录一、什么是shell 脚本二、shell 脚本写法三、shell 脚本语法1、第一个 shell 脚本2、read命令3、数值计算4、test命令5、中括号判断符6、默认变量7、条件判断8、函数9、循环一、什么是shell 脚本 终端中输入一系列命令完成一些操作&#xff0c;但是我们一条一条输入命令&a…

javaweb开发之处理表单上传文件和文件下载

2019独角兽企业重金招聘Python工程师标准>>> 一、基于表单的上传文件 1. enctype属性 当表单需要上传文件时&#xff0c;需指定表单 enctype 的值为 multipart/form-data。 在 form 元素的语法中&#xff0c;enctype 属性指定将数据发送到服务器时浏览器使用的编码…

单片机预备知识(电平、进制转换、字节、数据类型)

参考&#xff1a;郭天祥十天带你精通51单片机 网址&#xff1a;https://www.bilibili.com/video/BV1DW411a7mz/?spm_id_from333.788.videocard.0 目录电平特性二进制进制转换1K字节等于多少字节基本数据类型电平特性 二进制 进制转换 也可参考这篇&#xff1a;进制问题和C语言…

c语言程序设计王新萍课后答案,C语言程序设计教程

C语言程序设计教程出版时间&#xff1a;2010年12月定  价&#xff1a;29.80I S B N &#xff1a;9787121116322所属分类&#xff1a;标  签&#xff1a;计算机技术 电子电脑 程序与语言本书由多年从事C语言教学的教师编写。全书共分11章&#xff0c;主要内容包括&#xf…

vue之filter用法

1、全局写法&#xff1a; 全局过滤器必须写在vue实例创建之前。 Vue.filter(testfilter, function (value,text) {// 返回处理后的值return valuetext}) 2、局部写法&#xff1a; 在组件实例对象里挂载。 filters: {changemsg:(val,text)>{return val text}}, 3、使用&…

[summary] 单调队列

2019独角兽企业重金招聘Python工程师标准>>> 很久没做单调队列了╮(╯_╰)╭ 已经不太会了.... 单调队列究其本质就是队列,加上队尾可以删除. 队列都是从队尾插入,队首输出.单调队列也一样. 以队尾到队首递增的单调队列为例,我们需要保证队列的单调性,所以当插入一…

判断同构数 c语言,基于visual Studio2013解决C语言竞赛题之0413同构数

JQuery的基础和应用1.什么是? DOM的作用:提供了一种动态的操作HTML元素的方法. jQuery是一个优秀的js库.用来操作HTML元素的工具. jQuery和DOM ...tomcat 8在win8&period;1中的配置配置jdk: 三个步骤: 1.环境变量>新建 JAVA_HOME C:\Program Files\Java\jdk1.…

段错误的调试方法(printf输出、GDB)

参考&#xff1a;段错误产生原因及简单的调试方法 参考&#xff1a;如何解决段错误 参考&#xff1a;C语言gdb调试之精髓&#xff08;常用命令、多进程、多线程、程序日志&#xff09; 网址&#xff1a;https://www.bilibili.com/video/BV1ei4y1V758?fromsearch&seid40373…

Sparse Feature Learning

1. learn feature from sparse codes (source codes) : http://homes.cs.washington.edu/~lfb/ 2. parse scene(source codes):http://www.cs.illinois.edu/homes/slazebni/转载于:https://www.cnblogs.com/stoneresearch/p/4336332.html

c语言中error c2601,C 语言   dd.cpp(46) : error C2601: 'main' : local function definitions are illegal...

C 语言 dd.cpp(46) : error C2601: main : local function definitions are illegal0#include#includestruct phone{int num;int count;};int convet(char *p){ int i;for(i0;*p!\0;p){switch(*p){ case A:case B:case C:{p[i]2;i;continue;}case D:case E:case F:{p[i]3;i;c…

STM32使用IIC总线通讯协议在OLED屏幕上显示字符串、汉字、单总线获取DHT11模块温湿度并通过IIC显示到屏幕(软件IIC)

参考&#xff1a;基于stm32软件IIC的oled显示温湿度 作者&#xff1a;ZPZ DayUp 发布时间&#xff1a; 2021-07-25 20:52:43 网址&#xff1a;https://blog.csdn.net/m0_56197680/article/details/119077076?spm1001.2014.3001.5501 目录软件模拟IIC时序(起始、停止、应答、发…

区块链:定义未来金融与经济新格局

区块链:定义未来金融与经济新格局 1 区块链是什么 区块链的本质 区块链的本质是一种去中心化的记账系统&#xff0c;区块链与比特币之间的关系就是凯恩斯所说的记账货币与货币之间的关系&#xff0c;区块链是一套由信用记录以及信用记录的清算构成的体系。共识机制与价值载体 共…

Linux出现NOKEY

rpm --import /etc/pki/rpm-gpg/RPM*转载于:https://blog.51cto.com/someos/1338354

at指令返回值检验c语言,学渣求指教,如何识别字符串中的AT命令并逐个输出,求程序!!!...

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼Topic – to implement a parser to retrieve AT command line and print out (1) the tokensone by one and (2) the elapse time of each command line (processing).Please submit the solution in 48 hours.- The solution cou…

hdu 5730 Shell Necklace——多项式求逆+拆系数FFT

题目&#xff1a;http://acm.hdu.edu.cn/showproblem.php?pid5730 可以用分治FFT。但自己只写了多项式求逆。 和COGS2259几乎很像。设A(x)&#xff0c;指数是长度&#xff0c;系数是方案。 \( A(x)^{k} \) 的 m 次项系数表示 k 个连续段组成长度为 m 的序列的方案数。 \( B(x)…

虚拟磁带库

虚拟磁带库(Virtual Tape Library&#xff0c;VTL)&#xff0c;是指以磁盘作为自身存储介质&#xff0c;并能仿真为物理磁带库的产品。简单的说&#xff0c;虚拟磁带库就是将磁盘空间虚拟为磁带空间&#xff0c;能够在传统的备份软件上实现和传统磁带库同样功能的产品。传统磁带…

w ndows7端口在哪里,win7电脑遇到端口被占用的情况该如何查看并将其关闭

Windows7操作系统的酷炫和强大已经深受用户们的喜欢了&#xff0c;这里根大家分享的是教你查看win7电脑端口是否被占用的技巧&#xff0c;端口是我们在进行远程或者打印机等都会遇到的&#xff0c;但是有很多用户会遇到端口被占用的情况&#xff0c;遇到这样的问题首先就要找出…

STM32F103五分钟入门系列(十三)独立看门狗IWDG

参考&#xff1a;STM32F103五分钟入门系列&#xff08;十三&#xff09;独立看门狗IWDG 作者&#xff1a;自信且爱笑‘ 发布时间&#xff1a;2021-07-31 19:50:28 网址&#xff1a;https://blog.csdn.net/Curnane0_0/article/details/119269391?utm_sourceapp&app_version…

session-cookie 和token登录验证

最近研究了下基于token的身份验证&#xff0c;并将这种机制整合在个人项目中。现在很多网站的认证方式都从传统的seesioncookie转向token校验。对比传统的校验方式&#xff0c;token确实有更好的扩展性与安全性。    传统的sessioncookie身份验证    由于HTTP是无状态的…