Package org.minifx.workbench.util
Class Icons
- java.lang.Object
-
- org.minifx.workbench.util.Icons
-
public final class Icons extends java.lang.ObjectStatic methods for creating icons
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.controlsfx.glyphfont.GlyphgraphicFrom(org.controlsfx.glyphfont.FontAwesome.Glyph icon)Materialize the given icon into something displayablestatic org.controlsfx.glyphfont.GlyphgraphicFrom(org.controlsfx.glyphfont.FontAwesome.Glyph icon, double sizeFactor, javafx.scene.paint.Color color)static org.controlsfx.glyphfont.GlyphgraphicFrom(Icon iconAnnotation, double sizeFactor)Creates a JavaFx node as specified from the given icon annotation and the given size
-
-
-
Method Detail
-
graphicFrom
public static org.controlsfx.glyphfont.Glyph graphicFrom(Icon iconAnnotation, double sizeFactor)
Creates a JavaFx node as specified from the given icon annotation and the given size- Parameters:
iconAnnotation- the icon annotation to processsizeFactor- the size of the icon- Returns:
- a node to be put into java fx, showing the icon
-
graphicFrom
public static org.controlsfx.glyphfont.Glyph graphicFrom(org.controlsfx.glyphfont.FontAwesome.Glyph icon)
Materialize the given icon into something displayable- Parameters:
icon- to materialize- Returns:
- the
Glyphthat can be added to the GUI
-
graphicFrom
public static org.controlsfx.glyphfont.Glyph graphicFrom(org.controlsfx.glyphfont.FontAwesome.Glyph icon, double sizeFactor, javafx.scene.paint.Color color)
-
-