Tag Archives: ControlsFX

JavaFX Tip 18: Path Clipping


I recently noticed that the PopOver control, which I committed to the ControlsFX project, does not properly clip its content. It became obvious when I was working on the accordion popover for the FlexCalendarFX framework. Whenever the last titled pane was expanded the bottom corners were no longer rounded but square. After placing a red […]

https://dlemmermann.wordpress.com/2015/02/18/javafx-tip-18-path-clipping/

JAVAFX TIP 18: PATH CLIPPING


via JavaFX Tip 18: Path Clipping | Pixel Perfect.

Recently noticed that the PopOver control, which I committed to the ControlsFX project, does not properly clip its content. It became obvious when I was working on the accordion popover for the FlexCalendarFX framework. Whenever the last titled pane was expanded the bottom corners were no longer rounded but square. After placing a red rectangle as content to the titled pane it became clear to me that I forgot to add clipping. The following picture shows the problem.

JavaFX Dialogs (official)


Click to Read

JavaFX 8 (update 40) finally includes simple Dialogs and Alerts! I’ve been waiting for this since 2012! In the meantime I wrote about how to use Dialogs in JavaFX 2 and later in JavaFX 8 with ControlsFX.

Now that they will be available in the official JDK, let’s learn how to use them.

NEW CUSTOM CONTROL: TASKPROGRESSVIEW


NEW CUSTOM CONTROL: TASKPROGRESSVIEW

new custom control and commited it to the ControlsFX project. It is a highly specialized control for showing a list of background tasks, their current status and progress. This is actually the first control I have written for ControlsFX just for the fun of it, meaning I do not have a use case for it myself (but sure one will come eventually). The screenshot below shows the control in action.

task-monitor

If you are already familiar with the javafx.concurrent.Task class you will quickly grasp that the control shows the value of its title, message, and progress properties. But it also shows an icon, which is not covered by the Task API. I have added an optional graphics factory (a callback) that will be invoked for each task to lookup a graphic node that will be placed on the left-hand side of the list view cell that represents the task.

A video showing the control in action can be found here: