java.lang.Object
jfxtras.scene.layout.responsivepane.Size
jfxtras.scene.layout.responsivepane.Width

public class Width extends Size
  • Field Details

    • ZERO

      public static final Width ZERO
    • unit

      Unit unit
    • value

      double value
  • Constructor Details

    • Width

      Width(double value, Unit unit)
      Parameters:
      value -
      unit -
  • Method Details

    • toInches

      double toInches(ResponsivePane responsivePane)
      Convert the width to inches
      Specified by:
      toInches in class Size
      Parameters:
      responsivePane -
      Returns:
    • inch

      public static Width inch(double v)
    • cm

      public static Width cm(double v)
    • valueOf

      public static Width valueOf(String s)
      Parameters:
      s -
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object