Profile cover photo
Profile photo
David Grieve
31 followers
31 followers
About
Posts

Post has attachment
JavaFX StyleablePropertyFactory
javafx.css.StyleablePropertyFactory was just added to the code base for JavaFX 8u40, which you can download from the OpenJFX project. This factory class makes it easier to use CSS in your controls by dramatically reducing the StyleableProperty and CssMetaDa...
Add a comment...

Post has attachment
JavaFX TableView with image background in header
I got to wondering how to set the background of a table to an image of some sort. It is pretty straight-forward with CSS. The only trick, really, is setting the background-color of the filler and column-header so the image can be seen. I used a semi-transpa...
Add a comment...

Post has attachment
JavaFX CSS selectors for TableView
I had time to kill while on a flight from Boston to Houston and came up with a list of CSS selectors for simple, JavaFX TableView. The comment in each CSS rule states the public API of the selected node. .table-view > .column-header-background {
/* Stac...
Add a comment...

Post has attachment
Styling Cells in JavaFX
When working with Cells, in a ListView or TableView for example, it is best to use CSS to style the look of the cell. While it is possible to set the value of a property directly, the way cells are reused means that you have to be careful to undo or redo th...
Add a comment...

Post has attachment
Styling the progress color of indeterminate ProgressIndicator along a gradient
I thought it would be fun to have an indeterminate ProgressIndicator that went from red, to yellow, to green as the progress value went from zero to one. So I cooked this up. The color transitions nicely along a gradient from red at 0%, yellow at 50%, and g...
Add a comment...
Wait while more posts are being loaded