Package com.treemap.javafx.crossplatform

# Class JavaFXHeadless

java.lang.Object
com.treemap.javafx.crossplatform.JavaFXHeadless

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

public class JavaFXHeadless extends 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

  Modifier and Type
  Method
  Description
  `static javafx.geometry.Bounds`
  `computeStringBounds(String s, javafx.scene.text.Font myFont)`
  `static double`
  `computeStringWidth(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 Details

  - ### JavaFXHeadless

    public JavaFXHeadless()

- ## Method Details

  - ### 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(String s, javafx.scene.text.Font myFont)

  - ### computeStringBounds

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