Class InsetBuilder.Builder

java.lang.Object
no.ntnu.principes.util.styles.InsetBuilder.Builder
Enclosing class:
InsetBuilder

public static class InsetBuilder.Builder extends Object
Builder class for creating InsetBuilder instances. Supports fluent API for setting individual inset values.
  • Method Details

    • top

      public InsetBuilder.Builder top(double top)
      Sets the top inset value.
      Parameters:
      top - The top inset value
      Returns:
      This builder for method chaining
    • right

      public InsetBuilder.Builder right(double right)
      Sets the right inset value.
      Parameters:
      right - The right inset value
      Returns:
      This builder for method chaining
    • bottom

      public InsetBuilder.Builder bottom(double bottom)
      Sets the bottom inset value.
      Parameters:
      bottom - The bottom inset value
      Returns:
      This builder for method chaining
    • left

      public InsetBuilder.Builder left(double left)
      Sets the left inset value.
      Parameters:
      left - The left inset value
      Returns:
      This builder for method chaining
    • build

      public javafx.geometry.Insets build()
      Builds the final Insets object. Creates an InsetBuilder and delegates to its build method.
      Returns:
      A new Insets object with the configured values