-
- All Known Implementing Classes:
AbstractFxIconGlyph
,FxIconGlyphBean
,FxIconGlyphType
public interface FxIconGlyph
Interface for the glyph of aUiIcon
for JavaFx. As described in Limitations of JavaFX CSS Reference Guide there is no support for:before
pseudoclass 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 String
getFill()
javafx.scene.text.Font
getFont()
String
getStroke()
String
getUnicode()
-
-
-
Method Detail
-
getFont
javafx.scene.text.Font getFont()
- Returns:
- the
Font
to 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.
-
-