Introduction to the extended control library controlsfx of javafx

Source: Internet
Author: User

Disclaimer: the original articles of this blog are all personal originals and are copyrighted. For more information, see http://blog.csdn.net/ml3947. for more information, visit http://www.wjfxgame.com.

Controlsfx is an extension control library of javafx. Is a supplement to the built-in controls of javafx.

The following is an example of controlsfx:


As you can see, some new controls are added to controlsfx. Let's take a look at the controls!


Buttonbar:

This is a simple horizontal placement of some buttons that can automatically control their positions.


Dialogs:

It is regrettable that there is no dialog box in javafx. Controlsfx provides a series of APIS for creating dialogs, And we can easily create custom dialogs.


Gridview:

This is a control similar to the grid class of listview. In fact, it is similar to the gridview in Android. It is also a very common control.


Rangeslider:

This is a slider, but there are two slide that can be dragged, one controlling the minimum value and the other controlling the maximum value. The two sides are textfield, which can be input.


Rating:

This is a simple voting control and does not need to be described too much.


Segmentedbutton:

This is actually a set of buttons with the same togglegroup, but it is better than directly using visual effects.


In addition, controlsfx: http://fxexperience.com/controlsfx/

Note: controlsfx can only be used in the javafx 8.0 b91 or later versions. That is to say, we must use JDK 8 to use this javafx extension library.


JDK 8: https://jdk8.java.net/download.html.


If you are interested, you can try it.


Reprinted please indicate the source: http://blog.csdn.net/ml3947

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.