Class Stylesheet

java.lang.Object
jfxtras.scene.layout.responsivepane.Stylesheet

@DefaultProperty("file") public class Stylesheet extends Object
  • Property Details

  • Field Details

    • fileProperty

      private final javafx.beans.property.SimpleObjectProperty<String> fileProperty
    • sizeAtLeastProperty

      private final javafx.beans.property.SimpleObjectProperty<Size> sizeAtLeastProperty
  • Constructor Details

    • Stylesheet

      public Stylesheet()
      For FXML
    • Stylesheet

      public Stylesheet(Size sizeAtLeast, String file)
      Parameters:
      sizeAtLeast - size in inches
      file -
  • Method Details

    • fileProperty

      public javafx.beans.property.ObjectProperty<String> fileProperty()
      File
      Returns:
      the file property
      See Also:
    • getFile

      public String getFile()
      Gets the value of the file property.
      Property description:
      File
      Returns:
      the value of the file property
      See Also:
    • setFile

      public void setFile(String value)
      Sets the value of the file property.
      Property description:
      File
      Parameters:
      value - the value for the file property
      See Also:
    • withFile

      public Stylesheet withFile(String value)
    • sizeAtLeastProperty

      public javafx.beans.property.ObjectProperty<Size> sizeAtLeastProperty()
      SizeAtLeast (in inches)
      Returns:
      the sizeAtLeast property
      See Also:
    • getSizeAtLeast

      public Size getSizeAtLeast()
      Gets the value of the sizeAtLeast property.
      Property description:
      SizeAtLeast (in inches)
      Returns:
      the value of the sizeAtLeast property
      See Also:
    • setSizeAtLeast

      public void setSizeAtLeast(Size value)
      Sets the value of the sizeAtLeast property.
      Property description:
      SizeAtLeast (in inches)
      Parameters:
      value - the value for the sizeAtLeast property
      See Also:
    • withSizeAtLeast

      public Stylesheet withSizeAtLeast(Size value)
    • describeSizeConstraints

      public String describeSizeConstraints()