Class RectangleBuilder
RectangleBuilder
class constructs instances of the Rectangle
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 Rectangle
constructor
and returns an instance of the RectangleBuilder
.
You can use method chaining to call the builder methods for configuring the Rectangle
.
Finally, invoke the build
method to generate an instance of the Rectangle
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 TypeMethodDescriptionaccessibleHelp
(String value) A builder method that invokes thesetAccessibleHelp
method on the instance being constructed.Applies a function to theaccessibleHelpProperty
of the instance being constructed.accessibleRole
(AccessibleRole value) A builder method that invokes thesetAccessibleRole
method on the instance being constructed.accessibleRoleDescription
(String value) A builder method that invokes thesetAccessibleRoleDescription
method on the instance being constructed.Applies a function to theaccessibleRoleDescriptionProperty
of the instance being constructed.Applies a function to theaccessibleRoleProperty
of the instance being constructed.accessibleText
(String value) A builder method that invokes thesetAccessibleText
method on the instance being constructed.Applies a function to theaccessibleTextProperty
of the instance being constructed.final RectangleBuilder
addStrokeDashArray
(Double... elements) Calls theaddAll
method on the ObservableList returned by theRectangle#getStrokeDashArray()
method.final RectangleBuilder
addStrokeDashArray
(Collection<? extends Double> col) Calls theaddAll
method on the ObservableList returned by theRectangle#getStrokeDashArray()
method.final RectangleBuilder
addStyleClass
(String... elements) Calls theaddAll
method on the ObservableList returned by theRectangle#getStyleClass()
method.final RectangleBuilder
addStyleClass
(Collection<? extends String> col) Calls theaddAll
method on the ObservableList returned by theRectangle#getStyleClass()
method.final RectangleBuilder
addTransforms
(Collection<? extends Transform> col) Calls theaddAll
method on the ObservableList returned by theRectangle#getTransforms()
method.final RectangleBuilder
addTransforms
(Transform... elements) Calls theaddAll
method on the ObservableList returned by theRectangle#getTransforms()
method.alignmentInBorderPane
(Pos value) Invokes theBorderPane.setAlignment(Node, Pos)
using a fluent API.alignmentInStackPane
(Pos value) Invokes theStackPane.setAlignment(Node, Pos)
using a fluent API.alignmentInTilePane
(Pos value) Invokes theTilePane.setAlignment(Node, Pos)
using a fluent API.Applies a function to the Rectangle instance being constructed.arcHeight
(double value) A builder method that invokes thesetArcHeight
method on the instance being constructed.Applies a function to thearcHeightProperty
of the instance being constructed.arcWidth
(double value) A builder method that invokes thesetArcWidth
method on the instance being constructed.Applies a function to thearcWidthProperty
of the instance being constructed.A builder method that invokes thesetBlendMode
method on the instance being constructed.Applies a function to theblendModeProperty
of the instance being constructed.bottomAnchorInAnchorPane
(Double value) Invokes theAnchorPane.setBottomAnchor(Node, Double)
using a fluent API.Applies a function to theboundsInLocalProperty
of the instance being constructed.Applies a function to theboundsInParentProperty
of the instance being constructed.build()
Builds and returns an instance of theRectangle
class.cache
(boolean value) A builder method that invokes thesetCache
method on the instance being constructed.A builder method that invokes thesetCacheHint
method on the instance being constructed.Applies a function to thecacheHintProperty
of the instance being constructed.Applies a function to thecacheProperty
of the instance being constructed.A builder method that invokes thesetClip
method on the instance being constructed.Applies a function to theclipProperty
of the instance being constructed.columnIndexInGridPane
(Integer value) Invokes theGridPane.setColumnIndex(Node, Integer)
using a fluent API.columnSpanInGridPane
(Integer value) Invokes theGridPane.setColumnSpan(Node, Integer)
using a fluent API.constraintsInGridPane
(int columnIndex, int rowIndex) Invokes theGridPane.setConstraints(Node, int, int)
using a fluent API.constraintsInGridPane
(int columnIndex, int rowIndex, int columnspan, int rowspan) Invokes theGridPane.setConstraints(Node, int, int, int, int)
using a fluent API.constraintsInGridPane
(int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment) Invokes theGridPane.setConstraints(Node, int, int, int, int, HPos, VPos)
using a fluent API.constraintsInGridPane
(int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow) Invokes theGridPane.setConstraints(Node, int, int, int, int, HPos, VPos, Priority, Priority)
using a fluent API.constraintsInGridPane
(int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow, Insets margin) Invokes theGridPane.setConstraints(Node, int, int, int, int, HPos, VPos, Priority, Priority, Insets)
using a fluent API.static RectangleBuilder
create()
Returns an instance of theRectangleBuilder
.static RectangleBuilder
create
(double width, double height) Accepts the constructor arguments ofRectangle(double, double)
and returns an instance ofRectangleBuilder
.static RectangleBuilder
create
(double x, double y, double width, double height) Accepts the constructor arguments ofRectangle(double, double, double, double)
and returns an instance ofRectangleBuilder
.static RectangleBuilder
Accepts the constructor arguments ofRectangle(double, double, Paint)
and returns an instance ofRectangleBuilder
.A builder method that invokes thesetCursor
method on the instance being constructed.Applies a function to thecursorProperty
of the instance being constructed.A builder method that invokes thesetDepthTest
method on the instance being constructed.Applies a function to thedepthTestProperty
of the instance being constructed.disable
(boolean value) A builder method that invokes thesetDisable
method on the instance being constructed.Applies a function to thedisabledProperty
of the instance being constructed.Applies a function to thedisableProperty
of the instance being constructed.A builder method that invokes thesetEffect
method on the instance being constructed.Applies a function to theeffectiveNodeOrientationProperty
of the instance being constructed.Applies a function to theeffectProperty
of the instance being constructed.eventDispatcher
(EventDispatcher value) A builder method that invokes thesetEventDispatcher
method on the instance being constructed.Applies a function to theeventDispatcherProperty
of the instance being constructed.A builder method that invokes thesetFill
method on the instance being constructed.fillHeightInGridPane
(Boolean value) Invokes theGridPane.setFillHeight(Node, Boolean)
using a fluent API.Applies a function to thefillProperty
of the instance being constructed.fillWidthInGridPane
(Boolean value) Invokes theGridPane.setFillWidth(Node, Boolean)
using a fluent API.Applies a function to thefocusedProperty
of the instance being constructed.focusTraversable
(boolean value) A builder method that invokes thesetFocusTraversable
method on the instance being constructed.Applies a function to thefocusTraversableProperty
of the instance being constructed.Applies a function to thefocusVisibleProperty
of the instance being constructed.Applies a function to thefocusWithinProperty
of the instance being constructed.hAlignmentInGridPane
(HPos value) Invokes theGridPane.setHalignment(Node, HPos)
using a fluent API.height
(double value) A builder method that invokes thesetHeight
method on the instance being constructed.Applies a function to theheightProperty
of the instance being constructed.hGrowInGridPane
(Priority value) Invokes theGridPane.setHgrow(Node, Priority)
using a fluent API.hGrowInHBox
(Priority value) Invokes theHBox.setHgrow(Node, Priority)
using a fluent API.Applies a function to thehoverProperty
of the instance being constructed.A builder method that invokes thesetId
method on the instance being constructed.Applies a function to theidProperty
of the instance being constructed.A builder method that invokes thesetInputMethodRequests
method on the instance being constructed.Applies a function to theinputMethodRequestsProperty
of the instance being constructed.Applies a function to thelayoutBoundsProperty
of the instance being constructed.layoutX
(double value) A builder method that invokes thesetLayoutX
method on the instance being constructed.Applies a function to thelayoutXProperty
of the instance being constructed.layoutY
(double value) A builder method that invokes thesetLayoutY
method on the instance being constructed.Applies a function to thelayoutYProperty
of the instance being constructed.leftAnchorInAnchorPane
(Double value) Invokes theAnchorPane.setLeftAnchor(Node, Double)
using a fluent API.Applies a function to thelocalToParentTransformProperty
of the instance being constructed.Applies a function to thelocalToSceneTransformProperty
of the instance being constructed.managed
(boolean value) A builder method that invokes thesetManaged
method on the instance being constructed.Applies a function to themanagedProperty
of the instance being constructed.marginInBorderPane
(Insets value) Invokes theBorderPane.setMargin(Node, Insets)
using a fluent API.marginInFlowPane
(Insets value) Invokes theFlowPane.setMargin(Node, Insets)
using a fluent API.marginInGridPane
(Insets value) Invokes theGridPane.setMargin(Node, Insets)
using a fluent API.marginInHBox
(Insets value) Invokes theHBox.setMargin(Node, Insets)
using a fluent API.marginInStackPane
(Insets value) Invokes theStackPane.setMargin(Node, Insets)
using a fluent API.marginInTilePane
(Insets value) Invokes theTilePane.setMargin(Node, Insets)
using a fluent API.marginInVBox
(Insets value) Invokes theVBox.setMargin(Node, Insets)
using a fluent API.mouseTransparent
(boolean value) A builder method that invokes thesetMouseTransparent
method on the instance being constructed.Applies a function to themouseTransparentProperty
of the instance being constructed.nodeOrientation
(NodeOrientation orientation) A builder method that invokes thesetNodeOrientation
method on the instance being constructed.Applies a function to thenodeOrientationProperty
of the instance being constructed.onContextMenuRequested
(EventHandler<? super ContextMenuEvent> value) A builder method that invokes thesetOnContextMenuRequested
method on the instance being constructed.onContextMenuRequestedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ContextMenuEvent>>> op) Applies a function to theonContextMenuRequestedProperty
of the instance being constructed.onDragDetected
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnDragDetected
method on the instance being constructed.onDragDetectedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonDragDetectedProperty
of the instance being constructed.onDragDone
(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragDone
method on the instance being constructed.onDragDonePropertyApply
(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDoneProperty
of the instance being constructed.onDragDropped
(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragDropped
method on the instance being constructed.onDragDroppedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDroppedProperty
of the instance being constructed.onDragEntered
(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragEntered
method on the instance being constructed.onDragEnteredPropertyApply
(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragEnteredProperty
of the instance being constructed.onDragExited
(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragExited
method on the instance being constructed.onDragExitedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragExitedProperty
of the instance being constructed.onDragOver
(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragOver
method on the instance being constructed.onDragOverPropertyApply
(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragOverProperty
of the instance being constructed.onInputMethodTextChanged
(EventHandler<? super InputMethodEvent> value) A builder method that invokes thesetOnInputMethodTextChanged
method on the instance being constructed.onInputMethodTextChangedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super InputMethodEvent>>> op) Applies a function to theonInputMethodTextChangedProperty
of the instance being constructed.onKeyPressed
(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyPressed
method on the instance being constructed.onKeyPressedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyPressedProperty
of the instance being constructed.onKeyReleased
(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyReleased
method on the instance being constructed.onKeyReleasedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyReleasedProperty
of the instance being constructed.onKeyTyped
(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyTyped
method on the instance being constructed.onKeyTypedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyTypedProperty
of the instance being constructed.onMouseClicked
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseClicked
method on the instance being constructed.onMouseClickedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseClickedProperty
of the instance being constructed.onMouseDragEntered
(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragEntered
method on the instance being constructed.Applies a function to theonMouseDragEnteredProperty
of the instance being constructed.onMouseDragExited
(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragExited
method on the instance being constructed.Applies a function to theonMouseDragExitedProperty
of the instance being constructed.onMouseDragged
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseDragged
method on the instance being constructed.onMouseDraggedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseDraggedProperty
of the instance being constructed.onMouseDragOver
(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragOver
method on the instance being constructed.onMouseDragOverPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragOverProperty
of the instance being constructed.onMouseDragReleased
(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragReleased
method on the instance being constructed.Applies a function to theonMouseDragReleasedProperty
of the instance being constructed.onMouseEntered
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseEntered
method on the instance being constructed.onMouseEnteredPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseEnteredProperty
of the instance being constructed.onMouseExited
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseExited
method on the instance being constructed.onMouseExitedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseExitedProperty
of the instance being constructed.onMouseMoved
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseMoved
method on the instance being constructed.onMouseMovedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseMovedProperty
of the instance being constructed.onMousePressed
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMousePressed
method on the instance being constructed.onMousePressedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMousePressedProperty
of the instance being constructed.onMouseReleased
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseReleased
method on the instance being constructed.onMouseReleasedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseReleasedProperty
of the instance being constructed.onRotate
(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotate
method on the instance being constructed.onRotatePropertyApply
(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotateProperty
of the instance being constructed.onRotationFinished
(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotationFinished
method on the instance being constructed.onRotationFinishedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationFinishedProperty
of the instance being constructed.onRotationStarted
(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotationStarted
method on the instance being constructed.onRotationStartedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationStartedProperty
of the instance being constructed.onScroll
(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScroll
method on the instance being constructed.onScrollFinished
(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScrollFinished
method on the instance being constructed.onScrollFinishedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollFinishedProperty
of the instance being constructed.onScrollPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollProperty
of the instance being constructed.onScrollStarted
(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScrollStarted
method on the instance being constructed.onScrollStartedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollStartedProperty
of the instance being constructed.onSwipeDown
(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeDown
method on the instance being constructed.onSwipeDownPropertyApply
(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeDownProperty
of the instance being constructed.onSwipeLeft
(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeLeft
method on the instance being constructed.onSwipeLeftPropertyApply
(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeLeftProperty
of the instance being constructed.onSwipeRight
(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeRight
method on the instance being constructed.onSwipeRightPropertyApply
(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeRightProperty
of the instance being constructed.onSwipeUp
(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeUp
method on the instance being constructed.onSwipeUpPropertyApply
(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeUpProperty
of the instance being constructed.onTouchMoved
(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchMoved
method on the instance being constructed.onTouchMovedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchMovedProperty
of the instance being constructed.onTouchPressed
(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchPressed
method on the instance being constructed.onTouchPressedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchPressedProperty
of the instance being constructed.onTouchReleased
(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchReleased
method on the instance being constructed.onTouchReleasedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchReleasedProperty
of the instance being constructed.onTouchStationary
(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchStationary
method on the instance being constructed.onTouchStationaryPropertyApply
(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchStationaryProperty
of the instance being constructed.onZoom
(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoom
method on the instance being constructed.onZoomFinished
(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoomFinished
method on the instance being constructed.onZoomFinishedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomFinishedProperty
of the instance being constructed.onZoomPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomProperty
of the instance being constructed.onZoomStarted
(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoomStarted
method on the instance being constructed.onZoomStartedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomStartedProperty
of the instance being constructed.opacity
(double value) A builder method that invokes thesetOpacity
method on the instance being constructed.Applies a function to theopacityProperty
of the instance being constructed.Applies a function to theparentProperty
of the instance being constructed.pickOnBounds
(boolean value) A builder method that invokes thesetPickOnBounds
method on the instance being constructed.Applies a function to thepickOnBoundsProperty
of the instance being constructed.Applies a function to thepressedProperty
of the instance being constructed.rightAnchorInAnchorPane
(Double value) Invokes theAnchorPane.setRightAnchor(Node, Double)
using a fluent API.rotate
(double value) A builder method that invokes thesetRotate
method on the instance being constructed.Applies a function to therotateProperty
of the instance being constructed.rotationAxis
(Point3D value) A builder method that invokes thesetRotationAxis
method on the instance being constructed.Applies a function to therotationAxisProperty
of the instance being constructed.rowIndexInGridPane
(Integer value) Invokes theGridPane.setRowIndex(Node, Integer)
using a fluent API.rowSpanInGridPane
(Integer value) Invokes theGridPane.setRowSpan(Node, Integer)
using a fluent API.scaleX
(double value) A builder method that invokes thesetScaleX
method on the instance being constructed.Applies a function to thescaleXProperty
of the instance being constructed.scaleY
(double value) A builder method that invokes thesetScaleY
method on the instance being constructed.Applies a function to thescaleYProperty
of the instance being constructed.scaleZ
(double value) A builder method that invokes thesetScaleZ
method on the instance being constructed.Applies a function to thescaleZProperty
of the instance being constructed.Applies a function to thesceneProperty
of the instance being constructed.smooth
(boolean value) A builder method that invokes thesetSmooth
method on the instance being constructed.Applies a function to thesmoothProperty
of the instance being constructed.A builder method that invokes thesetStroke
method on the instance being constructed.strokeDashOffset
(double value) A builder method that invokes thesetStrokeDashOffset
method on the instance being constructed.Applies a function to thestrokeDashOffsetProperty
of the instance being constructed.strokeLineCap
(StrokeLineCap value) A builder method that invokes thesetStrokeLineCap
method on the instance being constructed.Applies a function to thestrokeLineCapProperty
of the instance being constructed.strokeLineJoin
(StrokeLineJoin value) A builder method that invokes thesetStrokeLineJoin
method on the instance being constructed.Applies a function to thestrokeLineJoinProperty
of the instance being constructed.strokeMiterLimit
(double value) A builder method that invokes thesetStrokeMiterLimit
method on the instance being constructed.Applies a function to thestrokeMiterLimitProperty
of the instance being constructed.Applies a function to thestrokeProperty
of the instance being constructed.strokeType
(StrokeType value) A builder method that invokes thesetStrokeType
method on the instance being constructed.Applies a function to thestrokeTypeProperty
of the instance being constructed.strokeWidth
(double value) A builder method that invokes thesetStrokeWidth
method on the instance being constructed.Applies a function to thestrokeWidthProperty
of the instance being constructed.A builder method that invokes thesetStyle
method on the instance being constructed.Applies a function to thestyleProperty
of the instance being constructed.topAnchorInAnchorPane
(Double value) Invokes theAnchorPane.setTopAnchor(Node, Double)
using a fluent API.translateX
(double value) A builder method that invokes thesetTranslateX
method on the instance being constructed.Applies a function to thetranslateXProperty
of the instance being constructed.translateY
(double value) A builder method that invokes thesetTranslateY
method on the instance being constructed.Applies a function to thetranslateYProperty
of the instance being constructed.translateZ
(double value) A builder method that invokes thesetTranslateZ
method on the instance being constructed.Applies a function to thetranslateZProperty
of the instance being constructed.A builder method that invokes thesetUserData
method on the instance being constructed.vAlignmentInGridPane
(VPos value) Invokes theGridPane.setValignment(Node, VPos)
using a fluent API.vGrowInGridPane
(Priority value) Invokes theGridPane.setVgrow(Node, Priority)
using a fluent API.vGrowInVBox
(Priority value) Invokes theVBox.setVgrow(Node, Priority)
using a fluent API.viewOrder
(double value) A builder method that invokes thesetViewOrder
method on the instance being constructed.Applies a function to theviewOrderProperty
of the instance being constructed.visible
(boolean value) A builder method that invokes thesetVisible
method on the instance being constructed.Applies a function to thevisibleProperty
of the instance being constructed.width
(double value) A builder method that invokes thesetWidth
method on the instance being constructed.Applies a function to thewidthProperty
of the instance being constructed.static RectangleBuilder
withStrokeDashArray
(Double... elements) Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theRectangle#getStrokeDashArray()
method.static RectangleBuilder
withStrokeDashArray
(Collection<? extends Double> col) Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theRectangle#getStrokeDashArray()
method.x
(double value) A builder method that invokes thesetX
method on the instance being constructed.Applies a function to thexProperty
of the instance being constructed.y
(double value) A builder method that invokes thesetY
method on the instance being constructed.Applies a function to theyProperty
of the instance being constructed.
-
Method Details
-
create
Returns an instance of theRectangleBuilder
.- Returns:
- an instance of the
RectangleBuilder
.
-
create
Accepts the constructor arguments ofRectangle(double, double)
and returns an instance ofRectangleBuilder
.- Returns:
- an instance of the
RectangleBuilder
.
-
create
Accepts the constructor arguments ofRectangle(double, double, double, double)
and returns an instance ofRectangleBuilder
.- Returns:
- an instance of the
RectangleBuilder
.
-
create
Accepts the constructor arguments ofRectangle(double, double, Paint)
and returns an instance ofRectangleBuilder
.- Returns:
- an instance of the
RectangleBuilder
.
-
build
Builds and returns an instance of theRectangle
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
Rectangle
class
-
apply
Applies a function to the Rectangle instance being constructed. Most operations on the instance can be performed using this method.Example usage:
- Returns:
- builder instance
-
accessibleHelp
A builder method that invokes thesetAccessibleHelp
method on the instance being constructed.- Returns:
- builder instance
-
accessibleRole
A builder method that invokes thesetAccessibleRole
method on the instance being constructed.- Returns:
- builder instance
-
accessibleRoleDescription
A builder method that invokes thesetAccessibleRoleDescription
method on the instance being constructed.- Returns:
- builder instance
-
accessibleText
A builder method that invokes thesetAccessibleText
method on the instance being constructed.- Returns:
- builder instance
-
arcHeight
A builder method that invokes thesetArcHeight
method on the instance being constructed.- Returns:
- builder instance
-
arcWidth
A builder method that invokes thesetArcWidth
method on the instance being constructed.- Returns:
- builder instance
-
blendMode
A builder method that invokes thesetBlendMode
method on the instance being constructed.- Returns:
- builder instance
-
cache
A builder method that invokes thesetCache
method on the instance being constructed.- Returns:
- builder instance
-
cacheHint
A builder method that invokes thesetCacheHint
method on the instance being constructed.- Returns:
- builder instance
-
clip
A builder method that invokes thesetClip
method on the instance being constructed.- Returns:
- builder instance
-
cursor
A builder method that invokes thesetCursor
method on the instance being constructed.- Returns:
- builder instance
-
depthTest
A builder method that invokes thesetDepthTest
method on the instance being constructed.- Returns:
- builder instance
-
disable
A builder method that invokes thesetDisable
method on the instance being constructed.- Returns:
- builder instance
-
effect
A builder method that invokes thesetEffect
method on the instance being constructed.- Returns:
- builder instance
-
eventDispatcher
A builder method that invokes thesetEventDispatcher
method on the instance being constructed.- Returns:
- builder instance
-
fill
A builder method that invokes thesetFill
method on the instance being constructed.- Returns:
- builder instance
-
focusTraversable
A builder method that invokes thesetFocusTraversable
method on the instance being constructed.- Returns:
- builder instance
-
height
A builder method that invokes thesetHeight
method on the instance being constructed.- Returns:
- builder instance
-
id
A builder method that invokes thesetId
method on the instance being constructed.- Returns:
- builder instance
-
inputMethodRequests
A builder method that invokes thesetInputMethodRequests
method on the instance being constructed.- Returns:
- builder instance
-
layoutX
A builder method that invokes thesetLayoutX
method on the instance being constructed.- Returns:
- builder instance
-
layoutY
A builder method that invokes thesetLayoutY
method on the instance being constructed.- Returns:
- builder instance
-
managed
A builder method that invokes thesetManaged
method on the instance being constructed.- Returns:
- builder instance
-
mouseTransparent
A builder method that invokes thesetMouseTransparent
method on the instance being constructed.- Returns:
- builder instance
-
nodeOrientation
A builder method that invokes thesetNodeOrientation
method on the instance being constructed.- Returns:
- builder instance
-
onContextMenuRequested
A builder method that invokes thesetOnContextMenuRequested
method on the instance being constructed.- Returns:
- builder instance
-
onDragDetected
A builder method that invokes thesetOnDragDetected
method on the instance being constructed.- Returns:
- builder instance
-
onDragDone
A builder method that invokes thesetOnDragDone
method on the instance being constructed.- Returns:
- builder instance
-
onDragDropped
A builder method that invokes thesetOnDragDropped
method on the instance being constructed.- Returns:
- builder instance
-
onDragEntered
A builder method that invokes thesetOnDragEntered
method on the instance being constructed.- Returns:
- builder instance
-
onDragExited
A builder method that invokes thesetOnDragExited
method on the instance being constructed.- Returns:
- builder instance
-
onDragOver
A builder method that invokes thesetOnDragOver
method on the instance being constructed.- Returns:
- builder instance
-
onInputMethodTextChanged
A builder method that invokes thesetOnInputMethodTextChanged
method on the instance being constructed.- Returns:
- builder instance
-
onKeyPressed
A builder method that invokes thesetOnKeyPressed
method on the instance being constructed.- Returns:
- builder instance
-
onKeyReleased
A builder method that invokes thesetOnKeyReleased
method on the instance being constructed.- Returns:
- builder instance
-
onKeyTyped
A builder method that invokes thesetOnKeyTyped
method on the instance being constructed.- Returns:
- builder instance
-
onMouseClicked
A builder method that invokes thesetOnMouseClicked
method on the instance being constructed.- Returns:
- builder instance
-
onMouseDragEntered
A builder method that invokes thesetOnMouseDragEntered
method on the instance being constructed.- Returns:
- builder instance
-
onMouseDragExited
A builder method that invokes thesetOnMouseDragExited
method on the instance being constructed.- Returns:
- builder instance
-
onMouseDragOver
A builder method that invokes thesetOnMouseDragOver
method on the instance being constructed.- Returns:
- builder instance
-
onMouseDragReleased
A builder method that invokes thesetOnMouseDragReleased
method on the instance being constructed.- Returns:
- builder instance
-
onMouseDragged
A builder method that invokes thesetOnMouseDragged
method on the instance being constructed.- Returns:
- builder instance
-
onMouseEntered
A builder method that invokes thesetOnMouseEntered
method on the instance being constructed.- Returns:
- builder instance
-
onMouseExited
A builder method that invokes thesetOnMouseExited
method on the instance being constructed.- Returns:
- builder instance
-
onMouseMoved
A builder method that invokes thesetOnMouseMoved
method on the instance being constructed.- Returns:
- builder instance
-
onMousePressed
A builder method that invokes thesetOnMousePressed
method on the instance being constructed.- Returns:
- builder instance
-
onMouseReleased
A builder method that invokes thesetOnMouseReleased
method on the instance being constructed.- Returns:
- builder instance
-
onRotate
A builder method that invokes thesetOnRotate
method on the instance being constructed.- Returns:
- builder instance
-
onRotationFinished
A builder method that invokes thesetOnRotationFinished
method on the instance being constructed.- Returns:
- builder instance
-
onRotationStarted
A builder method that invokes thesetOnRotationStarted
method on the instance being constructed.- Returns:
- builder instance
-
onScroll
A builder method that invokes thesetOnScroll
method on the instance being constructed.- Returns:
- builder instance
-
onScrollFinished
A builder method that invokes thesetOnScrollFinished
method on the instance being constructed.- Returns:
- builder instance
-
onScrollStarted
A builder method that invokes thesetOnScrollStarted
method on the instance being constructed.- Returns:
- builder instance
-
onSwipeDown
A builder method that invokes thesetOnSwipeDown
method on the instance being constructed.- Returns:
- builder instance
-
onSwipeLeft
A builder method that invokes thesetOnSwipeLeft
method on the instance being constructed.- Returns:
- builder instance
-
onSwipeRight
A builder method that invokes thesetOnSwipeRight
method on the instance being constructed.- Returns:
- builder instance
-
onSwipeUp
A builder method that invokes thesetOnSwipeUp
method on the instance being constructed.- Returns:
- builder instance
-
onTouchMoved
A builder method that invokes thesetOnTouchMoved
method on the instance being constructed.- Returns:
- builder instance
-
onTouchPressed
A builder method that invokes thesetOnTouchPressed
method on the instance being constructed.- Returns:
- builder instance
-
onTouchReleased
A builder method that invokes thesetOnTouchReleased
method on the instance being constructed.- Returns:
- builder instance
-
onTouchStationary
A builder method that invokes thesetOnTouchStationary
method on the instance being constructed.- Returns:
- builder instance
-
onZoom
A builder method that invokes thesetOnZoom
method on the instance being constructed.- Returns:
- builder instance
-
onZoomFinished
A builder method that invokes thesetOnZoomFinished
method on the instance being constructed.- Returns:
- builder instance
-
onZoomStarted
A builder method that invokes thesetOnZoomStarted
method on the instance being constructed.- Returns:
- builder instance
-
opacity
A builder method that invokes thesetOpacity
method on the instance being constructed.- Returns:
- builder instance
-
pickOnBounds
A builder method that invokes thesetPickOnBounds
method on the instance being constructed.- Returns:
- builder instance
-
rotate
A builder method that invokes thesetRotate
method on the instance being constructed.- Returns:
- builder instance
-
rotationAxis
A builder method that invokes thesetRotationAxis
method on the instance being constructed.- Returns:
- builder instance
-
scaleX
A builder method that invokes thesetScaleX
method on the instance being constructed.- Returns:
- builder instance
-
scaleY
A builder method that invokes thesetScaleY
method on the instance being constructed.- Returns:
- builder instance
-
scaleZ
A builder method that invokes thesetScaleZ
method on the instance being constructed.- Returns:
- builder instance
-
smooth
A builder method that invokes thesetSmooth
method on the instance being constructed.- Returns:
- builder instance
-
stroke
A builder method that invokes thesetStroke
method on the instance being constructed.- Returns:
- builder instance
-
strokeDashOffset
A builder method that invokes thesetStrokeDashOffset
method on the instance being constructed.- Returns:
- builder instance
-
strokeLineCap
A builder method that invokes thesetStrokeLineCap
method on the instance being constructed.- Returns:
- builder instance
-
strokeLineJoin
A builder method that invokes thesetStrokeLineJoin
method on the instance being constructed.- Returns:
- builder instance
-
strokeMiterLimit
A builder method that invokes thesetStrokeMiterLimit
method on the instance being constructed.- Returns:
- builder instance
-
strokeType
A builder method that invokes thesetStrokeType
method on the instance being constructed.- Returns:
- builder instance
-
strokeWidth
A builder method that invokes thesetStrokeWidth
method on the instance being constructed.- Returns:
- builder instance
-
style
A builder method that invokes thesetStyle
method on the instance being constructed.- Returns:
- builder instance
-
translateX
A builder method that invokes thesetTranslateX
method on the instance being constructed.- Returns:
- builder instance
-
translateY
A builder method that invokes thesetTranslateY
method on the instance being constructed.- Returns:
- builder instance
-
translateZ
A builder method that invokes thesetTranslateZ
method on the instance being constructed.- Returns:
- builder instance
-
userData
A builder method that invokes thesetUserData
method on the instance being constructed.- Returns:
- builder instance
-
viewOrder
A builder method that invokes thesetViewOrder
method on the instance being constructed.- Returns:
- builder instance
-
visible
A builder method that invokes thesetVisible
method on the instance being constructed.- Returns:
- builder instance
-
width
A builder method that invokes thesetWidth
method on the instance being constructed.- Returns:
- builder instance
-
x
A builder method that invokes thesetX
method on the instance being constructed.- Returns:
- builder instance
-
y
A builder method that invokes thesetY
method on the instance being constructed.- Returns:
- builder instance
-
addStrokeDashArray
Calls theaddAll
method on the ObservableList returned by theRectangle#getStrokeDashArray()
method.- Returns:
- builder instance
-
addStrokeDashArray
Calls theaddAll
method on the ObservableList returned by theRectangle#getStrokeDashArray()
method.- Returns:
- builder instance
-
withStrokeDashArray
Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theRectangle#getStrokeDashArray()
method.- Returns:
- builder instance
-
withStrokeDashArray
Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theRectangle#getStrokeDashArray()
method.- Returns:
- builder instance
-
addStyleClass
Calls theaddAll
method on the ObservableList returned by theRectangle#getStyleClass()
method.- Returns:
- builder instance
-
addStyleClass
Calls theaddAll
method on the ObservableList returned by theRectangle#getStyleClass()
method.- Returns:
- builder instance
-
addTransforms
Calls theaddAll
method on the ObservableList returned by theRectangle#getTransforms()
method.- Returns:
- builder instance
-
addTransforms
Calls theaddAll
method on the ObservableList returned by theRectangle#getTransforms()
method.- Returns:
- builder instance
-
bottomAnchorInAnchorPane
Invokes theAnchorPane.setBottomAnchor(Node, Double)
using a fluent API.Example:
- Returns:
- builder instance
-
leftAnchorInAnchorPane
Invokes theAnchorPane.setLeftAnchor(Node, Double)
using a fluent API.Example:
- Returns:
- builder instance
-
rightAnchorInAnchorPane
Invokes theAnchorPane.setRightAnchor(Node, Double)
using a fluent API.Example:
- Returns:
- builder instance
-
topAnchorInAnchorPane
Invokes theAnchorPane.setTopAnchor(Node, Double)
using a fluent API.Example:
- Returns:
- builder instance
-
alignmentInBorderPane
Invokes theBorderPane.setAlignment(Node, Pos)
using a fluent API.Example:
- Returns:
- builder instance
-
marginInBorderPane
Invokes theBorderPane.setMargin(Node, Insets)
using a fluent API.Example:
- Returns:
- builder instance
-
marginInFlowPane
Invokes theFlowPane.setMargin(Node, Insets)
using a fluent API.Example:
- Returns:
- builder instance
-
columnIndexInGridPane
Invokes theGridPane.setColumnIndex(Node, Integer)
using a fluent API.Example:
- Returns:
- builder instance
-
columnSpanInGridPane
Invokes theGridPane.setColumnSpan(Node, Integer)
using a fluent API.Example:
- Returns:
- builder instance
-
constraintsInGridPane
Invokes theGridPane.setConstraints(Node, int, int)
using a fluent API.Example:
- Returns:
- builder instance
-
constraintsInGridPane
public RectangleBuilder constraintsInGridPane(int columnIndex, int rowIndex, int columnspan, int rowspan) Invokes theGridPane.setConstraints(Node, int, int, int, int)
using a fluent API.Example:
- Returns:
- builder instance
-
constraintsInGridPane
public RectangleBuilder constraintsInGridPane(int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment) Invokes theGridPane.setConstraints(Node, int, int, int, int, HPos, VPos)
using a fluent API.Example:
- Returns:
- builder instance
-
constraintsInGridPane
public RectangleBuilder constraintsInGridPane(int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow) Invokes theGridPane.setConstraints(Node, int, int, int, int, HPos, VPos, Priority, Priority)
using a fluent API.Example:
- Returns:
- builder instance
-
constraintsInGridPane
public RectangleBuilder constraintsInGridPane(int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow, Insets margin) Invokes theGridPane.setConstraints(Node, int, int, int, int, HPos, VPos, Priority, Priority, Insets)
using a fluent API.Example:
- Returns:
- builder instance
-
fillHeightInGridPane
Invokes theGridPane.setFillHeight(Node, Boolean)
using a fluent API.Example:
- Returns:
- builder instance
-
fillWidthInGridPane
Invokes theGridPane.setFillWidth(Node, Boolean)
using a fluent API.Example:
- Returns:
- builder instance
-
hAlignmentInGridPane
Invokes theGridPane.setHalignment(Node, HPos)
using a fluent API.Example:
- Returns:
- builder instance
-
hGrowInGridPane
Invokes theGridPane.setHgrow(Node, Priority)
using a fluent API.Example:
- Returns:
- builder instance
-
marginInGridPane
Invokes theGridPane.setMargin(Node, Insets)
using a fluent API.Example:
- Returns:
- builder instance
-
rowIndexInGridPane
Invokes theGridPane.setRowIndex(Node, Integer)
using a fluent API.Example:
- Returns:
- builder instance
-
rowSpanInGridPane
Invokes theGridPane.setRowSpan(Node, Integer)
using a fluent API.Example:
- Returns:
- builder instance
-
vAlignmentInGridPane
Invokes theGridPane.setValignment(Node, VPos)
using a fluent API.Example:
- Returns:
- builder instance
-
vGrowInGridPane
Invokes theGridPane.setVgrow(Node, Priority)
using a fluent API.Example:
- Returns:
- builder instance
-
hGrowInHBox
Invokes theHBox.setHgrow(Node, Priority)
using a fluent API.Example:
- Returns:
- builder instance
-
marginInHBox
Invokes theHBox.setMargin(Node, Insets)
using a fluent API.Example:
- Returns:
- builder instance
-
alignmentInStackPane
Invokes theStackPane.setAlignment(Node, Pos)
using a fluent API.Example:
- Returns:
- builder instance
-
marginInStackPane
Invokes theStackPane.setMargin(Node, Insets)
using a fluent API.Example:
- Returns:
- builder instance
-
alignmentInTilePane
Invokes theTilePane.setAlignment(Node, Pos)
using a fluent API.Example:
- Returns:
- builder instance
-
marginInTilePane
Invokes theTilePane.setMargin(Node, Insets)
using a fluent API.Example:
- Returns:
- builder instance
-
marginInVBox
Invokes theVBox.setMargin(Node, Insets)
using a fluent API.Example:
- Returns:
- builder instance
-
vGrowInVBox
Invokes theVBox.setVgrow(Node, Priority)
using a fluent API.Example:
- Returns:
- builder instance
-
accessibleHelpPropertyApply
Applies a function to theaccessibleHelpProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
accessibleRoleDescriptionPropertyApply
Applies a function to theaccessibleRoleDescriptionProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
accessibleRolePropertyApply
Applies a function to theaccessibleRoleProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
accessibleTextPropertyApply
Applies a function to theaccessibleTextProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
arcHeightPropertyApply
Applies a function to thearcHeightProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
arcWidthPropertyApply
Applies a function to thearcWidthProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
blendModePropertyApply
Applies a function to theblendModeProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
boundsInLocalPropertyApply
Applies a function to theboundsInLocalProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
boundsInParentPropertyApply
Applies a function to theboundsInParentProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
cacheHintPropertyApply
Applies a function to thecacheHintProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
cachePropertyApply
Applies a function to thecacheProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
clipPropertyApply
Applies a function to theclipProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
cursorPropertyApply
Applies a function to thecursorProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
depthTestPropertyApply
Applies a function to thedepthTestProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
disablePropertyApply
Applies a function to thedisableProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
disabledPropertyApply
Applies a function to thedisabledProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
effectPropertyApply
Applies a function to theeffectProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
effectiveNodeOrientationPropertyApply
public RectangleBuilder effectiveNodeOrientationPropertyApply(Consumer<ReadOnlyObjectProperty<NodeOrientation>> op) Applies a function to theeffectiveNodeOrientationProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
eventDispatcherPropertyApply
Applies a function to theeventDispatcherProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
fillPropertyApply
Applies a function to thefillProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
focusTraversablePropertyApply
Applies a function to thefocusTraversableProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
focusVisiblePropertyApply
Applies a function to thefocusVisibleProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
focusWithinPropertyApply
Applies a function to thefocusWithinProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
focusedPropertyApply
Applies a function to thefocusedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
heightPropertyApply
Applies a function to theheightProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
hoverPropertyApply
Applies a function to thehoverProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
idPropertyApply
Applies a function to theidProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
inputMethodRequestsPropertyApply
public RectangleBuilder inputMethodRequestsPropertyApply(Consumer<ObjectProperty<InputMethodRequests>> op) Applies a function to theinputMethodRequestsProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
layoutBoundsPropertyApply
Applies a function to thelayoutBoundsProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
layoutXPropertyApply
Applies a function to thelayoutXProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
layoutYPropertyApply
Applies a function to thelayoutYProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
localToParentTransformPropertyApply
public RectangleBuilder localToParentTransformPropertyApply(Consumer<ReadOnlyObjectProperty<Transform>> op) Applies a function to thelocalToParentTransformProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
localToSceneTransformPropertyApply
public RectangleBuilder localToSceneTransformPropertyApply(Consumer<ReadOnlyObjectProperty<Transform>> op) Applies a function to thelocalToSceneTransformProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
managedPropertyApply
Applies a function to themanagedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
mouseTransparentPropertyApply
Applies a function to themouseTransparentProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
nodeOrientationPropertyApply
Applies a function to thenodeOrientationProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onContextMenuRequestedPropertyApply
public RectangleBuilder onContextMenuRequestedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ContextMenuEvent>>> op) Applies a function to theonContextMenuRequestedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onDragDetectedPropertyApply
public RectangleBuilder onDragDetectedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonDragDetectedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onDragDonePropertyApply
public RectangleBuilder onDragDonePropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDoneProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onDragDroppedPropertyApply
public RectangleBuilder onDragDroppedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDroppedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onDragEnteredPropertyApply
public RectangleBuilder onDragEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragEnteredProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onDragExitedPropertyApply
public RectangleBuilder onDragExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragExitedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onDragOverPropertyApply
public RectangleBuilder onDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragOverProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onInputMethodTextChangedPropertyApply
public RectangleBuilder onInputMethodTextChangedPropertyApply(Consumer<ObjectProperty<EventHandler<? super InputMethodEvent>>> op) Applies a function to theonInputMethodTextChangedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onKeyPressedPropertyApply
public RectangleBuilder onKeyPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyPressedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onKeyReleasedPropertyApply
public RectangleBuilder onKeyReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyReleasedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onKeyTypedPropertyApply
public RectangleBuilder onKeyTypedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyTypedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMouseClickedPropertyApply
public RectangleBuilder onMouseClickedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseClickedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMouseDragEnteredPropertyApply
public RectangleBuilder onMouseDragEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragEnteredProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMouseDragExitedPropertyApply
public RectangleBuilder onMouseDragExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragExitedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMouseDragOverPropertyApply
public RectangleBuilder onMouseDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragOverProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMouseDragReleasedPropertyApply
public RectangleBuilder onMouseDragReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragReleasedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMouseDraggedPropertyApply
public RectangleBuilder onMouseDraggedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseDraggedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMouseEnteredPropertyApply
public RectangleBuilder onMouseEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseEnteredProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMouseExitedPropertyApply
public RectangleBuilder onMouseExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseExitedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMouseMovedPropertyApply
public RectangleBuilder onMouseMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseMovedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMousePressedPropertyApply
public RectangleBuilder onMousePressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMousePressedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onMouseReleasedPropertyApply
public RectangleBuilder onMouseReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseReleasedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onRotatePropertyApply
public RectangleBuilder onRotatePropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotateProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onRotationFinishedPropertyApply
public RectangleBuilder onRotationFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationFinishedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onRotationStartedPropertyApply
public RectangleBuilder onRotationStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationStartedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onScrollFinishedPropertyApply
public RectangleBuilder onScrollFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollFinishedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onScrollPropertyApply
public RectangleBuilder onScrollPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onScrollStartedPropertyApply
public RectangleBuilder onScrollStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollStartedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onSwipeDownPropertyApply
public RectangleBuilder onSwipeDownPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeDownProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onSwipeLeftPropertyApply
public RectangleBuilder onSwipeLeftPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeLeftProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onSwipeRightPropertyApply
public RectangleBuilder onSwipeRightPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeRightProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onSwipeUpPropertyApply
public RectangleBuilder onSwipeUpPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeUpProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onTouchMovedPropertyApply
public RectangleBuilder onTouchMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchMovedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onTouchPressedPropertyApply
public RectangleBuilder onTouchPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchPressedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onTouchReleasedPropertyApply
public RectangleBuilder onTouchReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchReleasedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onTouchStationaryPropertyApply
public RectangleBuilder onTouchStationaryPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchStationaryProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onZoomFinishedPropertyApply
public RectangleBuilder onZoomFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomFinishedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onZoomPropertyApply
public RectangleBuilder onZoomPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
onZoomStartedPropertyApply
public RectangleBuilder onZoomStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomStartedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
opacityPropertyApply
Applies a function to theopacityProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
parentPropertyApply
Applies a function to theparentProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
pickOnBoundsPropertyApply
Applies a function to thepickOnBoundsProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
pressedPropertyApply
Applies a function to thepressedProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
rotatePropertyApply
Applies a function to therotateProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
rotationAxisPropertyApply
Applies a function to therotationAxisProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
scaleXPropertyApply
Applies a function to thescaleXProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
scaleYPropertyApply
Applies a function to thescaleYProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
scaleZPropertyApply
Applies a function to thescaleZProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
scenePropertyApply
Applies a function to thesceneProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
smoothPropertyApply
Applies a function to thesmoothProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
strokeDashOffsetPropertyApply
Applies a function to thestrokeDashOffsetProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
strokeLineCapPropertyApply
Applies a function to thestrokeLineCapProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
strokeLineJoinPropertyApply
Applies a function to thestrokeLineJoinProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
strokeMiterLimitPropertyApply
Applies a function to thestrokeMiterLimitProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
strokePropertyApply
Applies a function to thestrokeProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
strokeTypePropertyApply
Applies a function to thestrokeTypeProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
strokeWidthPropertyApply
Applies a function to thestrokeWidthProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
stylePropertyApply
Applies a function to thestyleProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
translateXPropertyApply
Applies a function to thetranslateXProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
translateYPropertyApply
Applies a function to thetranslateYProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
translateZPropertyApply
Applies a function to thetranslateZProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
viewOrderPropertyApply
Applies a function to theviewOrderProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
visiblePropertyApply
Applies a function to thevisibleProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
widthPropertyApply
Applies a function to thewidthProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
xPropertyApply
Applies a function to thexProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-
yPropertyApply
Applies a function to theyProperty
of the instance being constructed. This serves as a shorthand form of theapply
method.Example:
- Returns:
- builder instance
-