Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: Glyph

[54:7] extends: Label, Region

org.controlsfx.glyphfont.Glyph

Methods

  • Glyph (Obj)

    Initializes a Glyph wrapping the provided ControlsFX Glyph Java object.

    • @p Obj is the underlying ControlsFX Glyph Java object to wrap.

class: FontAwesome

[13:14] static extends: object

Aussom helper class that makes Font Awesome icon glyphs available as text labels using the Font Awesome icon font. It uses the ControlsFX GlyphFont registry to locate the FontAwesome font and creates Glyph nodes that can be used as graphic decorations on buttons, labels, and other controls. Call names() to get a list of all available glyph names, then pass one to create() to produce a displayable Glyph node.

Members

  • fa

Methods

  • get ()

    Returns the cached FontAwesome GlyphFont instance, loading it on first access.

    • @r A GlyphFont object for the FontAwesome font registry entry.
  • names ()

    Gets a list of all glyph names. @ A list of strings with all the names.

  • create (string Name)

    Creates a Glyph with the provided name and returns it.

    • @p Name is a string with the glyph name. (ie GEAR, SAVE ...)
    • @r A Glyph to be used as a graphic.