Class JavaFXHeadless

  • All Implemented Interfaces:
    Headless<javafx.scene.paint.Color,​javafx.scene.text.Font>

    public class JavaFXHeadless
    extends java.lang.Object
    implements Headless<javafx.scene.paint.Color,​javafx.scene.text.Font>
    Created by luc on 26.04.17.
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaFXHeadless()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static javafx.geometry.Bounds computeStringBounds​(java.lang.String s, javafx.scene.text.Font myFont)  
      static double computeStringWidth​(java.lang.String s, javafx.scene.text.Font myFont)  
      PreferredSize sizeLabel​(com.macrofocus.labeling.EnhancedLabel<javafx.scene.paint.Color,​javafx.scene.text.Font> l, TGraphics<javafx.scene.paint.Color,​javafx.scene.text.Font> g, int width, int height)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaFXHeadless

        public JavaFXHeadless()
    • Method Detail

      • sizeLabel

        public PreferredSize sizeLabel​(com.macrofocus.labeling.EnhancedLabel<javafx.scene.paint.Color,​javafx.scene.text.Font> l,
                                       TGraphics<javafx.scene.paint.Color,​javafx.scene.text.Font> g,
                                       int width,
                                       int height)
        Specified by:
        sizeLabel in interface Headless<javafx.scene.paint.Color,​javafx.scene.text.Font>
      • computeStringWidth

        public static double computeStringWidth​(java.lang.String s,
                                                javafx.scene.text.Font myFont)
      • computeStringBounds

        public static javafx.geometry.Bounds computeStringBounds​(java.lang.String s,
                                                                 javafx.scene.text.Font myFont)