Class TextFieldBuilder
TextFieldBuilder class constructs instances of the TextField 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 TextField constructor
and returns an instance of the TextFieldBuilder.
You can use method chaining to call the builder methods for configuring the TextField.
Finally, invoke the build method to generate an instance of the TextField 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 thesetAccessibleHelpmethod on the instance being constructed.Applies a function to theaccessibleHelpPropertyof the instance being constructed.accessibleRole(AccessibleRole value) A builder method that invokes thesetAccessibleRolemethod on the instance being constructed.accessibleRoleDescription(String value) A builder method that invokes thesetAccessibleRoleDescriptionmethod on the instance being constructed.Applies a function to theaccessibleRoleDescriptionPropertyof the instance being constructed.Applies a function to theaccessibleRolePropertyof the instance being constructed.accessibleText(String value) A builder method that invokes thesetAccessibleTextmethod on the instance being constructed.Applies a function to theaccessibleTextPropertyof the instance being constructed.final TextFieldBuilderaddStyleClass(String... elements) Calls theaddAllmethod on the ObservableList returned by theTextField#getStyleClass()method.final TextFieldBuilderaddStyleClass(Collection<? extends String> col) Calls theaddAllmethod on the ObservableList returned by theTextField#getStyleClass()method.final TextFieldBuilderaddStylesheets(String... elements) Calls theaddAllmethod on the ObservableList returned by theTextField#getStylesheets()method.final TextFieldBuilderaddStylesheets(Collection<? extends String> col) Calls theaddAllmethod on the ObservableList returned by theTextField#getStylesheets()method.addStylesheetsText(String css) Utility setter to add CSS string for this TextField's contents.final TextFieldBuilderaddTransforms(Collection<? extends Transform> col) Calls theaddAllmethod on the ObservableList returned by theTextField#getTransforms()method.final TextFieldBuilderaddTransforms(Transform... elements) Calls theaddAllmethod on the ObservableList returned by theTextField#getTransforms()method.A builder method that invokes thesetAlignmentmethod on the instance being constructed.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 thealignmentPropertyof the instance being constructed.Applies a function to theanchorPropertyof the instance being constructed.Applies a function to the TextField instance being constructed.background(Background value) A builder method that invokes thesetBackgroundmethod on the instance being constructed.Applies a function to thebackgroundPropertyof the instance being constructed.A builder method that invokes thesetBlendModemethod on the instance being constructed.Applies a function to theblendModePropertyof the instance being constructed.A builder method that invokes thesetBordermethod on the instance being constructed.Applies a function to theborderPropertyof the instance being constructed.bottomAnchorInAnchorPane(Double value) Invokes theAnchorPane.setBottomAnchor(Node, Double)using a fluent API.Applies a function to theboundsInLocalPropertyof the instance being constructed.Applies a function to theboundsInParentPropertyof the instance being constructed.build()Builds and returns an instance of theTextFieldclass.cache(boolean value) A builder method that invokes thesetCachemethod on the instance being constructed.A builder method that invokes thesetCacheHintmethod on the instance being constructed.Applies a function to thecacheHintPropertyof the instance being constructed.Applies a function to thecachePropertyof the instance being constructed.cacheShape(boolean value) A builder method that invokes thesetCacheShapemethod on the instance being constructed.Applies a function to thecacheShapePropertyof the instance being constructed.Applies a function to thecaretPositionPropertyof the instance being constructed.centerShape(boolean value) A builder method that invokes thesetCenterShapemethod on the instance being constructed.Applies a function to thecenterShapePropertyof the instance being constructed.A builder method that invokes thesetClipmethod on the instance being constructed.Applies a function to theclipPropertyof 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.contextMenu(ContextMenu value) A builder method that invokes thesetContextMenumethod on the instance being constructed.Applies a function to thecontextMenuPropertyof the instance being constructed.static TextFieldBuildercreate()Returns an instance of theTextFieldBuilder.static TextFieldBuilderAccepts the constructor arguments ofTextField(String)and returns an instance ofTextFieldBuilder.A builder method that invokes thesetCursormethod on the instance being constructed.Applies a function to thecursorPropertyof the instance being constructed.A builder method that invokes thesetDepthTestmethod on the instance being constructed.Applies a function to thedepthTestPropertyof the instance being constructed.disable(boolean value) A builder method that invokes thesetDisablemethod on the instance being constructed.Applies a function to thedisabledPropertyof the instance being constructed.Applies a function to thedisablePropertyof the instance being constructed.editable(boolean value) A builder method that invokes thesetEditablemethod on the instance being constructed.Applies a function to theeditablePropertyof the instance being constructed.A builder method that invokes thesetEffectmethod on the instance being constructed.Applies a function to theeffectiveNodeOrientationPropertyof the instance being constructed.Applies a function to theeffectPropertyof the instance being constructed.eventDispatcher(EventDispatcher value) A builder method that invokes thesetEventDispatchermethod on the instance being constructed.Applies a function to theeventDispatcherPropertyof the instance being constructed.fillHeightInGridPane(Boolean value) Invokes theGridPane.setFillHeight(Node, Boolean)using a fluent API.fillWidthInGridPane(Boolean value) Invokes theGridPane.setFillWidth(Node, Boolean)using a fluent API.Applies a function to thefocusedPropertyof the instance being constructed.focusTraversable(boolean value) A builder method that invokes thesetFocusTraversablemethod on the instance being constructed.Applies a function to thefocusTraversablePropertyof the instance being constructed.Applies a function to thefocusVisiblePropertyof the instance being constructed.Applies a function to thefocusWithinPropertyof the instance being constructed.A builder method that invokes thesetFontmethod on the instance being constructed.Applies a function to thefontPropertyof the instance being constructed.hAlignmentInGridPane(HPos value) Invokes theGridPane.setHalignment(Node, HPos)using a fluent API.Applies a function to theheightPropertyof 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 thehoverPropertyof the instance being constructed.A builder method that invokes thesetIdmethod on the instance being constructed.Applies a function to theidPropertyof the instance being constructed.A builder method that invokes thesetInputMethodRequestsmethod on the instance being constructed.Applies a function to theinputMethodRequestsPropertyof the instance being constructed.Applies a function to theinsetsPropertyof the instance being constructed.Applies a function to thelayoutBoundsPropertyof the instance being constructed.layoutX(double value) A builder method that invokes thesetLayoutXmethod on the instance being constructed.Applies a function to thelayoutXPropertyof the instance being constructed.layoutY(double value) A builder method that invokes thesetLayoutYmethod on the instance being constructed.Applies a function to thelayoutYPropertyof the instance being constructed.leftAnchorInAnchorPane(Double value) Invokes theAnchorPane.setLeftAnchor(Node, Double)using a fluent API.Applies a function to thelengthPropertyof the instance being constructed.Applies a function to thelocalToParentTransformPropertyof the instance being constructed.Applies a function to thelocalToSceneTransformPropertyof the instance being constructed.managed(boolean value) A builder method that invokes thesetManagedmethod on the instance being constructed.Applies a function to themanagedPropertyof 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.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.mouseTransparent(boolean value) A builder method that invokes thesetMouseTransparentmethod on the instance being constructed.Applies a function to themouseTransparentPropertyof the instance being constructed.Applies a function to theneedsLayoutPropertyof the instance being constructed.nodeOrientation(NodeOrientation orientation) A builder method that invokes thesetNodeOrientationmethod on the instance being constructed.Applies a function to thenodeOrientationPropertyof the instance being constructed.onAction(EventHandler<ActionEvent> value) A builder method that invokes thesetOnActionmethod on the instance being constructed.Applies a function to theonActionPropertyof the instance being constructed.onContextMenuRequested(EventHandler<? super ContextMenuEvent> value) A builder method that invokes thesetOnContextMenuRequestedmethod on the instance being constructed.onContextMenuRequestedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ContextMenuEvent>>> op) Applies a function to theonContextMenuRequestedPropertyof the instance being constructed.onDragDetected(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnDragDetectedmethod on the instance being constructed.onDragDetectedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonDragDetectedPropertyof the instance being constructed.onDragDone(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragDonemethod on the instance being constructed.onDragDonePropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDonePropertyof the instance being constructed.onDragDropped(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragDroppedmethod on the instance being constructed.onDragDroppedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDroppedPropertyof the instance being constructed.onDragEntered(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragEnteredmethod on the instance being constructed.onDragEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragEnteredPropertyof the instance being constructed.onDragExited(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragExitedmethod on the instance being constructed.onDragExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragExitedPropertyof the instance being constructed.onDragOver(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragOvermethod on the instance being constructed.onDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragOverPropertyof the instance being constructed.onInputMethodTextChanged(EventHandler<? super InputMethodEvent> value) A builder method that invokes thesetOnInputMethodTextChangedmethod on the instance being constructed.onInputMethodTextChangedPropertyApply(Consumer<ObjectProperty<EventHandler<? super InputMethodEvent>>> op) Applies a function to theonInputMethodTextChangedPropertyof the instance being constructed.onKeyPressed(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyPressedmethod on the instance being constructed.onKeyPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyPressedPropertyof the instance being constructed.onKeyReleased(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyReleasedmethod on the instance being constructed.onKeyReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyReleasedPropertyof the instance being constructed.onKeyTyped(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyTypedmethod on the instance being constructed.onKeyTypedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyTypedPropertyof the instance being constructed.onMouseClicked(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseClickedmethod on the instance being constructed.onMouseClickedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseClickedPropertyof the instance being constructed.onMouseDragEntered(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragEnteredmethod on the instance being constructed.Applies a function to theonMouseDragEnteredPropertyof the instance being constructed.onMouseDragExited(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragExitedmethod on the instance being constructed.Applies a function to theonMouseDragExitedPropertyof the instance being constructed.onMouseDragged(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseDraggedmethod on the instance being constructed.onMouseDraggedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseDraggedPropertyof the instance being constructed.onMouseDragOver(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragOvermethod on the instance being constructed.onMouseDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragOverPropertyof the instance being constructed.onMouseDragReleased(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragReleasedmethod on the instance being constructed.Applies a function to theonMouseDragReleasedPropertyof the instance being constructed.onMouseEntered(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseEnteredmethod on the instance being constructed.onMouseEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseEnteredPropertyof the instance being constructed.onMouseExited(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseExitedmethod on the instance being constructed.onMouseExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseExitedPropertyof the instance being constructed.onMouseMoved(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseMovedmethod on the instance being constructed.onMouseMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseMovedPropertyof the instance being constructed.onMousePressed(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMousePressedmethod on the instance being constructed.onMousePressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMousePressedPropertyof the instance being constructed.onMouseReleased(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseReleasedmethod on the instance being constructed.onMouseReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseReleasedPropertyof the instance being constructed.onRotate(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotatemethod on the instance being constructed.onRotatePropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotatePropertyof the instance being constructed.onRotationFinished(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotationFinishedmethod on the instance being constructed.onRotationFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationFinishedPropertyof the instance being constructed.onRotationStarted(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotationStartedmethod on the instance being constructed.onRotationStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationStartedPropertyof the instance being constructed.onScroll(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScrollmethod on the instance being constructed.onScrollFinished(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScrollFinishedmethod on the instance being constructed.onScrollFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollFinishedPropertyof the instance being constructed.onScrollPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollPropertyof the instance being constructed.onScrollStarted(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScrollStartedmethod on the instance being constructed.onScrollStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollStartedPropertyof the instance being constructed.onSwipeDown(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeDownmethod on the instance being constructed.onSwipeDownPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeDownPropertyof the instance being constructed.onSwipeLeft(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeLeftmethod on the instance being constructed.onSwipeLeftPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeLeftPropertyof the instance being constructed.onSwipeRight(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeRightmethod on the instance being constructed.onSwipeRightPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeRightPropertyof the instance being constructed.onSwipeUp(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeUpmethod on the instance being constructed.onSwipeUpPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeUpPropertyof the instance being constructed.onTouchMoved(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchMovedmethod on the instance being constructed.onTouchMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchMovedPropertyof the instance being constructed.onTouchPressed(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchPressedmethod on the instance being constructed.onTouchPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchPressedPropertyof the instance being constructed.onTouchReleased(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchReleasedmethod on the instance being constructed.onTouchReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchReleasedPropertyof the instance being constructed.onTouchStationary(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchStationarymethod on the instance being constructed.onTouchStationaryPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchStationaryPropertyof the instance being constructed.onZoom(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoommethod on the instance being constructed.onZoomFinished(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoomFinishedmethod on the instance being constructed.onZoomFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomFinishedPropertyof the instance being constructed.onZoomPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomPropertyof the instance being constructed.onZoomStarted(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoomStartedmethod on the instance being constructed.onZoomStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomStartedPropertyof 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.opaqueInsets(Insets value) A builder method that invokes thesetOpaqueInsetsmethod on the instance being constructed.Applies a function to theopaqueInsetsPropertyof the instance being constructed.A builder method that invokes thesetPaddingmethod on the instance being constructed.Applies a function to thepaddingPropertyof the instance being constructed.Applies a function to theparentPropertyof the instance being constructed.pickOnBounds(boolean value) A builder method that invokes thesetPickOnBoundsmethod on the instance being constructed.Applies a function to thepickOnBoundsPropertyof the instance being constructed.prefColumnCount(int value) A builder method that invokes thesetPrefColumnCountmethod on the instance being constructed.Applies a function to theprefColumnCountPropertyof 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.Applies a function to thepressedPropertyof the instance being constructed.promptText(String value) A builder method that invokes thesetPromptTextmethod on the instance being constructed.Applies a function to thepromptTextPropertyof the instance being constructed.Applies a function to theredoablePropertyof the instance being constructed.rightAnchorInAnchorPane(Double value) Invokes theAnchorPane.setRightAnchor(Node, Double)using a fluent API.rotate(double value) A builder method that invokes thesetRotatemethod on the instance being constructed.Applies a function to therotatePropertyof the instance being constructed.rotationAxis(Point3D value) A builder method that invokes thesetRotationAxismethod on the instance being constructed.Applies a function to therotationAxisPropertyof 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.scaleShape(boolean value) A builder method that invokes thesetScaleShapemethod on the instance being constructed.Applies a function to thescaleShapePropertyof the instance being constructed.scaleX(double value) A builder method that invokes thesetScaleXmethod on the instance being constructed.Applies a function to thescaleXPropertyof the instance being constructed.scaleY(double value) A builder method that invokes thesetScaleYmethod on the instance being constructed.Applies a function to thescaleYPropertyof the instance being constructed.scaleZ(double value) A builder method that invokes thesetScaleZmethod on the instance being constructed.Applies a function to thescaleZPropertyof the instance being constructed.Applies a function to thescenePropertyof the instance being constructed.Applies a function to theselectedTextPropertyof the instance being constructed.Applies a function to theselectionPropertyof the instance being constructed.A builder method that invokes thesetShapemethod on the instance being constructed.Applies a function to theshapePropertyof 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.snapToPixel(boolean value) A builder method that invokes thesetSnapToPixelmethod on the instance being constructed.Applies a function to thesnapToPixelPropertyof 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 thesetTextmethod on the instance being constructed.textFormatter(TextFormatter<?> value) A builder method that invokes thesetTextFormattermethod on the instance being constructed.Applies a function to thetextFormatterPropertyof the instance being constructed.Applies a function to thetextPropertyof the instance being constructed.A builder method that invokes thesetTooltipmethod on the instance being constructed.Applies a function to thetooltipPropertyof the instance being constructed.topAnchorInAnchorPane(Double value) Invokes theAnchorPane.setTopAnchor(Node, Double)using a fluent API.translateX(double value) A builder method that invokes thesetTranslateXmethod on the instance being constructed.Applies a function to thetranslateXPropertyof the instance being constructed.translateY(double value) A builder method that invokes thesetTranslateYmethod on the instance being constructed.Applies a function to thetranslateYPropertyof the instance being constructed.translateZ(double value) A builder method that invokes thesetTranslateZmethod on the instance being constructed.Applies a function to thetranslateZPropertyof the instance being constructed.Applies a function to theundoablePropertyof the instance being constructed.A builder method that invokes thesetUserDatamethod 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 thesetViewOrdermethod on the instance being constructed.Applies a function to theviewOrderPropertyof the instance being constructed.visible(boolean value) A builder method that invokes thesetVisiblemethod on the instance being constructed.Applies a function to thevisiblePropertyof the instance being constructed.Applies a function to thewidthPropertyof the instance being constructed.
-
Method Details
-
create
Returns an instance of theTextFieldBuilder.- Returns:
- an instance of the
TextFieldBuilder.
-
create
Accepts the constructor arguments ofTextField(String)and returns an instance ofTextFieldBuilder.- Returns:
- an instance of the
TextFieldBuilder.
-
build
-
apply
Applies a function to the TextField instance being constructed. Most operations on the instance can be performed using this method.Example usage:
apply(textField -> textField.setId("Main" + textField.getTypeSelector()))- Returns:
- builder instance
-
accessibleHelp
A builder method that invokes thesetAccessibleHelpmethod on the instance being constructed.- Returns:
- builder instance
-
accessibleRole
A builder method that invokes thesetAccessibleRolemethod on the instance being constructed.- Returns:
- builder instance
-
accessibleRoleDescription
A builder method that invokes thesetAccessibleRoleDescriptionmethod on the instance being constructed.- Returns:
- builder instance
-
accessibleText
A builder method that invokes thesetAccessibleTextmethod on the instance being constructed.- Returns:
- builder instance
-
alignment
A builder method that invokes thesetAlignmentmethod on the instance being constructed.- Returns:
- builder instance
-
background
A builder method that invokes thesetBackgroundmethod on the instance being constructed.- Returns:
- builder instance
-
blendMode
A builder method that invokes thesetBlendModemethod on the instance being constructed.- Returns:
- builder instance
-
border
A builder method that invokes thesetBordermethod on the instance being constructed.- Returns:
- builder instance
-
cache
A builder method that invokes thesetCachemethod on the instance being constructed.- Returns:
- builder instance
-
cacheHint
A builder method that invokes thesetCacheHintmethod on the instance being constructed.- Returns:
- builder instance
-
cacheShape
A builder method that invokes thesetCacheShapemethod on the instance being constructed.- Returns:
- builder instance
-
centerShape
A builder method that invokes thesetCenterShapemethod on the instance being constructed.- Returns:
- builder instance
-
clip
A builder method that invokes thesetClipmethod on the instance being constructed.- Returns:
- builder instance
-
contextMenu
A builder method that invokes thesetContextMenumethod on the instance being constructed.- Returns:
- builder instance
-
cursor
A builder method that invokes thesetCursormethod on the instance being constructed.- Returns:
- builder instance
-
depthTest
A builder method that invokes thesetDepthTestmethod on the instance being constructed.- Returns:
- builder instance
-
disable
A builder method that invokes thesetDisablemethod on the instance being constructed.- Returns:
- builder instance
-
editable
A builder method that invokes thesetEditablemethod on the instance being constructed.- Returns:
- builder instance
-
effect
A builder method that invokes thesetEffectmethod on the instance being constructed.- Returns:
- builder instance
-
eventDispatcher
A builder method that invokes thesetEventDispatchermethod on the instance being constructed.- Returns:
- builder instance
-
focusTraversable
A builder method that invokes thesetFocusTraversablemethod on the instance being constructed.- Returns:
- builder instance
-
font
A builder method that invokes thesetFontmethod on the instance being constructed.- Returns:
- builder instance
-
id
A builder method that invokes thesetIdmethod on the instance being constructed.- Returns:
- builder instance
-
inputMethodRequests
A builder method that invokes thesetInputMethodRequestsmethod on the instance being constructed.- Returns:
- builder instance
-
layoutX
A builder method that invokes thesetLayoutXmethod on the instance being constructed.- Returns:
- builder instance
-
layoutY
A builder method that invokes thesetLayoutYmethod on the instance being constructed.- Returns:
- builder instance
-
managed
A builder method that invokes thesetManagedmethod 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
-
mouseTransparent
A builder method that invokes thesetMouseTransparentmethod on the instance being constructed.- Returns:
- builder instance
-
nodeOrientation
A builder method that invokes thesetNodeOrientationmethod on the instance being constructed.- Returns:
- builder instance
-
onAction
A builder method that invokes thesetOnActionmethod on the instance being constructed.- Returns:
- builder instance
-
onContextMenuRequested
A builder method that invokes thesetOnContextMenuRequestedmethod on the instance being constructed.- Returns:
- builder instance
-
onDragDetected
A builder method that invokes thesetOnDragDetectedmethod on the instance being constructed.- Returns:
- builder instance
-
onDragDone
A builder method that invokes thesetOnDragDonemethod on the instance being constructed.- Returns:
- builder instance
-
onDragDropped
A builder method that invokes thesetOnDragDroppedmethod on the instance being constructed.- Returns:
- builder instance
-
onDragEntered
A builder method that invokes thesetOnDragEnteredmethod on the instance being constructed.- Returns:
- builder instance
-
onDragExited
A builder method that invokes thesetOnDragExitedmethod on the instance being constructed.- Returns:
- builder instance
-
onDragOver
A builder method that invokes thesetOnDragOvermethod on the instance being constructed.- Returns:
- builder instance
-
onInputMethodTextChanged
A builder method that invokes thesetOnInputMethodTextChangedmethod on the instance being constructed.- Returns:
- builder instance
-
onKeyPressed
A builder method that invokes thesetOnKeyPressedmethod on the instance being constructed.- Returns:
- builder instance
-
onKeyReleased
A builder method that invokes thesetOnKeyReleasedmethod on the instance being constructed.- Returns:
- builder instance
-
onKeyTyped
A builder method that invokes thesetOnKeyTypedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseClicked
A builder method that invokes thesetOnMouseClickedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseDragEntered
A builder method that invokes thesetOnMouseDragEnteredmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseDragExited
A builder method that invokes thesetOnMouseDragExitedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseDragOver
A builder method that invokes thesetOnMouseDragOvermethod on the instance being constructed.- Returns:
- builder instance
-
onMouseDragReleased
A builder method that invokes thesetOnMouseDragReleasedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseDragged
A builder method that invokes thesetOnMouseDraggedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseEntered
A builder method that invokes thesetOnMouseEnteredmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseExited
A builder method that invokes thesetOnMouseExitedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseMoved
A builder method that invokes thesetOnMouseMovedmethod on the instance being constructed.- Returns:
- builder instance
-
onMousePressed
A builder method that invokes thesetOnMousePressedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseReleased
A builder method that invokes thesetOnMouseReleasedmethod on the instance being constructed.- Returns:
- builder instance
-
onRotate
A builder method that invokes thesetOnRotatemethod on the instance being constructed.- Returns:
- builder instance
-
onRotationFinished
A builder method that invokes thesetOnRotationFinishedmethod on the instance being constructed.- Returns:
- builder instance
-
onRotationStarted
A builder method that invokes thesetOnRotationStartedmethod on the instance being constructed.- Returns:
- builder instance
-
onScroll
A builder method that invokes thesetOnScrollmethod on the instance being constructed.- Returns:
- builder instance
-
onScrollFinished
A builder method that invokes thesetOnScrollFinishedmethod on the instance being constructed.- Returns:
- builder instance
-
onScrollStarted
A builder method that invokes thesetOnScrollStartedmethod on the instance being constructed.- Returns:
- builder instance
-
onSwipeDown
A builder method that invokes thesetOnSwipeDownmethod on the instance being constructed.- Returns:
- builder instance
-
onSwipeLeft
A builder method that invokes thesetOnSwipeLeftmethod on the instance being constructed.- Returns:
- builder instance
-
onSwipeRight
A builder method that invokes thesetOnSwipeRightmethod on the instance being constructed.- Returns:
- builder instance
-
onSwipeUp
A builder method that invokes thesetOnSwipeUpmethod on the instance being constructed.- Returns:
- builder instance
-
onTouchMoved
A builder method that invokes thesetOnTouchMovedmethod on the instance being constructed.- Returns:
- builder instance
-
onTouchPressed
A builder method that invokes thesetOnTouchPressedmethod on the instance being constructed.- Returns:
- builder instance
-
onTouchReleased
A builder method that invokes thesetOnTouchReleasedmethod on the instance being constructed.- Returns:
- builder instance
-
onTouchStationary
A builder method that invokes thesetOnTouchStationarymethod on the instance being constructed.- Returns:
- builder instance
-
onZoom
A builder method that invokes thesetOnZoommethod on the instance being constructed.- Returns:
- builder instance
-
onZoomFinished
A builder method that invokes thesetOnZoomFinishedmethod on the instance being constructed.- Returns:
- builder instance
-
onZoomStarted
A builder method that invokes thesetOnZoomStartedmethod on the instance being constructed.- Returns:
- builder instance
-
opacity
A builder method that invokes thesetOpacitymethod on the instance being constructed.- Returns:
- builder instance
-
opaqueInsets
A builder method that invokes thesetOpaqueInsetsmethod on the instance being constructed.- Returns:
- builder instance
-
padding
A builder method that invokes thesetPaddingmethod on the instance being constructed.- Returns:
- builder instance
-
pickOnBounds
A builder method that invokes thesetPickOnBoundsmethod on the instance being constructed.- Returns:
- builder instance
-
prefColumnCount
A builder method that invokes thesetPrefColumnCountmethod 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
-
promptText
A builder method that invokes thesetPromptTextmethod on the instance being constructed.- Returns:
- builder instance
-
rotate
A builder method that invokes thesetRotatemethod on the instance being constructed.- Returns:
- builder instance
-
rotationAxis
A builder method that invokes thesetRotationAxismethod on the instance being constructed.- Returns:
- builder instance
-
scaleShape
A builder method that invokes thesetScaleShapemethod on the instance being constructed.- Returns:
- builder instance
-
scaleX
A builder method that invokes thesetScaleXmethod on the instance being constructed.- Returns:
- builder instance
-
scaleY
A builder method that invokes thesetScaleYmethod on the instance being constructed.- Returns:
- builder instance
-
scaleZ
A builder method that invokes thesetScaleZmethod on the instance being constructed.- Returns:
- builder instance
-
shape
A builder method that invokes thesetShapemethod on the instance being constructed.- Returns:
- builder instance
-
skin
A builder method that invokes thesetSkinmethod on the instance being constructed.- Returns:
- builder instance
-
snapToPixel
A builder method that invokes thesetSnapToPixelmethod on the instance being constructed.- Returns:
- builder instance
-
style
A builder method that invokes thesetStylemethod on the instance being constructed.- Returns:
- builder instance
-
text
A builder method that invokes thesetTextmethod on the instance being constructed.- Returns:
- builder instance
-
textFormatter
A builder method that invokes thesetTextFormattermethod on the instance being constructed.- Returns:
- builder instance
-
tooltip
A builder method that invokes thesetTooltipmethod on the instance being constructed.- Returns:
- builder instance
-
translateX
A builder method that invokes thesetTranslateXmethod on the instance being constructed.- Returns:
- builder instance
-
translateY
A builder method that invokes thesetTranslateYmethod on the instance being constructed.- Returns:
- builder instance
-
translateZ
A builder method that invokes thesetTranslateZmethod on the instance being constructed.- Returns:
- builder instance
-
userData
A builder method that invokes thesetUserDatamethod on the instance being constructed.- Returns:
- builder instance
-
viewOrder
A builder method that invokes thesetViewOrdermethod on the instance being constructed.- Returns:
- builder instance
-
visible
A builder method that invokes thesetVisiblemethod on the instance being constructed.- Returns:
- builder instance
-
addStyleClass
Calls theaddAllmethod on the ObservableList returned by theTextField#getStyleClass()method.- Returns:
- builder instance
-
addStyleClass
Calls theaddAllmethod on the ObservableList returned by theTextField#getStyleClass()method.- Returns:
- builder instance
-
addStylesheets
Calls theaddAllmethod on the ObservableList returned by theTextField#getStylesheets()method.- Returns:
- builder instance
-
addStylesheets
Calls theaddAllmethod on the ObservableList returned by theTextField#getStylesheets()method.- Returns:
- builder instance
-
addTransforms
Calls theaddAllmethod on the ObservableList returned by theTextField#getTransforms()method.- Returns:
- builder instance
-
addTransforms
Calls theaddAllmethod on the ObservableList returned by theTextField#getTransforms()method.- Returns:
- builder instance
-
addStylesheetsText
Utility setter to add CSS string for this TextField's contents. For example:TextFieldBuilder builder = TextFieldBuilder.create() .addStylesheetsText(".my-label { -fx-text-fill: white; }") .build();- Parameters:
css- CSS string
-
accessibleHelpPropertyApply
Applies a function to theaccessibleHelpPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.accessibleHelpProperty().bind(anotherProperty)) // Use shorthand form .accessibleHelpPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
accessibleRoleDescriptionPropertyApply
Applies a function to theaccessibleRoleDescriptionPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.accessibleRoleDescriptionProperty().bind(anotherProperty)) // Use shorthand form .accessibleRoleDescriptionPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
accessibleRolePropertyApply
Applies a function to theaccessibleRolePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.accessibleRoleProperty().bind(anotherProperty)) // Use shorthand form .accessibleRolePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
accessibleTextPropertyApply
Applies a function to theaccessibleTextPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.accessibleTextProperty().bind(anotherProperty)) // Use shorthand form .accessibleTextPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
alignmentPropertyApply
Applies a function to thealignmentPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.alignmentProperty().bind(anotherProperty)) // Use shorthand form .alignmentPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
anchorPropertyApply
Applies a function to theanchorPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.anchorProperty().bind(anotherProperty)) // Use shorthand form .anchorPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
backgroundPropertyApply
Applies a function to thebackgroundPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.backgroundProperty().bind(anotherProperty)) // Use shorthand form .backgroundPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
blendModePropertyApply
Applies a function to theblendModePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.blendModeProperty().bind(anotherProperty)) // Use shorthand form .blendModePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
borderPropertyApply
Applies a function to theborderPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.borderProperty().bind(anotherProperty)) // Use shorthand form .borderPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
boundsInLocalPropertyApply
Applies a function to theboundsInLocalPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.boundsInLocalProperty().bind(anotherProperty)) // Use shorthand form .boundsInLocalPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
boundsInParentPropertyApply
Applies a function to theboundsInParentPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.boundsInParentProperty().bind(anotherProperty)) // Use shorthand form .boundsInParentPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
cacheHintPropertyApply
Applies a function to thecacheHintPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.cacheHintProperty().bind(anotherProperty)) // Use shorthand form .cacheHintPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
cachePropertyApply
Applies a function to thecachePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.cacheProperty().bind(anotherProperty)) // Use shorthand form .cachePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
cacheShapePropertyApply
Applies a function to thecacheShapePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.cacheShapeProperty().bind(anotherProperty)) // Use shorthand form .cacheShapePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
caretPositionPropertyApply
Applies a function to thecaretPositionPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.caretPositionProperty().bind(anotherProperty)) // Use shorthand form .caretPositionPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
centerShapePropertyApply
Applies a function to thecenterShapePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.centerShapeProperty().bind(anotherProperty)) // Use shorthand form .centerShapePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
clipPropertyApply
Applies a function to theclipPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.clipProperty().bind(anotherProperty)) // Use shorthand form .clipPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
contextMenuPropertyApply
Applies a function to thecontextMenuPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.contextMenuProperty().bind(anotherProperty)) // Use shorthand form .contextMenuPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
cursorPropertyApply
Applies a function to thecursorPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.cursorProperty().bind(anotherProperty)) // Use shorthand form .cursorPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
depthTestPropertyApply
Applies a function to thedepthTestPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.depthTestProperty().bind(anotherProperty)) // Use shorthand form .depthTestPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
disablePropertyApply
Applies a function to thedisablePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.disableProperty().bind(anotherProperty)) // Use shorthand form .disablePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
disabledPropertyApply
Applies a function to thedisabledPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.disabledProperty().bind(anotherProperty)) // Use shorthand form .disabledPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
editablePropertyApply
Applies a function to theeditablePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.editableProperty().bind(anotherProperty)) // Use shorthand form .editablePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
effectPropertyApply
Applies a function to theeffectPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.effectProperty().bind(anotherProperty)) // Use shorthand form .effectPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
effectiveNodeOrientationPropertyApply
public TextFieldBuilder effectiveNodeOrientationPropertyApply(Consumer<ReadOnlyObjectProperty<NodeOrientation>> op) Applies a function to theeffectiveNodeOrientationPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.effectiveNodeOrientationProperty().bind(anotherProperty)) // Use shorthand form .effectiveNodeOrientationPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
eventDispatcherPropertyApply
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
-
focusTraversablePropertyApply
Applies a function to thefocusTraversablePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.focusTraversableProperty().bind(anotherProperty)) // Use shorthand form .focusTraversablePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
focusVisiblePropertyApply
Applies a function to thefocusVisiblePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.focusVisibleProperty().bind(anotherProperty)) // Use shorthand form .focusVisiblePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
focusWithinPropertyApply
Applies a function to thefocusWithinPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.focusWithinProperty().bind(anotherProperty)) // Use shorthand form .focusWithinPropertyApply(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
-
fontPropertyApply
Applies a function to thefontPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.fontProperty().bind(anotherProperty)) // Use shorthand form .fontPropertyApply(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
-
hoverPropertyApply
Applies a function to thehoverPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.hoverProperty().bind(anotherProperty)) // Use shorthand form .hoverPropertyApply(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
-
inputMethodRequestsPropertyApply
public TextFieldBuilder inputMethodRequestsPropertyApply(Consumer<ObjectProperty<InputMethodRequests>> op) Applies a function to theinputMethodRequestsPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.inputMethodRequestsProperty().bind(anotherProperty)) // Use shorthand form .inputMethodRequestsPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
insetsPropertyApply
Applies a function to theinsetsPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.insetsProperty().bind(anotherProperty)) // Use shorthand form .insetsPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
layoutBoundsPropertyApply
Applies a function to thelayoutBoundsPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.layoutBoundsProperty().bind(anotherProperty)) // Use shorthand form .layoutBoundsPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
layoutXPropertyApply
Applies a function to thelayoutXPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.layoutXProperty().bind(anotherProperty)) // Use shorthand form .layoutXPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
layoutYPropertyApply
Applies a function to thelayoutYPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.layoutYProperty().bind(anotherProperty)) // Use shorthand form .layoutYPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
lengthPropertyApply
Applies a function to thelengthPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.lengthProperty().bind(anotherProperty)) // Use shorthand form .lengthPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
localToParentTransformPropertyApply
public TextFieldBuilder localToParentTransformPropertyApply(Consumer<ReadOnlyObjectProperty<Transform>> op) Applies a function to thelocalToParentTransformPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.localToParentTransformProperty().bind(anotherProperty)) // Use shorthand form .localToParentTransformPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
localToSceneTransformPropertyApply
public TextFieldBuilder localToSceneTransformPropertyApply(Consumer<ReadOnlyObjectProperty<Transform>> op) Applies a function to thelocalToSceneTransformPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.localToSceneTransformProperty().bind(anotherProperty)) // Use shorthand form .localToSceneTransformPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
managedPropertyApply
Applies a function to themanagedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.managedProperty().bind(anotherProperty)) // Use shorthand form .managedPropertyApply(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
-
mouseTransparentPropertyApply
Applies a function to themouseTransparentPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.mouseTransparentProperty().bind(anotherProperty)) // Use shorthand form .mouseTransparentPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
needsLayoutPropertyApply
Applies a function to theneedsLayoutPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.needsLayoutProperty().bind(anotherProperty)) // Use shorthand form .needsLayoutPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
nodeOrientationPropertyApply
Applies a function to thenodeOrientationPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.nodeOrientationProperty().bind(anotherProperty)) // Use shorthand form .nodeOrientationPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onActionPropertyApply
public TextFieldBuilder onActionPropertyApply(Consumer<ObjectProperty<EventHandler<ActionEvent>>> op) Applies a function to theonActionPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onActionProperty().bind(anotherProperty)) // Use shorthand form .onActionPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onContextMenuRequestedPropertyApply
public TextFieldBuilder onContextMenuRequestedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ContextMenuEvent>>> op) Applies a function to theonContextMenuRequestedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onContextMenuRequestedProperty().bind(anotherProperty)) // Use shorthand form .onContextMenuRequestedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragDetectedPropertyApply
public TextFieldBuilder onDragDetectedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonDragDetectedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragDetectedProperty().bind(anotherProperty)) // Use shorthand form .onDragDetectedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragDonePropertyApply
public TextFieldBuilder onDragDonePropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDonePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragDoneProperty().bind(anotherProperty)) // Use shorthand form .onDragDonePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragDroppedPropertyApply
public TextFieldBuilder onDragDroppedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDroppedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragDroppedProperty().bind(anotherProperty)) // Use shorthand form .onDragDroppedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragEnteredPropertyApply
public TextFieldBuilder onDragEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragEnteredPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragEnteredProperty().bind(anotherProperty)) // Use shorthand form .onDragEnteredPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragExitedPropertyApply
public TextFieldBuilder onDragExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragExitedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragExitedProperty().bind(anotherProperty)) // Use shorthand form .onDragExitedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragOverPropertyApply
public TextFieldBuilder onDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragOverPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragOverProperty().bind(anotherProperty)) // Use shorthand form .onDragOverPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onInputMethodTextChangedPropertyApply
public TextFieldBuilder onInputMethodTextChangedPropertyApply(Consumer<ObjectProperty<EventHandler<? super InputMethodEvent>>> op) Applies a function to theonInputMethodTextChangedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onInputMethodTextChangedProperty().bind(anotherProperty)) // Use shorthand form .onInputMethodTextChangedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onKeyPressedPropertyApply
public TextFieldBuilder onKeyPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyPressedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onKeyPressedProperty().bind(anotherProperty)) // Use shorthand form .onKeyPressedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onKeyReleasedPropertyApply
public TextFieldBuilder onKeyReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyReleasedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onKeyReleasedProperty().bind(anotherProperty)) // Use shorthand form .onKeyReleasedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onKeyTypedPropertyApply
public TextFieldBuilder onKeyTypedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyTypedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onKeyTypedProperty().bind(anotherProperty)) // Use shorthand form .onKeyTypedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseClickedPropertyApply
public TextFieldBuilder onMouseClickedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseClickedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseClickedProperty().bind(anotherProperty)) // Use shorthand form .onMouseClickedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseDragEnteredPropertyApply
public TextFieldBuilder onMouseDragEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragEnteredPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseDragEnteredProperty().bind(anotherProperty)) // Use shorthand form .onMouseDragEnteredPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseDragExitedPropertyApply
public TextFieldBuilder onMouseDragExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragExitedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseDragExitedProperty().bind(anotherProperty)) // Use shorthand form .onMouseDragExitedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseDragOverPropertyApply
public TextFieldBuilder onMouseDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragOverPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseDragOverProperty().bind(anotherProperty)) // Use shorthand form .onMouseDragOverPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseDragReleasedPropertyApply
public TextFieldBuilder onMouseDragReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragReleasedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseDragReleasedProperty().bind(anotherProperty)) // Use shorthand form .onMouseDragReleasedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseDraggedPropertyApply
public TextFieldBuilder onMouseDraggedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseDraggedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseDraggedProperty().bind(anotherProperty)) // Use shorthand form .onMouseDraggedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseEnteredPropertyApply
public TextFieldBuilder onMouseEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseEnteredPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseEnteredProperty().bind(anotherProperty)) // Use shorthand form .onMouseEnteredPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseExitedPropertyApply
public TextFieldBuilder onMouseExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseExitedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseExitedProperty().bind(anotherProperty)) // Use shorthand form .onMouseExitedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseMovedPropertyApply
public TextFieldBuilder onMouseMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseMovedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseMovedProperty().bind(anotherProperty)) // Use shorthand form .onMouseMovedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMousePressedPropertyApply
public TextFieldBuilder onMousePressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMousePressedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMousePressedProperty().bind(anotherProperty)) // Use shorthand form .onMousePressedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseReleasedPropertyApply
public TextFieldBuilder onMouseReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseReleasedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseReleasedProperty().bind(anotherProperty)) // Use shorthand form .onMouseReleasedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onRotatePropertyApply
public TextFieldBuilder onRotatePropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotatePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onRotateProperty().bind(anotherProperty)) // Use shorthand form .onRotatePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onRotationFinishedPropertyApply
public TextFieldBuilder onRotationFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationFinishedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onRotationFinishedProperty().bind(anotherProperty)) // Use shorthand form .onRotationFinishedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onRotationStartedPropertyApply
public TextFieldBuilder onRotationStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationStartedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onRotationStartedProperty().bind(anotherProperty)) // Use shorthand form .onRotationStartedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onScrollFinishedPropertyApply
public TextFieldBuilder onScrollFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollFinishedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onScrollFinishedProperty().bind(anotherProperty)) // Use shorthand form .onScrollFinishedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onScrollPropertyApply
public TextFieldBuilder onScrollPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onScrollProperty().bind(anotherProperty)) // Use shorthand form .onScrollPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onScrollStartedPropertyApply
public TextFieldBuilder onScrollStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollStartedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onScrollStartedProperty().bind(anotherProperty)) // Use shorthand form .onScrollStartedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onSwipeDownPropertyApply
public TextFieldBuilder onSwipeDownPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeDownPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onSwipeDownProperty().bind(anotherProperty)) // Use shorthand form .onSwipeDownPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onSwipeLeftPropertyApply
public TextFieldBuilder onSwipeLeftPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeLeftPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onSwipeLeftProperty().bind(anotherProperty)) // Use shorthand form .onSwipeLeftPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onSwipeRightPropertyApply
public TextFieldBuilder onSwipeRightPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeRightPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onSwipeRightProperty().bind(anotherProperty)) // Use shorthand form .onSwipeRightPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onSwipeUpPropertyApply
public TextFieldBuilder onSwipeUpPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeUpPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onSwipeUpProperty().bind(anotherProperty)) // Use shorthand form .onSwipeUpPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onTouchMovedPropertyApply
public TextFieldBuilder onTouchMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchMovedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onTouchMovedProperty().bind(anotherProperty)) // Use shorthand form .onTouchMovedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onTouchPressedPropertyApply
public TextFieldBuilder onTouchPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchPressedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onTouchPressedProperty().bind(anotherProperty)) // Use shorthand form .onTouchPressedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onTouchReleasedPropertyApply
public TextFieldBuilder onTouchReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchReleasedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onTouchReleasedProperty().bind(anotherProperty)) // Use shorthand form .onTouchReleasedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onTouchStationaryPropertyApply
public TextFieldBuilder onTouchStationaryPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchStationaryPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onTouchStationaryProperty().bind(anotherProperty)) // Use shorthand form .onTouchStationaryPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onZoomFinishedPropertyApply
public TextFieldBuilder onZoomFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomFinishedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onZoomFinishedProperty().bind(anotherProperty)) // Use shorthand form .onZoomFinishedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onZoomPropertyApply
public TextFieldBuilder onZoomPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onZoomProperty().bind(anotherProperty)) // Use shorthand form .onZoomPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onZoomStartedPropertyApply
public TextFieldBuilder onZoomStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomStartedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onZoomStartedProperty().bind(anotherProperty)) // Use shorthand form .onZoomStartedPropertyApply(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
-
opaqueInsetsPropertyApply
Applies a function to theopaqueInsetsPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.opaqueInsetsProperty().bind(anotherProperty)) // Use shorthand form .opaqueInsetsPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
paddingPropertyApply
Applies a function to thepaddingPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.paddingProperty().bind(anotherProperty)) // Use shorthand form .paddingPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
parentPropertyApply
Applies a function to theparentPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.parentProperty().bind(anotherProperty)) // Use shorthand form .parentPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
pickOnBoundsPropertyApply
Applies a function to thepickOnBoundsPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.pickOnBoundsProperty().bind(anotherProperty)) // Use shorthand form .pickOnBoundsPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
prefColumnCountPropertyApply
Applies a function to theprefColumnCountPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.prefColumnCountProperty().bind(anotherProperty)) // Use shorthand form .prefColumnCountPropertyApply(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
-
pressedPropertyApply
Applies a function to thepressedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.pressedProperty().bind(anotherProperty)) // Use shorthand form .pressedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
promptTextPropertyApply
Applies a function to thepromptTextPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.promptTextProperty().bind(anotherProperty)) // Use shorthand form .promptTextPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
redoablePropertyApply
Applies a function to theredoablePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.redoableProperty().bind(anotherProperty)) // Use shorthand form .redoablePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
rotatePropertyApply
Applies a function to therotatePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.rotateProperty().bind(anotherProperty)) // Use shorthand form .rotatePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
rotationAxisPropertyApply
Applies a function to therotationAxisPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.rotationAxisProperty().bind(anotherProperty)) // Use shorthand form .rotationAxisPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
scaleShapePropertyApply
Applies a function to thescaleShapePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.scaleShapeProperty().bind(anotherProperty)) // Use shorthand form .scaleShapePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
scaleXPropertyApply
Applies a function to thescaleXPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.scaleXProperty().bind(anotherProperty)) // Use shorthand form .scaleXPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
scaleYPropertyApply
Applies a function to thescaleYPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.scaleYProperty().bind(anotherProperty)) // Use shorthand form .scaleYPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
scaleZPropertyApply
Applies a function to thescaleZPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.scaleZProperty().bind(anotherProperty)) // Use shorthand form .scaleZPropertyApply(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
-
selectedTextPropertyApply
Applies a function to theselectedTextPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.selectedTextProperty().bind(anotherProperty)) // Use shorthand form .selectedTextPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
selectionPropertyApply
Applies a function to theselectionPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.selectionProperty().bind(anotherProperty)) // Use shorthand form .selectionPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
shapePropertyApply
Applies a function to theshapePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.shapeProperty().bind(anotherProperty)) // Use shorthand form .shapePropertyApply(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
-
snapToPixelPropertyApply
Applies a function to thesnapToPixelPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.snapToPixelProperty().bind(anotherProperty)) // Use shorthand form .snapToPixelPropertyApply(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
-
textFormatterPropertyApply
Applies a function to thetextFormatterPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.textFormatterProperty().bind(anotherProperty)) // Use shorthand form .textFormatterPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
textPropertyApply
Applies a function to thetextPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.textProperty().bind(anotherProperty)) // Use shorthand form .textPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
tooltipPropertyApply
Applies a function to thetooltipPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.tooltipProperty().bind(anotherProperty)) // Use shorthand form .tooltipPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
translateXPropertyApply
Applies a function to thetranslateXPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.translateXProperty().bind(anotherProperty)) // Use shorthand form .translateXPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
translateYPropertyApply
Applies a function to thetranslateYPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.translateYProperty().bind(anotherProperty)) // Use shorthand form .translateYPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
translateZPropertyApply
Applies a function to thetranslateZPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.translateZProperty().bind(anotherProperty)) // Use shorthand form .translateZPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
undoablePropertyApply
Applies a function to theundoablePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.undoableProperty().bind(anotherProperty)) // Use shorthand form .undoablePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
viewOrderPropertyApply
Applies a function to theviewOrderPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.viewOrderProperty().bind(anotherProperty)) // Use shorthand form .viewOrderPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
visiblePropertyApply
Applies a function to thevisiblePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.visibleProperty().bind(anotherProperty)) // Use shorthand form .visiblePropertyApply(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
-
bottomAnchorInAnchorPane
Invokes theAnchorPane.setBottomAnchor(Node, Double)using a fluent API.Example:
// Original API var btn = new Button(); var root = new AnchorPane(btn); AnchorPane.setBottomAnchor(btn, new Insets(10)); // Fluent API var root = AnchorPaneBuilder.create( ButtonBuilder.create() .bottomAnchorInAnchorPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
leftAnchorInAnchorPane
Invokes theAnchorPane.setLeftAnchor(Node, Double)using a fluent API.Example:
// Original API var btn = new Button(); var root = new AnchorPane(btn); AnchorPane.setLeftAnchor(btn, new Insets(10)); // Fluent API var root = AnchorPaneBuilder.create( ButtonBuilder.create() .leftAnchorInAnchorPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
rightAnchorInAnchorPane
Invokes theAnchorPane.setRightAnchor(Node, Double)using a fluent API.Example:
// Original API var btn = new Button(); var root = new AnchorPane(btn); AnchorPane.setRightAnchor(btn, new Insets(10)); // Fluent API var root = AnchorPaneBuilder.create( ButtonBuilder.create() .rightAnchorInAnchorPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
topAnchorInAnchorPane
Invokes theAnchorPane.setTopAnchor(Node, Double)using a fluent API.Example:
// Original API var btn = new Button(); var root = new AnchorPane(btn); AnchorPane.setTopAnchor(btn, new Insets(10)); // Fluent API var root = AnchorPaneBuilder.create( ButtonBuilder.create() .topAnchorInAnchorPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
alignmentInBorderPane
Invokes theBorderPane.setAlignment(Node, Pos)using a fluent API.Example:
// Original API var btn = new Button(); var root = new BorderPane(btn); BorderPane.setAlignment(btn, new Insets(10)); // Fluent API var root = BorderPaneBuilder.create( ButtonBuilder.create() .alignmentInBorderPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
marginInBorderPane
Invokes theBorderPane.setMargin(Node, Insets)using a fluent API.Example:
// Original API var btn = new Button(); var root = new BorderPane(btn); BorderPane.setMargin(btn, new Insets(10)); // Fluent API var root = BorderPaneBuilder.create( ButtonBuilder.create() .marginInBorderPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
marginInFlowPane
Invokes theFlowPane.setMargin(Node, Insets)using a fluent API.Example:
// Original API var btn = new Button(); var root = new FlowPane(btn); FlowPane.setMargin(btn, new Insets(10)); // Fluent API var root = FlowPaneBuilder.create( ButtonBuilder.create() .marginInFlowPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
columnIndexInGridPane
Invokes theGridPane.setColumnIndex(Node, Integer)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setColumnIndex(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .columnIndexInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
columnSpanInGridPane
Invokes theGridPane.setColumnSpan(Node, Integer)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setColumnSpan(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .columnSpanInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
constraintsInGridPane
Invokes theGridPane.setConstraints(Node, int, int)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setConstraints(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .constraintsInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
constraintsInGridPane
public TextFieldBuilder constraintsInGridPane(int columnIndex, int rowIndex, int columnspan, int rowspan) Invokes theGridPane.setConstraints(Node, int, int, int, int)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setConstraints(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .constraintsInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
constraintsInGridPane
public TextFieldBuilder 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:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setConstraints(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .constraintsInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
constraintsInGridPane
public TextFieldBuilder 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:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setConstraints(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .constraintsInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
constraintsInGridPane
public TextFieldBuilder 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:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setConstraints(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .constraintsInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
fillHeightInGridPane
Invokes theGridPane.setFillHeight(Node, Boolean)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setFillHeight(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .fillHeightInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
fillWidthInGridPane
Invokes theGridPane.setFillWidth(Node, Boolean)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setFillWidth(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .fillWidthInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
hAlignmentInGridPane
Invokes theGridPane.setHalignment(Node, HPos)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setHalignment(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .hAlignmentInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
hGrowInGridPane
Invokes theGridPane.setHgrow(Node, Priority)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setHgrow(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .hGrowInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
marginInGridPane
Invokes theGridPane.setMargin(Node, Insets)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setMargin(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .marginInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
rowIndexInGridPane
Invokes theGridPane.setRowIndex(Node, Integer)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setRowIndex(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .rowIndexInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
rowSpanInGridPane
Invokes theGridPane.setRowSpan(Node, Integer)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setRowSpan(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .rowSpanInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
vAlignmentInGridPane
Invokes theGridPane.setValignment(Node, VPos)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setValignment(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .vAlignmentInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
vGrowInGridPane
Invokes theGridPane.setVgrow(Node, Priority)using a fluent API.Example:
// Original API var btn = new Button(); var root = new GridPane(btn); GridPane.setVgrow(btn, new Insets(10)); // Fluent API var root = GridPaneBuilder.create( ButtonBuilder.create() .vGrowInGridPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
hGrowInHBox
Invokes theHBox.setHgrow(Node, Priority)using a fluent API.Example:
// Original API var btn = new Button(); var root = new HBox(btn); HBox.setHgrow(btn, new Insets(10)); // Fluent API var root = HBoxBuilder.create( ButtonBuilder.create() .hGrowInHBox(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
marginInHBox
Invokes theHBox.setMargin(Node, Insets)using a fluent API.Example:
// Original API var btn = new Button(); var root = new HBox(btn); HBox.setMargin(btn, new Insets(10)); // Fluent API var root = HBoxBuilder.create( ButtonBuilder.create() .marginInHBox(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
alignmentInStackPane
Invokes theStackPane.setAlignment(Node, Pos)using a fluent API.Example:
// Original API var btn = new Button(); var root = new StackPane(btn); StackPane.setAlignment(btn, new Insets(10)); // Fluent API var root = StackPaneBuilder.create( ButtonBuilder.create() .alignmentInStackPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
marginInStackPane
Invokes theStackPane.setMargin(Node, Insets)using a fluent API.Example:
// Original API var btn = new Button(); var root = new StackPane(btn); StackPane.setMargin(btn, new Insets(10)); // Fluent API var root = StackPaneBuilder.create( ButtonBuilder.create() .marginInStackPane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
alignmentInTilePane
Invokes theTilePane.setAlignment(Node, Pos)using a fluent API.Example:
// Original API var btn = new Button(); var root = new TilePane(btn); TilePane.setAlignment(btn, new Insets(10)); // Fluent API var root = TilePaneBuilder.create( ButtonBuilder.create() .alignmentInTilePane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
marginInTilePane
Invokes theTilePane.setMargin(Node, Insets)using a fluent API.Example:
// Original API var btn = new Button(); var root = new TilePane(btn); TilePane.setMargin(btn, new Insets(10)); // Fluent API var root = TilePaneBuilder.create( ButtonBuilder.create() .marginInTilePane(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
marginInVBox
Invokes theVBox.setMargin(Node, Insets)using a fluent API.Example:
// Original API var btn = new Button(); var root = new VBox(btn); VBox.setMargin(btn, new Insets(10)); // Fluent API var root = VBoxBuilder.create( ButtonBuilder.create() .marginInVBox(new Insets(10)) .build()) .build();- Returns:
- builder instance
-
vGrowInVBox
Invokes theVBox.setVgrow(Node, Priority)using a fluent API.Example:
// Original API var btn = new Button(); var root = new VBox(btn); VBox.setVgrow(btn, new Insets(10)); // Fluent API var root = VBoxBuilder.create( ButtonBuilder.create() .vGrowInVBox(new Insets(10)) .build()) .build();- Returns:
- builder instance
-