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 javafx.scene.Node graphicFrom​(de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon icon, java.lang.String size, javafx.scene.paint.Color color)  
      static javafx.scene.Node graphicFrom​(Icon iconAnnotation, java.lang.String size)
      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 javafx.scene.Node graphicFrom​(Icon iconAnnotation,
                                                    java.lang.String size)
        Creates a JavaFx node as specified from the given icon annotation and the given size
        Parameters:
        iconAnnotation - the icon annotation to process
        size - the size of the icon
        Returns:
        a node to be put into java fx, showing the icon
      • graphicFrom

        public static javafx.scene.Node graphicFrom​(de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon icon,
                                                    java.lang.String size,
                                                    javafx.scene.paint.Color color)