Module MaterialFX

Class SizeBean

java.lang.Object
io.github.palexdev.materialfx.beans.SizeBean

public class SizeBean extends Object
This bean contains two DoubleProperty to keep track/specify the sizes of something in terms of width and height.
  • Property Details

  • Constructor Details

    • SizeBean

      public SizeBean(double width, double height)
  • Method Details

    • of

      public static SizeBean of(double width, double height)
    • getWidth

      public double getWidth()
      Gets the value of the property width.
      Property description:
    • widthProperty

      public DoubleProperty widthProperty()
      See Also:
    • setWidth

      public void setWidth(double width)
      Sets the value of the property width.
      Property description:
    • getHeight

      public double getHeight()
      Gets the value of the property height.
      Property description:
    • heightProperty

      public DoubleProperty heightProperty()
      See Also:
    • setHeight

      public void setHeight(double height)
      Sets the value of the property height.
      Property description: