FontAwesomeFX 8.2 released

I made some refactorings and have now released FontAwesomeFX 8.2 containing some (more or less) minor changes:

  • Icon enums renamed: ‘*Name’ is now ‘*Icons’ (e.g. ‘FontAwesomeIcons’ instead of ‘FontAwesomeIconName’)
  • added a ‘BLANK’ icon to both FontAwesomeIcons and WeatherIcons which is in fact unicode ‘\u0020’ (SPACE) (@dlemmermann! ;-))
  • GlyphsBuilder: icon(GlyphIconName glyphIconName) is now glyph(GlyphIcons glyph)
  • removed unnecessary code
  • FXML:
    • ‘iconName’ is now ‘glyphName’
    • ‘glyphStyleClass’ is now ‘styleClass’: no extra GlyphStyle class just assign the class via Section “JavaFX CSS” -> Style Class.

So if you have already used FontAwesomeFX 8.1 you will also have to adjust your code, sorry for the inconvenience but I think now its a more reasonable wording for future releases!

Some FXML Examples:
2015-03-04 12_49_16-FontAwesomeFX - NetBeans IDE 8.0.2
SceneBuilder:
2015-03-04 12_44_15-glyphs_fxml_demo.fxml
2015-03-04 12_46_09-glyphs_fxml_demo.fxml

2015-03-04 12_49_25-FontAwesomeFX - NetBeans IDE 8.0.2
SceneBuilder:
2015-03-04 12_47_13-glyphs_fxml_demo.fxml
2015-03-04 12_47_25-glyphs_fxml_demo.fxml
2015-03-04 12_45_56-glyphs_fxml_demo.fxml

Hint:
I planned to make the Icon choice in SceneBuilder more comfortable. I wanted to provide a drop-down instead of need to look up the right name and to put it into the TextField. But unfortunately by now I didn’t make it to get SceneBuilder to work with the Glyphs-choice as enum. It worked very well with just one GlyphIcon on the pane but when a 2nd one is placed SB crashed. But I will continue to try to find out what went wrong – stay tuned.

Get 8.2:
Download Binaries: Download
Sources available at Bitbucket

Maven:

<dependency>
  <groupId>de.jensd</groupId>
  <artifactId>fontawesomefx</artifactId>
  <version>8.2</version>
</dependency>