java.lang.Object
io.github.sosuisen.jfxbuilder.controls.PopupControlBuilder

public class PopupControlBuilder extends Object
The PopupControlBuilder class constructs instances of the PopupControl class and offers a fluent interface for creating and configuring it.

This class includes a static create method that accepts the same arguments as the original PopupControl constructor and returns an instance of the PopupControlBuilder.

You can use method chaining to call the builder methods for configuring the PopupControl. Finally, invoke the build method to generate an instance of the PopupControl class.

Note that intermediate builder methods are not evaluated until the build method is called, meaning they are evaluated lazily.

Author:
Hidekazu Kubota <hidekazu.kubota@gmail.com>
  • Method Details

    • create

      public static PopupControlBuilder create()
      Returns an instance of the PopupControlBuilder.
      Returns:
      an instance of the PopupControlBuilder.
    • build

      public PopupControl build()
      Builds and returns an instance of the PopupControl class.

      Intermediate builder methods are not evaluated until the build method is called; in other words, they are evaluated lazily.

      Returns:
      new instance of the PopupControl class
    • apply

      Applies a function to the PopupControl instance being constructed. Most operations on the instance can be performed using this method.
      Returns:
      builder instance
    • anchorLocation

      public PopupControlBuilder anchorLocation(PopupWindow.AnchorLocation value)
      A builder method that invokes the setAnchorLocation method on the instance being constructed.
      Returns:
      builder instance
    • anchorX

      public PopupControlBuilder anchorX(double value)
      A builder method that invokes the setAnchorX method on the instance being constructed.
      Returns:
      builder instance
    • anchorY

      public PopupControlBuilder anchorY(double value)
      A builder method that invokes the setAnchorY method on the instance being constructed.
      Returns:
      builder instance
    • autoFix

      public PopupControlBuilder autoFix(boolean value)
      A builder method that invokes the setAutoFix method on the instance being constructed.
      Returns:
      builder instance
    • autoHide

      public PopupControlBuilder autoHide(boolean value)
      A builder method that invokes the setAutoHide method on the instance being constructed.
      Returns:
      builder instance
    • consumeAutoHidingEvents

      public PopupControlBuilder consumeAutoHidingEvents(boolean value)
      A builder method that invokes the setConsumeAutoHidingEvents method on the instance being constructed.
      Returns:
      builder instance
    • eventDispatcher

      public PopupControlBuilder eventDispatcher(EventDispatcher value)
      A builder method that invokes the setEventDispatcher method on the instance being constructed.
      Returns:
      builder instance
    • forceIntegerRenderScale

      public PopupControlBuilder forceIntegerRenderScale(boolean forced)
      A builder method that invokes the setForceIntegerRenderScale method on the instance being constructed.
      Returns:
      builder instance
    • height

      public PopupControlBuilder height(double value)
      A builder method that invokes the setHeight method on the instance being constructed.
      Returns:
      builder instance
    • hideOnEscape

      public PopupControlBuilder hideOnEscape(boolean value)
      A builder method that invokes the setHideOnEscape method on the instance being constructed.
      Returns:
      builder instance
    • id

      public PopupControlBuilder id(String value)
      A builder method that invokes the setId method on the instance being constructed.
      Returns:
      builder instance
    • maxHeight

      public PopupControlBuilder maxHeight(double value)
      A builder method that invokes the setMaxHeight method on the instance being constructed.
      Returns:
      builder instance
    • maxSize

      public PopupControlBuilder maxSize(double maxWidth, double maxHeight)
      A builder method that invokes the setMaxSize method on the instance being constructed.
      Returns:
      builder instance
    • maxWidth

      public PopupControlBuilder maxWidth(double value)
      A builder method that invokes the setMaxWidth method on the instance being constructed.
      Returns:
      builder instance
    • minHeight

      public PopupControlBuilder minHeight(double value)
      A builder method that invokes the setMinHeight method on the instance being constructed.
      Returns:
      builder instance
    • minSize

      public PopupControlBuilder minSize(double minWidth, double minHeight)
      A builder method that invokes the setMinSize method on the instance being constructed.
      Returns:
      builder instance
    • minWidth

      public PopupControlBuilder minWidth(double value)
      A builder method that invokes the setMinWidth method on the instance being constructed.
      Returns:
      builder instance
    • onAutoHide

      public PopupControlBuilder onAutoHide(EventHandler<Event> value)
      A builder method that invokes the setOnAutoHide method on the instance being constructed.
      Returns:
      builder instance
    • onCloseRequest

      public PopupControlBuilder onCloseRequest(EventHandler<WindowEvent> value)
      A builder method that invokes the setOnCloseRequest method on the instance being constructed.
      Returns:
      builder instance
    • onHidden

      public PopupControlBuilder onHidden(EventHandler<WindowEvent> value)
      A builder method that invokes the setOnHidden method on the instance being constructed.
      Returns:
      builder instance
    • onHiding

      public PopupControlBuilder onHiding(EventHandler<WindowEvent> value)
      A builder method that invokes the setOnHiding method on the instance being constructed.
      Returns:
      builder instance
    • onShowing

      public PopupControlBuilder onShowing(EventHandler<WindowEvent> value)
      A builder method that invokes the setOnShowing method on the instance being constructed.
      Returns:
      builder instance
    • onShown

      public PopupControlBuilder onShown(EventHandler<WindowEvent> value)
      A builder method that invokes the setOnShown method on the instance being constructed.
      Returns:
      builder instance
    • opacity

      public PopupControlBuilder opacity(double value)
      A builder method that invokes the setOpacity method on the instance being constructed.
      Returns:
      builder instance
    • prefHeight

      public PopupControlBuilder prefHeight(double value)
      A builder method that invokes the setPrefHeight method on the instance being constructed.
      Returns:
      builder instance
    • prefSize

      public PopupControlBuilder prefSize(double prefWidth, double prefHeight)
      A builder method that invokes the setPrefSize method on the instance being constructed.
      Returns:
      builder instance
    • prefWidth

      public PopupControlBuilder prefWidth(double value)
      A builder method that invokes the setPrefWidth method on the instance being constructed.
      Returns:
      builder instance
    • renderScaleX

      public PopupControlBuilder renderScaleX(double scale)
      A builder method that invokes the setRenderScaleX method on the instance being constructed.
      Returns:
      builder instance
    • renderScaleY

      public PopupControlBuilder renderScaleY(double scale)
      A builder method that invokes the setRenderScaleY method on the instance being constructed.
      Returns:
      builder instance
    • skin

      public PopupControlBuilder skin(Skin<?> value)
      A builder method that invokes the setSkin method on the instance being constructed.
      Returns:
      builder instance
    • style

      public PopupControlBuilder style(String value)
      A builder method that invokes the setStyle method on the instance being constructed.
      Returns:
      builder instance
    • userData

      public PopupControlBuilder userData(Object value)
      A builder method that invokes the setUserData method on the instance being constructed.
      Returns:
      builder instance
    • width

      public PopupControlBuilder width(double value)
      A builder method that invokes the setWidth method on the instance being constructed.
      Returns:
      builder instance
    • x

      public PopupControlBuilder x(double value)
      A builder method that invokes the setX method on the instance being constructed.
      Returns:
      builder instance
    • y

      public PopupControlBuilder y(double value)
      A builder method that invokes the setY method on the instance being constructed.
      Returns:
      builder instance
    • addStyleClass

      public final PopupControlBuilder addStyleClass(String... elements)
      Calls the addAll method on the ObservableList returned by the PopupControl#getStyleClass() method.
      Returns:
      builder instance
    • addStyleClass

      public final PopupControlBuilder addStyleClass(Collection<? extends String> col)
      Calls the addAll method on the ObservableList returned by the PopupControl#getStyleClass() method.
      Returns:
      builder instance
    • anchorLocationPropertyApply

      public PopupControlBuilder anchorLocationPropertyApply(Consumer<ObjectProperty<PopupWindow.AnchorLocation>> op)
      Applies a function to the anchorLocationProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.anchorLocationProperty().bind(anotherProperty))
      
      // Use shorthand form
      .anchorLocationPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • anchorXPropertyApply

      public PopupControlBuilder anchorXPropertyApply(Consumer<ReadOnlyDoubleProperty> op)
      Applies a function to the anchorXProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.anchorXProperty().bind(anotherProperty))
      
      // Use shorthand form
      .anchorXPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • anchorYPropertyApply

      public PopupControlBuilder anchorYPropertyApply(Consumer<ReadOnlyDoubleProperty> op)
      Applies a function to the anchorYProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.anchorYProperty().bind(anotherProperty))
      
      // Use shorthand form
      .anchorYPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • autoFixPropertyApply

      public PopupControlBuilder autoFixPropertyApply(Consumer<BooleanProperty> op)
      Applies a function to the autoFixProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.autoFixProperty().bind(anotherProperty))
      
      // Use shorthand form
      .autoFixPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • autoHidePropertyApply

      public PopupControlBuilder autoHidePropertyApply(Consumer<BooleanProperty> op)
      Applies a function to the autoHideProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.autoHideProperty().bind(anotherProperty))
      
      // Use shorthand form
      .autoHidePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • consumeAutoHidingEventsPropertyApply

      public PopupControlBuilder consumeAutoHidingEventsPropertyApply(Consumer<BooleanProperty> op)
      Applies a function to the consumeAutoHidingEventsProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.consumeAutoHidingEventsProperty().bind(anotherProperty))
      
      // Use shorthand form
      .consumeAutoHidingEventsPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • eventDispatcherPropertyApply

      public PopupControlBuilder eventDispatcherPropertyApply(Consumer<ObjectProperty<EventDispatcher>> op)
      Applies a function to the eventDispatcherProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.eventDispatcherProperty().bind(anotherProperty))
      
      // Use shorthand form
      .eventDispatcherPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • focusedPropertyApply

      public PopupControlBuilder focusedPropertyApply(Consumer<ReadOnlyBooleanProperty> op)
      Applies a function to the focusedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.focusedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .focusedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • forceIntegerRenderScalePropertyApply

      public PopupControlBuilder forceIntegerRenderScalePropertyApply(Consumer<BooleanProperty> op)
      Applies a function to the forceIntegerRenderScaleProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.forceIntegerRenderScaleProperty().bind(anotherProperty))
      
      // Use shorthand form
      .forceIntegerRenderScalePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • heightPropertyApply

      public PopupControlBuilder heightPropertyApply(Consumer<ReadOnlyDoubleProperty> op)
      Applies a function to the heightProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.heightProperty().bind(anotherProperty))
      
      // Use shorthand form
      .heightPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • hideOnEscapePropertyApply

      public PopupControlBuilder hideOnEscapePropertyApply(Consumer<BooleanProperty> op)
      Applies a function to the hideOnEscapeProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.hideOnEscapeProperty().bind(anotherProperty))
      
      // Use shorthand form
      .hideOnEscapePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • idPropertyApply

      public PopupControlBuilder idPropertyApply(Consumer<StringProperty> op)
      Applies a function to the idProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.idProperty().bind(anotherProperty))
      
      // Use shorthand form
      .idPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • maxHeightPropertyApply

      public PopupControlBuilder maxHeightPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the maxHeightProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.maxHeightProperty().bind(anotherProperty))
      
      // Use shorthand form
      .maxHeightPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • maxWidthPropertyApply

      public PopupControlBuilder maxWidthPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the maxWidthProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.maxWidthProperty().bind(anotherProperty))
      
      // Use shorthand form
      .maxWidthPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • minHeightPropertyApply

      public PopupControlBuilder minHeightPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the minHeightProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.minHeightProperty().bind(anotherProperty))
      
      // Use shorthand form
      .minHeightPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • minWidthPropertyApply

      public PopupControlBuilder minWidthPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the minWidthProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.minWidthProperty().bind(anotherProperty))
      
      // Use shorthand form
      .minWidthPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onAutoHidePropertyApply

      public PopupControlBuilder onAutoHidePropertyApply(Consumer<ObjectProperty<EventHandler<Event>>> op)
      Applies a function to the onAutoHideProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onAutoHideProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onAutoHidePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onCloseRequestPropertyApply

      public PopupControlBuilder onCloseRequestPropertyApply(Consumer<ObjectProperty<EventHandler<WindowEvent>>> op)
      Applies a function to the onCloseRequestProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onCloseRequestProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onCloseRequestPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onHiddenPropertyApply

      public PopupControlBuilder onHiddenPropertyApply(Consumer<ObjectProperty<EventHandler<WindowEvent>>> op)
      Applies a function to the onHiddenProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onHiddenProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onHiddenPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onHidingPropertyApply

      public PopupControlBuilder onHidingPropertyApply(Consumer<ObjectProperty<EventHandler<WindowEvent>>> op)
      Applies a function to the onHidingProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onHidingProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onHidingPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onShowingPropertyApply

      public PopupControlBuilder onShowingPropertyApply(Consumer<ObjectProperty<EventHandler<WindowEvent>>> op)
      Applies a function to the onShowingProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onShowingProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onShowingPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onShownPropertyApply

      Applies a function to the onShownProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onShownProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onShownPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • opacityPropertyApply

      public PopupControlBuilder opacityPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the opacityProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.opacityProperty().bind(anotherProperty))
      
      // Use shorthand form
      .opacityPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • outputScaleXPropertyApply

      public PopupControlBuilder outputScaleXPropertyApply(Consumer<ReadOnlyDoubleProperty> op)
      Applies a function to the outputScaleXProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.outputScaleXProperty().bind(anotherProperty))
      
      // Use shorthand form
      .outputScaleXPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • outputScaleYPropertyApply

      public PopupControlBuilder outputScaleYPropertyApply(Consumer<ReadOnlyDoubleProperty> op)
      Applies a function to the outputScaleYProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.outputScaleYProperty().bind(anotherProperty))
      
      // Use shorthand form
      .outputScaleYPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • ownerNodePropertyApply

      public PopupControlBuilder ownerNodePropertyApply(Consumer<ReadOnlyObjectProperty<Node>> op)
      Applies a function to the ownerNodeProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.ownerNodeProperty().bind(anotherProperty))
      
      // Use shorthand form
      .ownerNodePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • ownerWindowPropertyApply

      public PopupControlBuilder ownerWindowPropertyApply(Consumer<ReadOnlyObjectProperty<Window>> op)
      Applies a function to the ownerWindowProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.ownerWindowProperty().bind(anotherProperty))
      
      // Use shorthand form
      .ownerWindowPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • prefHeightPropertyApply

      public PopupControlBuilder prefHeightPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the prefHeightProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.prefHeightProperty().bind(anotherProperty))
      
      // Use shorthand form
      .prefHeightPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • prefWidthPropertyApply

      public PopupControlBuilder prefWidthPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the prefWidthProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.prefWidthProperty().bind(anotherProperty))
      
      // Use shorthand form
      .prefWidthPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • renderScaleXPropertyApply

      public PopupControlBuilder renderScaleXPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the renderScaleXProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.renderScaleXProperty().bind(anotherProperty))
      
      // Use shorthand form
      .renderScaleXPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • renderScaleYPropertyApply

      public PopupControlBuilder renderScaleYPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the renderScaleYProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.renderScaleYProperty().bind(anotherProperty))
      
      // Use shorthand form
      .renderScaleYPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • scenePropertyApply

      public PopupControlBuilder scenePropertyApply(Consumer<ReadOnlyObjectProperty<Scene>> op)
      Applies a function to the sceneProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.sceneProperty().bind(anotherProperty))
      
      // Use shorthand form
      .scenePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • showingPropertyApply

      public PopupControlBuilder showingPropertyApply(Consumer<ReadOnlyBooleanProperty> op)
      Applies a function to the showingProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.showingProperty().bind(anotherProperty))
      
      // Use shorthand form
      .showingPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • skinPropertyApply

      public PopupControlBuilder skinPropertyApply(Consumer<ObjectProperty<Skin<?>>> op)
      Applies a function to the skinProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.skinProperty().bind(anotherProperty))
      
      // Use shorthand form
      .skinPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • stylePropertyApply

      public PopupControlBuilder stylePropertyApply(Consumer<StringProperty> op)
      Applies a function to the styleProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.styleProperty().bind(anotherProperty))
      
      // Use shorthand form
      .stylePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • widthPropertyApply

      public PopupControlBuilder widthPropertyApply(Consumer<ReadOnlyDoubleProperty> op)
      Applies a function to the widthProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.widthProperty().bind(anotherProperty))
      
      // Use shorthand form
      .widthPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • xPropertyApply

      Applies a function to the xProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.xProperty().bind(anotherProperty))
      
      // Use shorthand form
      .xPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • yPropertyApply

      Applies a function to the yProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.yProperty().bind(anotherProperty))
      
      // Use shorthand form
      .yPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance