Class Utils

java.lang.Object
com.sun.javafx.scene.control.skin.Utils

public class Utils extends Object
BE REALLY CAREFUL WITH RESTORING OR RESETTING STATE OF helper NODE AS LEFTOVER STATE CAUSES REALLY ODD NASTY BUGS! We expect all methods to set the Font property of helper but other than that any properties set should be restored to defaults.
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • boundedSize

      public static double boundedSize(double value, double min, double max)
    • computeXOffset

      public static double computeXOffset(double width, double contentWidth, HPos hpos)
    • computeYOffset

      public static double computeYOffset(double height, double contentHeight, VPos vpos)