Class PopupControlBuilder
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 Summary
Modifier and TypeMethodDescriptionfinal PopupControlBuilderaddStyleClass(String... elements) Calls theaddAllmethod on the ObservableList returned by thePopupControl#getStyleClass()method.final PopupControlBuilderaddStyleClass(Collection<? extends String> col) Calls theaddAllmethod on the ObservableList returned by thePopupControl#getStyleClass()method.A builder method that invokes thesetAnchorLocationmethod on the instance being constructed.Applies a function to theanchorLocationPropertyof the instance being constructed.anchorX(double value) A builder method that invokes thesetAnchorXmethod on the instance being constructed.Applies a function to theanchorXPropertyof the instance being constructed.anchorY(double value) A builder method that invokes thesetAnchorYmethod on the instance being constructed.Applies a function to theanchorYPropertyof the instance being constructed.apply(Consumer<PopupControl> func) Applies a function to the PopupControl instance being constructed.autoFix(boolean value) A builder method that invokes thesetAutoFixmethod on the instance being constructed.Applies a function to theautoFixPropertyof the instance being constructed.autoHide(boolean value) A builder method that invokes thesetAutoHidemethod on the instance being constructed.Applies a function to theautoHidePropertyof the instance being constructed.build()Builds and returns an instance of thePopupControlclass.consumeAutoHidingEvents(boolean value) A builder method that invokes thesetConsumeAutoHidingEventsmethod on the instance being constructed.Applies a function to theconsumeAutoHidingEventsPropertyof the instance being constructed.static PopupControlBuildercreate()Returns an instance of thePopupControlBuilder.eventDispatcher(EventDispatcher value) A builder method that invokes thesetEventDispatchermethod on the instance being constructed.Applies a function to theeventDispatcherPropertyof the instance being constructed.Applies a function to thefocusedPropertyof the instance being constructed.forceIntegerRenderScale(boolean forced) A builder method that invokes thesetForceIntegerRenderScalemethod on the instance being constructed.Applies a function to theforceIntegerRenderScalePropertyof the instance being constructed.height(double value) A builder method that invokes thesetHeightmethod on the instance being constructed.Applies a function to theheightPropertyof the instance being constructed.hideOnEscape(boolean value) A builder method that invokes thesetHideOnEscapemethod on the instance being constructed.Applies a function to thehideOnEscapePropertyof the instance being constructed.A builder method that invokes thesetIdmethod on the instance being constructed.Applies a function to theidPropertyof the instance being constructed.maxHeight(double value) A builder method that invokes thesetMaxHeightmethod on the instance being constructed.Applies a function to themaxHeightPropertyof the instance being constructed.maxSize(double maxWidth, double maxHeight) A builder method that invokes thesetMaxSizemethod on the instance being constructed.maxWidth(double value) A builder method that invokes thesetMaxWidthmethod on the instance being constructed.Applies a function to themaxWidthPropertyof the instance being constructed.minHeight(double value) A builder method that invokes thesetMinHeightmethod on the instance being constructed.Applies a function to theminHeightPropertyof the instance being constructed.minSize(double minWidth, double minHeight) A builder method that invokes thesetMinSizemethod on the instance being constructed.minWidth(double value) A builder method that invokes thesetMinWidthmethod on the instance being constructed.Applies a function to theminWidthPropertyof the instance being constructed.onAutoHide(EventHandler<Event> value) A builder method that invokes thesetOnAutoHidemethod on the instance being constructed.Applies a function to theonAutoHidePropertyof the instance being constructed.onCloseRequest(EventHandler<WindowEvent> value) A builder method that invokes thesetOnCloseRequestmethod on the instance being constructed.Applies a function to theonCloseRequestPropertyof the instance being constructed.onHidden(EventHandler<WindowEvent> value) A builder method that invokes thesetOnHiddenmethod on the instance being constructed.Applies a function to theonHiddenPropertyof the instance being constructed.onHiding(EventHandler<WindowEvent> value) A builder method that invokes thesetOnHidingmethod on the instance being constructed.Applies a function to theonHidingPropertyof the instance being constructed.onShowing(EventHandler<WindowEvent> value) A builder method that invokes thesetOnShowingmethod on the instance being constructed.Applies a function to theonShowingPropertyof the instance being constructed.onShown(EventHandler<WindowEvent> value) A builder method that invokes thesetOnShownmethod on the instance being constructed.Applies a function to theonShownPropertyof the instance being constructed.opacity(double value) A builder method that invokes thesetOpacitymethod on the instance being constructed.Applies a function to theopacityPropertyof the instance being constructed.Applies a function to theoutputScaleXPropertyof the instance being constructed.Applies a function to theoutputScaleYPropertyof the instance being constructed.Applies a function to theownerNodePropertyof the instance being constructed.Applies a function to theownerWindowPropertyof the instance being constructed.prefHeight(double value) A builder method that invokes thesetPrefHeightmethod on the instance being constructed.Applies a function to theprefHeightPropertyof the instance being constructed.prefSize(double prefWidth, double prefHeight) A builder method that invokes thesetPrefSizemethod on the instance being constructed.prefWidth(double value) A builder method that invokes thesetPrefWidthmethod on the instance being constructed.Applies a function to theprefWidthPropertyof the instance being constructed.renderScaleX(double scale) A builder method that invokes thesetRenderScaleXmethod on the instance being constructed.Applies a function to therenderScaleXPropertyof the instance being constructed.renderScaleY(double scale) A builder method that invokes thesetRenderScaleYmethod on the instance being constructed.Applies a function to therenderScaleYPropertyof the instance being constructed.Applies a function to thescenePropertyof the instance being constructed.Applies a function to theshowingPropertyof the instance being constructed.A builder method that invokes thesetSkinmethod on the instance being constructed.skinPropertyApply(Consumer<ObjectProperty<Skin<?>>> op) Applies a function to theskinPropertyof the instance being constructed.A builder method that invokes thesetStylemethod on the instance being constructed.Applies a function to thestylePropertyof the instance being constructed.A builder method that invokes thesetUserDatamethod on the instance being constructed.width(double value) A builder method that invokes thesetWidthmethod on the instance being constructed.Applies a function to thewidthPropertyof the instance being constructed.x(double value) A builder method that invokes thesetXmethod on the instance being constructed.Applies a function to thexPropertyof the instance being constructed.y(double value) A builder method that invokes thesetYmethod on the instance being constructed.Applies a function to theyPropertyof the instance being constructed.
-
Method Details
-
create
Returns an instance of thePopupControlBuilder.- Returns:
- an instance of the
PopupControlBuilder.
-
build
Builds and returns an instance of thePopupControlclass.Intermediate builder methods are not evaluated until the
buildmethod is called; in other words, they are evaluated lazily.- Returns:
- new instance of the
PopupControlclass
-
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
A builder method that invokes thesetAnchorLocationmethod on the instance being constructed.- Returns:
- builder instance
-
anchorX
A builder method that invokes thesetAnchorXmethod on the instance being constructed.- Returns:
- builder instance
-
anchorY
A builder method that invokes thesetAnchorYmethod on the instance being constructed.- Returns:
- builder instance
-
autoFix
A builder method that invokes thesetAutoFixmethod on the instance being constructed.- Returns:
- builder instance
-
autoHide
A builder method that invokes thesetAutoHidemethod on the instance being constructed.- Returns:
- builder instance
-
consumeAutoHidingEvents
A builder method that invokes thesetConsumeAutoHidingEventsmethod on the instance being constructed.- Returns:
- builder instance
-
eventDispatcher
A builder method that invokes thesetEventDispatchermethod on the instance being constructed.- Returns:
- builder instance
-
forceIntegerRenderScale
A builder method that invokes thesetForceIntegerRenderScalemethod on the instance being constructed.- Returns:
- builder instance
-
height
A builder method that invokes thesetHeightmethod on the instance being constructed.- Returns:
- builder instance
-
hideOnEscape
A builder method that invokes thesetHideOnEscapemethod on the instance being constructed.- Returns:
- builder instance
-
id
A builder method that invokes thesetIdmethod on the instance being constructed.- Returns:
- builder instance
-
maxHeight
A builder method that invokes thesetMaxHeightmethod on the instance being constructed.- Returns:
- builder instance
-
maxSize
A builder method that invokes thesetMaxSizemethod on the instance being constructed.- Returns:
- builder instance
-
maxWidth
A builder method that invokes thesetMaxWidthmethod on the instance being constructed.- Returns:
- builder instance
-
minHeight
A builder method that invokes thesetMinHeightmethod on the instance being constructed.- Returns:
- builder instance
-
minSize
A builder method that invokes thesetMinSizemethod on the instance being constructed.- Returns:
- builder instance
-
minWidth
A builder method that invokes thesetMinWidthmethod on the instance being constructed.- Returns:
- builder instance
-
onAutoHide
A builder method that invokes thesetOnAutoHidemethod on the instance being constructed.- Returns:
- builder instance
-
onCloseRequest
A builder method that invokes thesetOnCloseRequestmethod on the instance being constructed.- Returns:
- builder instance
-
onHidden
A builder method that invokes thesetOnHiddenmethod on the instance being constructed.- Returns:
- builder instance
-
onHiding
A builder method that invokes thesetOnHidingmethod on the instance being constructed.- Returns:
- builder instance
-
onShowing
A builder method that invokes thesetOnShowingmethod on the instance being constructed.- Returns:
- builder instance
-
onShown
A builder method that invokes thesetOnShownmethod on the instance being constructed.- Returns:
- builder instance
-
opacity
A builder method that invokes thesetOpacitymethod on the instance being constructed.- Returns:
- builder instance
-
prefHeight
A builder method that invokes thesetPrefHeightmethod on the instance being constructed.- Returns:
- builder instance
-
prefSize
A builder method that invokes thesetPrefSizemethod on the instance being constructed.- Returns:
- builder instance
-
prefWidth
A builder method that invokes thesetPrefWidthmethod on the instance being constructed.- Returns:
- builder instance
-
renderScaleX
A builder method that invokes thesetRenderScaleXmethod on the instance being constructed.- Returns:
- builder instance
-
renderScaleY
A builder method that invokes thesetRenderScaleYmethod on the instance being constructed.- Returns:
- builder instance
-
skin
A builder method that invokes thesetSkinmethod on the instance being constructed.- Returns:
- builder instance
-
style
A builder method that invokes thesetStylemethod on the instance being constructed.- Returns:
- builder instance
-
userData
A builder method that invokes thesetUserDatamethod on the instance being constructed.- Returns:
- builder instance
-
width
A builder method that invokes thesetWidthmethod on the instance being constructed.- Returns:
- builder instance
-
x
A builder method that invokes thesetXmethod on the instance being constructed.- Returns:
- builder instance
-
y
A builder method that invokes thesetYmethod on the instance being constructed.- Returns:
- builder instance
-
addStyleClass
Calls theaddAllmethod on the ObservableList returned by thePopupControl#getStyleClass()method.- Returns:
- builder instance
-
addStyleClass
Calls theaddAllmethod on the ObservableList returned by thePopupControl#getStyleClass()method.- Returns:
- builder instance
-
anchorLocationPropertyApply
public PopupControlBuilder anchorLocationPropertyApply(Consumer<ObjectProperty<PopupWindow.AnchorLocation>> op) Applies a function to theanchorLocationPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.anchorLocationProperty().bind(anotherProperty)) // Use shorthand form .anchorLocationPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
anchorXPropertyApply
Applies a function to theanchorXPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.anchorXProperty().bind(anotherProperty)) // Use shorthand form .anchorXPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
anchorYPropertyApply
Applies a function to theanchorYPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.anchorYProperty().bind(anotherProperty)) // Use shorthand form .anchorYPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
autoFixPropertyApply
Applies a function to theautoFixPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.autoFixProperty().bind(anotherProperty)) // Use shorthand form .autoFixPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
autoHidePropertyApply
Applies a function to theautoHidePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.autoHideProperty().bind(anotherProperty)) // Use shorthand form .autoHidePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
consumeAutoHidingEventsPropertyApply
Applies a function to theconsumeAutoHidingEventsPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.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 theeventDispatcherPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.eventDispatcherProperty().bind(anotherProperty)) // Use shorthand form .eventDispatcherPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
focusedPropertyApply
Applies a function to thefocusedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.focusedProperty().bind(anotherProperty)) // Use shorthand form .focusedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
forceIntegerRenderScalePropertyApply
Applies a function to theforceIntegerRenderScalePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.forceIntegerRenderScaleProperty().bind(anotherProperty)) // Use shorthand form .forceIntegerRenderScalePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
heightPropertyApply
Applies a function to theheightPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.heightProperty().bind(anotherProperty)) // Use shorthand form .heightPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
hideOnEscapePropertyApply
Applies a function to thehideOnEscapePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.hideOnEscapeProperty().bind(anotherProperty)) // Use shorthand form .hideOnEscapePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
idPropertyApply
Applies a function to theidPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.idProperty().bind(anotherProperty)) // Use shorthand form .idPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
maxHeightPropertyApply
Applies a function to themaxHeightPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.maxHeightProperty().bind(anotherProperty)) // Use shorthand form .maxHeightPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
maxWidthPropertyApply
Applies a function to themaxWidthPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.maxWidthProperty().bind(anotherProperty)) // Use shorthand form .maxWidthPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
minHeightPropertyApply
Applies a function to theminHeightPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.minHeightProperty().bind(anotherProperty)) // Use shorthand form .minHeightPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
minWidthPropertyApply
Applies a function to theminWidthPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.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 theonAutoHidePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.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 theonCloseRequestPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.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 theonHiddenPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.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 theonHidingPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.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 theonShowingPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onShowingProperty().bind(anotherProperty)) // Use shorthand form .onShowingPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onShownPropertyApply
public PopupControlBuilder onShownPropertyApply(Consumer<ObjectProperty<EventHandler<WindowEvent>>> op) Applies a function to theonShownPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onShownProperty().bind(anotherProperty)) // Use shorthand form .onShownPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
opacityPropertyApply
Applies a function to theopacityPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.opacityProperty().bind(anotherProperty)) // Use shorthand form .opacityPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
outputScaleXPropertyApply
Applies a function to theoutputScaleXPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.outputScaleXProperty().bind(anotherProperty)) // Use shorthand form .outputScaleXPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
outputScaleYPropertyApply
Applies a function to theoutputScaleYPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.outputScaleYProperty().bind(anotherProperty)) // Use shorthand form .outputScaleYPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
ownerNodePropertyApply
Applies a function to theownerNodePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.ownerNodeProperty().bind(anotherProperty)) // Use shorthand form .ownerNodePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
ownerWindowPropertyApply
Applies a function to theownerWindowPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.ownerWindowProperty().bind(anotherProperty)) // Use shorthand form .ownerWindowPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
prefHeightPropertyApply
Applies a function to theprefHeightPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.prefHeightProperty().bind(anotherProperty)) // Use shorthand form .prefHeightPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
prefWidthPropertyApply
Applies a function to theprefWidthPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.prefWidthProperty().bind(anotherProperty)) // Use shorthand form .prefWidthPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
renderScaleXPropertyApply
Applies a function to therenderScaleXPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.renderScaleXProperty().bind(anotherProperty)) // Use shorthand form .renderScaleXPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
renderScaleYPropertyApply
Applies a function to therenderScaleYPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.renderScaleYProperty().bind(anotherProperty)) // Use shorthand form .renderScaleYPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
scenePropertyApply
Applies a function to thescenePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.sceneProperty().bind(anotherProperty)) // Use shorthand form .scenePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
showingPropertyApply
Applies a function to theshowingPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.showingProperty().bind(anotherProperty)) // Use shorthand form .showingPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
skinPropertyApply
Applies a function to theskinPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.skinProperty().bind(anotherProperty)) // Use shorthand form .skinPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
stylePropertyApply
Applies a function to thestylePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.styleProperty().bind(anotherProperty)) // Use shorthand form .stylePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
widthPropertyApply
Applies a function to thewidthPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.widthProperty().bind(anotherProperty)) // Use shorthand form .widthPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
xPropertyApply
-
yPropertyApply
-