Class Icons


  • public final class Icons
    extends java.lang.Object
    Static methods for creating icons
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.controlsfx.glyphfont.Glyph graphicFrom​(org.controlsfx.glyphfont.FontAwesome.Glyph icon)
      Materialize the given icon into something displayable
      static org.controlsfx.glyphfont.Glyph graphicFrom​(org.controlsfx.glyphfont.FontAwesome.Glyph icon, double sizeFactor, javafx.scene.paint.Color color)  
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 process
        sizeFactor - 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 Glyph that 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)