-
- All Known Implementing Classes:
AbstractFxIconGlyph,FxIconGlyphBean,FxIconGlyphType
public interface FxIconGlyphInterface for the glyph of aUiIconfor JavaFx. As described in Limitations of JavaFX CSS Reference Guide there is no support for:beforepseudoclass nor is there a possibility to load fonts via CSS in JavaFx. Hence the flexibility to define icons as glyphs needs to be done what is exactly the purpose of this interface andFxIconGlyphFactory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFill()javafx.scene.text.FontgetFont()StringgetStroke()StringgetUnicode()
-
-
-
Method Detail
-
getFont
javafx.scene.text.Font getFont()
- Returns:
- the
Fontto display the icon as glyph from itsunicode.
-
getUnicode
String getUnicode()
- Returns:
- the unicode character of the glyph representing the icon in the specified
font.
-
getFill
String getFill()
- Returns:
- the optional CSS (default) fill color for the icon.
-
getStroke
String getStroke()
- Returns:
- the optional CSS (default) stroke (outline) color for the icon.
-
-