Basics
Guides
API Reference
Basics
Guides
API Reference
[12:14] static extends: object
FontAwesomeFX helper functions for working with the Font Awesome icon enum
and icon view node under the fx.fontawesome module path.
names ()
Returns the available Font Awesome icon enum names.
A list of strings with icon names such as CAMERA.icon (string Name)
Resolves an icon enum value from its string name.
Name is a string with the Font Awesome enum name.An AussomJavaObject wrapping the icon enum value.iconView (string Name, string Size = null)
Creates a new icon view node for the provided icon name.
Name is a string with the Font Awesome enum name.Size is an optional CSS font size string such as 24px.A FaIconView object.[75:7] extends: Node
FaIconView wraps the FontAwesomeFX icon view node used to render a single Font Awesome glyph in a JavaFX scene graph.
| Scope | CSS Classes |
|---|---|
| FontAwesomeFX node | Library skin classes applied by GlyphIcon and Text. |
| Inherited parent groups | Node, Shape, and Text styling still applies through the JavaFX hierarchy. |
| Group | Common Properties |
|---|---|
Text |
-fx-font, -fx-fill, -fx-stroke, -fx-underline, -fx-strikethrough. |
Node |
-fx-opacity, -fx-rotate, -fx-translate-x, -fx-translate-y, -fx-managed, visibility. |
FaIconView (Val = null, string Size = null)
Creates a new icon view either by wrapping an existing Java object or by resolving the provided icon name through FontAwesomeFX.
Val is either an AussomJavaObject or a string icon name.Size is an optional CSS font size string such as 18px.setIcon (string Name)
Sets the icon enum value shown by this node.
Name is a string with the Font Awesome enum name.this object for chainingsetSize (string Size)
Sets the icon size using the FontAwesomeFX size string format.
Size is a string such as 24px or 1.5em.this object for chainingsetFill (object ColorObj)
Sets the glyph color with a JavaFX Color object.
ColorObj is a fx.Color object.this object for chaining
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.