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

public class MenuButtonBuilder extends Object
The MenuButtonBuilder class constructs instances of the MenuButton 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 MenuButton constructor and returns an instance of the MenuButtonBuilder.

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

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

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

    • create

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

      public static MenuButtonBuilder create(String text)
      Accepts the constructor arguments of MenuButton(String) and returns an instance of MenuButtonBuilder.
      Returns:
      an instance of the MenuButtonBuilder.
    • create

      public static MenuButtonBuilder create(String text, Node graphic)
      Accepts the constructor arguments of MenuButton(String, Node) and returns an instance of MenuButtonBuilder.
      Returns:
      an instance of the MenuButtonBuilder.
    • create

      public static MenuButtonBuilder create(String text, Node graphic, MenuItem... items)
      Accepts the constructor arguments of MenuButton(String, Node, MenuItem...) and returns an instance of MenuButtonBuilder.
      Returns:
      an instance of the MenuButtonBuilder.
    • build

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

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

      Returns:
      new instance of the MenuButton class
    • apply

      public MenuButtonBuilder apply(Consumer<MenuButton> func)
      Applies a function to the MenuButton instance being constructed. Most operations on the instance can be performed using this method.

      Example usage:

      apply(menuButton -> menuButton.setId("Main" + menuButton.getTypeSelector()))
      
      Returns:
      builder instance
    • accessibleHelp

      public MenuButtonBuilder accessibleHelp(String value)
      A builder method that invokes the setAccessibleHelp method on the instance being constructed.
      Returns:
      builder instance
    • accessibleRole

      public MenuButtonBuilder accessibleRole(AccessibleRole value)
      A builder method that invokes the setAccessibleRole method on the instance being constructed.
      Returns:
      builder instance
    • accessibleRoleDescription

      public MenuButtonBuilder accessibleRoleDescription(String value)
      A builder method that invokes the setAccessibleRoleDescription method on the instance being constructed.
      Returns:
      builder instance
    • accessibleText

      public MenuButtonBuilder accessibleText(String value)
      A builder method that invokes the setAccessibleText method on the instance being constructed.
      Returns:
      builder instance
    • alignment

      public MenuButtonBuilder alignment(Pos value)
      A builder method that invokes the setAlignment method on the instance being constructed.
      Returns:
      builder instance
    • background

      public MenuButtonBuilder background(Background value)
      A builder method that invokes the setBackground method on the instance being constructed.
      Returns:
      builder instance
    • blendMode

      public MenuButtonBuilder blendMode(BlendMode value)
      A builder method that invokes the setBlendMode method on the instance being constructed.
      Returns:
      builder instance
    • border

      public MenuButtonBuilder border(Border value)
      A builder method that invokes the setBorder method on the instance being constructed.
      Returns:
      builder instance
    • cache

      public MenuButtonBuilder cache(boolean value)
      A builder method that invokes the setCache method on the instance being constructed.
      Returns:
      builder instance
    • cacheHint

      public MenuButtonBuilder cacheHint(CacheHint value)
      A builder method that invokes the setCacheHint method on the instance being constructed.
      Returns:
      builder instance
    • cacheShape

      public MenuButtonBuilder cacheShape(boolean value)
      A builder method that invokes the setCacheShape method on the instance being constructed.
      Returns:
      builder instance
    • centerShape

      public MenuButtonBuilder centerShape(boolean value)
      A builder method that invokes the setCenterShape method on the instance being constructed.
      Returns:
      builder instance
    • clip

      public MenuButtonBuilder clip(Node value)
      A builder method that invokes the setClip method on the instance being constructed.
      Returns:
      builder instance
    • contentDisplay

      public MenuButtonBuilder contentDisplay(ContentDisplay value)
      A builder method that invokes the setContentDisplay method on the instance being constructed.
      Returns:
      builder instance
    • contextMenu

      public MenuButtonBuilder contextMenu(ContextMenu value)
      A builder method that invokes the setContextMenu method on the instance being constructed.
      Returns:
      builder instance
    • cursor

      public MenuButtonBuilder cursor(Cursor value)
      A builder method that invokes the setCursor method on the instance being constructed.
      Returns:
      builder instance
    • depthTest

      public MenuButtonBuilder depthTest(DepthTest value)
      A builder method that invokes the setDepthTest method on the instance being constructed.
      Returns:
      builder instance
    • disable

      public MenuButtonBuilder disable(boolean value)
      A builder method that invokes the setDisable method on the instance being constructed.
      Returns:
      builder instance
    • effect

      public MenuButtonBuilder effect(Effect value)
      A builder method that invokes the setEffect method on the instance being constructed.
      Returns:
      builder instance
    • ellipsisString

      public MenuButtonBuilder ellipsisString(String value)
      A builder method that invokes the setEllipsisString method on the instance being constructed.
      Returns:
      builder instance
    • eventDispatcher

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

      public MenuButtonBuilder focusTraversable(boolean value)
      A builder method that invokes the setFocusTraversable method on the instance being constructed.
      Returns:
      builder instance
    • font

      public MenuButtonBuilder font(Font value)
      A builder method that invokes the setFont method on the instance being constructed.
      Returns:
      builder instance
    • graphic

      public MenuButtonBuilder graphic(Node value)
      A builder method that invokes the setGraphic method on the instance being constructed.
      Returns:
      builder instance
    • graphicTextGap

      public MenuButtonBuilder graphicTextGap(double value)
      A builder method that invokes the setGraphicTextGap method on the instance being constructed.
      Returns:
      builder instance
    • id

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

      public MenuButtonBuilder inputMethodRequests(InputMethodRequests value)
      A builder method that invokes the setInputMethodRequests method on the instance being constructed.
      Returns:
      builder instance
    • layoutX

      public MenuButtonBuilder layoutX(double value)
      A builder method that invokes the setLayoutX method on the instance being constructed.
      Returns:
      builder instance
    • layoutY

      public MenuButtonBuilder layoutY(double value)
      A builder method that invokes the setLayoutY method on the instance being constructed.
      Returns:
      builder instance
    • lineSpacing

      public MenuButtonBuilder lineSpacing(double value)
      A builder method that invokes the setLineSpacing method on the instance being constructed.
      Returns:
      builder instance
    • managed

      public MenuButtonBuilder managed(boolean value)
      A builder method that invokes the setManaged method on the instance being constructed.
      Returns:
      builder instance
    • maxHeight

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

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

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

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

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

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

      public MenuButtonBuilder mnemonicParsing(boolean value)
      A builder method that invokes the setMnemonicParsing method on the instance being constructed.
      Returns:
      builder instance
    • mouseTransparent

      public MenuButtonBuilder mouseTransparent(boolean value)
      A builder method that invokes the setMouseTransparent method on the instance being constructed.
      Returns:
      builder instance
    • nodeOrientation

      public MenuButtonBuilder nodeOrientation(NodeOrientation orientation)
      A builder method that invokes the setNodeOrientation method on the instance being constructed.
      Returns:
      builder instance
    • onAction

      public MenuButtonBuilder onAction(EventHandler<ActionEvent> value)
      A builder method that invokes the setOnAction method on the instance being constructed.
      Returns:
      builder instance
    • onContextMenuRequested

      public MenuButtonBuilder onContextMenuRequested(EventHandler<? super ContextMenuEvent> value)
      A builder method that invokes the setOnContextMenuRequested method on the instance being constructed.
      Returns:
      builder instance
    • onDragDetected

      public MenuButtonBuilder onDragDetected(EventHandler<? super MouseEvent> value)
      A builder method that invokes the setOnDragDetected method on the instance being constructed.
      Returns:
      builder instance
    • onDragDone

      public MenuButtonBuilder onDragDone(EventHandler<? super DragEvent> value)
      A builder method that invokes the setOnDragDone method on the instance being constructed.
      Returns:
      builder instance
    • onDragDropped

      public MenuButtonBuilder onDragDropped(EventHandler<? super DragEvent> value)
      A builder method that invokes the setOnDragDropped method on the instance being constructed.
      Returns:
      builder instance
    • onDragEntered

      public MenuButtonBuilder onDragEntered(EventHandler<? super DragEvent> value)
      A builder method that invokes the setOnDragEntered method on the instance being constructed.
      Returns:
      builder instance
    • onDragExited

      public MenuButtonBuilder onDragExited(EventHandler<? super DragEvent> value)
      A builder method that invokes the setOnDragExited method on the instance being constructed.
      Returns:
      builder instance
    • onDragOver

      public MenuButtonBuilder onDragOver(EventHandler<? super DragEvent> value)
      A builder method that invokes the setOnDragOver method on the instance being constructed.
      Returns:
      builder instance
    • onHidden

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

      public MenuButtonBuilder onHiding(EventHandler<Event> value)
      A builder method that invokes the setOnHiding method on the instance being constructed.
      Returns:
      builder instance
    • onInputMethodTextChanged

      public MenuButtonBuilder onInputMethodTextChanged(EventHandler<? super InputMethodEvent> value)
      A builder method that invokes the setOnInputMethodTextChanged method on the instance being constructed.
      Returns:
      builder instance
    • onKeyPressed

      public MenuButtonBuilder onKeyPressed(EventHandler<? super KeyEvent> value)
      A builder method that invokes the setOnKeyPressed method on the instance being constructed.
      Returns:
      builder instance
    • onKeyReleased

      public MenuButtonBuilder onKeyReleased(EventHandler<? super KeyEvent> value)
      A builder method that invokes the setOnKeyReleased method on the instance being constructed.
      Returns:
      builder instance
    • onKeyTyped

      public MenuButtonBuilder onKeyTyped(EventHandler<? super KeyEvent> value)
      A builder method that invokes the setOnKeyTyped method on the instance being constructed.
      Returns:
      builder instance
    • onMouseClicked

      public MenuButtonBuilder onMouseClicked(EventHandler<? super MouseEvent> value)
      A builder method that invokes the setOnMouseClicked method on the instance being constructed.
      Returns:
      builder instance
    • onMouseDragEntered

      public MenuButtonBuilder onMouseDragEntered(EventHandler<? super MouseDragEvent> value)
      A builder method that invokes the setOnMouseDragEntered method on the instance being constructed.
      Returns:
      builder instance
    • onMouseDragExited

      public MenuButtonBuilder onMouseDragExited(EventHandler<? super MouseDragEvent> value)
      A builder method that invokes the setOnMouseDragExited method on the instance being constructed.
      Returns:
      builder instance
    • onMouseDragOver

      public MenuButtonBuilder onMouseDragOver(EventHandler<? super MouseDragEvent> value)
      A builder method that invokes the setOnMouseDragOver method on the instance being constructed.
      Returns:
      builder instance
    • onMouseDragReleased

      public MenuButtonBuilder onMouseDragReleased(EventHandler<? super MouseDragEvent> value)
      A builder method that invokes the setOnMouseDragReleased method on the instance being constructed.
      Returns:
      builder instance
    • onMouseDragged

      public MenuButtonBuilder onMouseDragged(EventHandler<? super MouseEvent> value)
      A builder method that invokes the setOnMouseDragged method on the instance being constructed.
      Returns:
      builder instance
    • onMouseEntered

      public MenuButtonBuilder onMouseEntered(EventHandler<? super MouseEvent> value)
      A builder method that invokes the setOnMouseEntered method on the instance being constructed.
      Returns:
      builder instance
    • onMouseExited

      public MenuButtonBuilder onMouseExited(EventHandler<? super MouseEvent> value)
      A builder method that invokes the setOnMouseExited method on the instance being constructed.
      Returns:
      builder instance
    • onMouseMoved

      public MenuButtonBuilder onMouseMoved(EventHandler<? super MouseEvent> value)
      A builder method that invokes the setOnMouseMoved method on the instance being constructed.
      Returns:
      builder instance
    • onMousePressed

      public MenuButtonBuilder onMousePressed(EventHandler<? super MouseEvent> value)
      A builder method that invokes the setOnMousePressed method on the instance being constructed.
      Returns:
      builder instance
    • onMouseReleased

      public MenuButtonBuilder onMouseReleased(EventHandler<? super MouseEvent> value)
      A builder method that invokes the setOnMouseReleased method on the instance being constructed.
      Returns:
      builder instance
    • onRotate

      public MenuButtonBuilder onRotate(EventHandler<? super RotateEvent> value)
      A builder method that invokes the setOnRotate method on the instance being constructed.
      Returns:
      builder instance
    • onRotationFinished

      public MenuButtonBuilder onRotationFinished(EventHandler<? super RotateEvent> value)
      A builder method that invokes the setOnRotationFinished method on the instance being constructed.
      Returns:
      builder instance
    • onRotationStarted

      public MenuButtonBuilder onRotationStarted(EventHandler<? super RotateEvent> value)
      A builder method that invokes the setOnRotationStarted method on the instance being constructed.
      Returns:
      builder instance
    • onScroll

      public MenuButtonBuilder onScroll(EventHandler<? super ScrollEvent> value)
      A builder method that invokes the setOnScroll method on the instance being constructed.
      Returns:
      builder instance
    • onScrollFinished

      public MenuButtonBuilder onScrollFinished(EventHandler<? super ScrollEvent> value)
      A builder method that invokes the setOnScrollFinished method on the instance being constructed.
      Returns:
      builder instance
    • onScrollStarted

      public MenuButtonBuilder onScrollStarted(EventHandler<? super ScrollEvent> value)
      A builder method that invokes the setOnScrollStarted method on the instance being constructed.
      Returns:
      builder instance
    • onShowing

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

      public MenuButtonBuilder onShown(EventHandler<Event> value)
      A builder method that invokes the setOnShown method on the instance being constructed.
      Returns:
      builder instance
    • onSwipeDown

      public MenuButtonBuilder onSwipeDown(EventHandler<? super SwipeEvent> value)
      A builder method that invokes the setOnSwipeDown method on the instance being constructed.
      Returns:
      builder instance
    • onSwipeLeft

      public MenuButtonBuilder onSwipeLeft(EventHandler<? super SwipeEvent> value)
      A builder method that invokes the setOnSwipeLeft method on the instance being constructed.
      Returns:
      builder instance
    • onSwipeRight

      public MenuButtonBuilder onSwipeRight(EventHandler<? super SwipeEvent> value)
      A builder method that invokes the setOnSwipeRight method on the instance being constructed.
      Returns:
      builder instance
    • onSwipeUp

      public MenuButtonBuilder onSwipeUp(EventHandler<? super SwipeEvent> value)
      A builder method that invokes the setOnSwipeUp method on the instance being constructed.
      Returns:
      builder instance
    • onTouchMoved

      public MenuButtonBuilder onTouchMoved(EventHandler<? super TouchEvent> value)
      A builder method that invokes the setOnTouchMoved method on the instance being constructed.
      Returns:
      builder instance
    • onTouchPressed

      public MenuButtonBuilder onTouchPressed(EventHandler<? super TouchEvent> value)
      A builder method that invokes the setOnTouchPressed method on the instance being constructed.
      Returns:
      builder instance
    • onTouchReleased

      public MenuButtonBuilder onTouchReleased(EventHandler<? super TouchEvent> value)
      A builder method that invokes the setOnTouchReleased method on the instance being constructed.
      Returns:
      builder instance
    • onTouchStationary

      public MenuButtonBuilder onTouchStationary(EventHandler<? super TouchEvent> value)
      A builder method that invokes the setOnTouchStationary method on the instance being constructed.
      Returns:
      builder instance
    • onZoom

      public MenuButtonBuilder onZoom(EventHandler<? super ZoomEvent> value)
      A builder method that invokes the setOnZoom method on the instance being constructed.
      Returns:
      builder instance
    • onZoomFinished

      public MenuButtonBuilder onZoomFinished(EventHandler<? super ZoomEvent> value)
      A builder method that invokes the setOnZoomFinished method on the instance being constructed.
      Returns:
      builder instance
    • onZoomStarted

      public MenuButtonBuilder onZoomStarted(EventHandler<? super ZoomEvent> value)
      A builder method that invokes the setOnZoomStarted method on the instance being constructed.
      Returns:
      builder instance
    • opacity

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

      public MenuButtonBuilder opaqueInsets(Insets value)
      A builder method that invokes the setOpaqueInsets method on the instance being constructed.
      Returns:
      builder instance
    • padding

      public MenuButtonBuilder padding(Insets value)
      A builder method that invokes the setPadding method on the instance being constructed.
      Returns:
      builder instance
    • pickOnBounds

      public MenuButtonBuilder pickOnBounds(boolean value)
      A builder method that invokes the setPickOnBounds method on the instance being constructed.
      Returns:
      builder instance
    • popupSide

      public MenuButtonBuilder popupSide(Side value)
      A builder method that invokes the setPopupSide method on the instance being constructed.
      Returns:
      builder instance
    • prefHeight

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

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

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

      public MenuButtonBuilder rotate(double value)
      A builder method that invokes the setRotate method on the instance being constructed.
      Returns:
      builder instance
    • rotationAxis

      public MenuButtonBuilder rotationAxis(Point3D value)
      A builder method that invokes the setRotationAxis method on the instance being constructed.
      Returns:
      builder instance
    • scaleShape

      public MenuButtonBuilder scaleShape(boolean value)
      A builder method that invokes the setScaleShape method on the instance being constructed.
      Returns:
      builder instance
    • scaleX

      public MenuButtonBuilder scaleX(double value)
      A builder method that invokes the setScaleX method on the instance being constructed.
      Returns:
      builder instance
    • scaleY

      public MenuButtonBuilder scaleY(double value)
      A builder method that invokes the setScaleY method on the instance being constructed.
      Returns:
      builder instance
    • scaleZ

      public MenuButtonBuilder scaleZ(double value)
      A builder method that invokes the setScaleZ method on the instance being constructed.
      Returns:
      builder instance
    • shape

      public MenuButtonBuilder shape(Shape value)
      A builder method that invokes the setShape method on the instance being constructed.
      Returns:
      builder instance
    • skin

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

      public MenuButtonBuilder snapToPixel(boolean value)
      A builder method that invokes the setSnapToPixel method on the instance being constructed.
      Returns:
      builder instance
    • style

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

      public MenuButtonBuilder text(String value)
      A builder method that invokes the setText method on the instance being constructed.
      Returns:
      builder instance
    • textAlignment

      public MenuButtonBuilder textAlignment(TextAlignment value)
      A builder method that invokes the setTextAlignment method on the instance being constructed.
      Returns:
      builder instance
    • textFill

      public MenuButtonBuilder textFill(Paint value)
      A builder method that invokes the setTextFill method on the instance being constructed.
      Returns:
      builder instance
    • textOverrun

      public MenuButtonBuilder textOverrun(OverrunStyle value)
      A builder method that invokes the setTextOverrun method on the instance being constructed.
      Returns:
      builder instance
    • tooltip

      public MenuButtonBuilder tooltip(Tooltip value)
      A builder method that invokes the setTooltip method on the instance being constructed.
      Returns:
      builder instance
    • translateX

      public MenuButtonBuilder translateX(double value)
      A builder method that invokes the setTranslateX method on the instance being constructed.
      Returns:
      builder instance
    • translateY

      public MenuButtonBuilder translateY(double value)
      A builder method that invokes the setTranslateY method on the instance being constructed.
      Returns:
      builder instance
    • translateZ

      public MenuButtonBuilder translateZ(double value)
      A builder method that invokes the setTranslateZ method on the instance being constructed.
      Returns:
      builder instance
    • underline

      public MenuButtonBuilder underline(boolean value)
      A builder method that invokes the setUnderline method on the instance being constructed.
      Returns:
      builder instance
    • userData

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

      public MenuButtonBuilder viewOrder(double value)
      A builder method that invokes the setViewOrder method on the instance being constructed.
      Returns:
      builder instance
    • visible

      public MenuButtonBuilder visible(boolean value)
      A builder method that invokes the setVisible method on the instance being constructed.
      Returns:
      builder instance
    • wrapText

      public MenuButtonBuilder wrapText(boolean value)
      A builder method that invokes the setWrapText method on the instance being constructed.
      Returns:
      builder instance
    • addItems

      public final MenuButtonBuilder addItems(MenuItem... elements)
      Calls the addAll method on the ObservableList returned by the MenuButton#getItems() method.
      Returns:
      builder instance
    • addItems

      public final MenuButtonBuilder addItems(Collection<? extends MenuItem> col)
      Calls the addAll method on the ObservableList returned by the MenuButton#getItems() method.
      Returns:
      builder instance
    • withItems

      public static MenuButtonBuilder withItems(MenuItem... elements)
      Creates an instance of the builder, then calls the addAll method on the ObservableList returned by the MenuButton#getItems() method.
      Returns:
      builder instance
    • withItems

      public static MenuButtonBuilder withItems(Collection<? extends MenuItem> col)
      Creates an instance of the builder, then calls the addAll method on the ObservableList returned by the MenuButton#getItems() method.
      Returns:
      builder instance
    • addStyleClass

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

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

      public final MenuButtonBuilder addStylesheets(String... elements)
      Calls the addAll method on the ObservableList returned by the MenuButton#getStylesheets() method.
      Returns:
      builder instance
    • addStylesheets

      public final MenuButtonBuilder addStylesheets(Collection<? extends String> col)
      Calls the addAll method on the ObservableList returned by the MenuButton#getStylesheets() method.
      Returns:
      builder instance
    • addTransforms

      public final MenuButtonBuilder addTransforms(Transform... elements)
      Calls the addAll method on the ObservableList returned by the MenuButton#getTransforms() method.
      Returns:
      builder instance
    • addTransforms

      public final MenuButtonBuilder addTransforms(Collection<? extends Transform> col)
      Calls the addAll method on the ObservableList returned by the MenuButton#getTransforms() method.
      Returns:
      builder instance
    • addStylesheetsText

      public MenuButtonBuilder addStylesheetsText(String css)
      Utility setter to add CSS string for this MenuButton's contents. For example:
      MenuButtonBuilder builder = MenuButtonBuilder.create()
               .addStylesheetsText(".my-label { -fx-text-fill: white; }")
               .build();
      
      Parameters:
      css - CSS string
    • bottomAnchorInAnchorPane

      public MenuButtonBuilder bottomAnchorInAnchorPane(Double value)
      Invokes the AnchorPane.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

      public MenuButtonBuilder leftAnchorInAnchorPane(Double value)
      Invokes the AnchorPane.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

      public MenuButtonBuilder rightAnchorInAnchorPane(Double value)
      Invokes the AnchorPane.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

      public MenuButtonBuilder topAnchorInAnchorPane(Double value)
      Invokes the AnchorPane.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

      public MenuButtonBuilder alignmentInBorderPane(Pos value)
      Invokes the BorderPane.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

      public MenuButtonBuilder marginInBorderPane(Insets value)
      Invokes the BorderPane.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

      public MenuButtonBuilder marginInFlowPane(Insets value)
      Invokes the FlowPane.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

      public MenuButtonBuilder columnIndexInGridPane(Integer value)
      Invokes the GridPane.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

      public MenuButtonBuilder columnSpanInGridPane(Integer value)
      Invokes the GridPane.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

      public MenuButtonBuilder constraintsInGridPane(int columnIndex, int rowIndex)
      Invokes the GridPane.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 MenuButtonBuilder constraintsInGridPane(int columnIndex, int rowIndex, int columnspan, int rowspan)
      Invokes the GridPane.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 MenuButtonBuilder constraintsInGridPane(int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment)
      Invokes the GridPane.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 MenuButtonBuilder constraintsInGridPane(int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow)
      Invokes the GridPane.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 MenuButtonBuilder constraintsInGridPane(int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow, Insets margin)
      Invokes the GridPane.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

      public MenuButtonBuilder fillHeightInGridPane(Boolean value)
      Invokes the GridPane.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

      public MenuButtonBuilder fillWidthInGridPane(Boolean value)
      Invokes the GridPane.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

      public MenuButtonBuilder hAlignmentInGridPane(HPos value)
      Invokes the GridPane.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

      public MenuButtonBuilder hGrowInGridPane(Priority value)
      Invokes the GridPane.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

      public MenuButtonBuilder marginInGridPane(Insets value)
      Invokes the GridPane.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

      public MenuButtonBuilder rowIndexInGridPane(Integer value)
      Invokes the GridPane.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

      public MenuButtonBuilder rowSpanInGridPane(Integer value)
      Invokes the GridPane.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

      public MenuButtonBuilder vAlignmentInGridPane(VPos value)
      Invokes the GridPane.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

      public MenuButtonBuilder vGrowInGridPane(Priority value)
      Invokes the GridPane.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

      public MenuButtonBuilder hGrowInHBox(Priority value)
      Invokes the HBox.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

      public MenuButtonBuilder marginInHBox(Insets value)
      Invokes the HBox.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

      public MenuButtonBuilder alignmentInStackPane(Pos value)
      Invokes the StackPane.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

      public MenuButtonBuilder marginInStackPane(Insets value)
      Invokes the StackPane.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

      public MenuButtonBuilder alignmentInTilePane(Pos value)
      Invokes the TilePane.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

      public MenuButtonBuilder marginInTilePane(Insets value)
      Invokes the TilePane.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

      public MenuButtonBuilder marginInVBox(Insets value)
      Invokes the VBox.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

      public MenuButtonBuilder vGrowInVBox(Priority value)
      Invokes the VBox.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
    • accessibleHelpPropertyApply

      public MenuButtonBuilder accessibleHelpPropertyApply(Consumer<ObjectProperty<String>> op)
      Applies a function to the accessibleHelpProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.accessibleHelpProperty().bind(anotherProperty))
      
      // Use shorthand form
      .accessibleHelpPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • accessibleRoleDescriptionPropertyApply

      public MenuButtonBuilder accessibleRoleDescriptionPropertyApply(Consumer<ObjectProperty<String>> op)
      Applies a function to the accessibleRoleDescriptionProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.accessibleRoleDescriptionProperty().bind(anotherProperty))
      
      // Use shorthand form
      .accessibleRoleDescriptionPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • accessibleRolePropertyApply

      public MenuButtonBuilder accessibleRolePropertyApply(Consumer<ObjectProperty<AccessibleRole>> op)
      Applies a function to the accessibleRoleProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.accessibleRoleProperty().bind(anotherProperty))
      
      // Use shorthand form
      .accessibleRolePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • accessibleTextPropertyApply

      public MenuButtonBuilder accessibleTextPropertyApply(Consumer<ObjectProperty<String>> op)
      Applies a function to the accessibleTextProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.accessibleTextProperty().bind(anotherProperty))
      
      // Use shorthand form
      .accessibleTextPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • alignmentPropertyApply

      public MenuButtonBuilder alignmentPropertyApply(Consumer<ObjectProperty<Pos>> op)
      Applies a function to the alignmentProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.alignmentProperty().bind(anotherProperty))
      
      // Use shorthand form
      .alignmentPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • armedPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.armedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .armedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • backgroundPropertyApply

      public MenuButtonBuilder backgroundPropertyApply(Consumer<ObjectProperty<Background>> op)
      Applies a function to the backgroundProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.backgroundProperty().bind(anotherProperty))
      
      // Use shorthand form
      .backgroundPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • blendModePropertyApply

      public MenuButtonBuilder blendModePropertyApply(Consumer<ObjectProperty<BlendMode>> op)
      Applies a function to the blendModeProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.blendModeProperty().bind(anotherProperty))
      
      // Use shorthand form
      .blendModePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • borderPropertyApply

      public MenuButtonBuilder borderPropertyApply(Consumer<ObjectProperty<Border>> op)
      Applies a function to the borderProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.borderProperty().bind(anotherProperty))
      
      // Use shorthand form
      .borderPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • boundsInLocalPropertyApply

      public MenuButtonBuilder boundsInLocalPropertyApply(Consumer<ReadOnlyObjectProperty<Bounds>> op)
      Applies a function to the boundsInLocalProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.boundsInLocalProperty().bind(anotherProperty))
      
      // Use shorthand form
      .boundsInLocalPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • boundsInParentPropertyApply

      public MenuButtonBuilder boundsInParentPropertyApply(Consumer<ReadOnlyObjectProperty<Bounds>> op)
      Applies a function to the boundsInParentProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.boundsInParentProperty().bind(anotherProperty))
      
      // Use shorthand form
      .boundsInParentPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • cacheHintPropertyApply

      public MenuButtonBuilder cacheHintPropertyApply(Consumer<ObjectProperty<CacheHint>> op)
      Applies a function to the cacheHintProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.cacheHintProperty().bind(anotherProperty))
      
      // Use shorthand form
      .cacheHintPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • cachePropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.cacheProperty().bind(anotherProperty))
      
      // Use shorthand form
      .cachePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • cacheShapePropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.cacheShapeProperty().bind(anotherProperty))
      
      // Use shorthand form
      .cacheShapePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • centerShapePropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.centerShapeProperty().bind(anotherProperty))
      
      // Use shorthand form
      .centerShapePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • clipPropertyApply

      public MenuButtonBuilder clipPropertyApply(Consumer<ObjectProperty<Node>> op)
      Applies a function to the clipProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.clipProperty().bind(anotherProperty))
      
      // Use shorthand form
      .clipPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • contentDisplayPropertyApply

      public MenuButtonBuilder contentDisplayPropertyApply(Consumer<ObjectProperty<ContentDisplay>> op)
      Applies a function to the contentDisplayProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.contentDisplayProperty().bind(anotherProperty))
      
      // Use shorthand form
      .contentDisplayPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • contextMenuPropertyApply

      public MenuButtonBuilder contextMenuPropertyApply(Consumer<ObjectProperty<ContextMenu>> op)
      Applies a function to the contextMenuProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.contextMenuProperty().bind(anotherProperty))
      
      // Use shorthand form
      .contextMenuPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • cursorPropertyApply

      public MenuButtonBuilder cursorPropertyApply(Consumer<ObjectProperty<Cursor>> op)
      Applies a function to the cursorProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.cursorProperty().bind(anotherProperty))
      
      // Use shorthand form
      .cursorPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • depthTestPropertyApply

      public MenuButtonBuilder depthTestPropertyApply(Consumer<ObjectProperty<DepthTest>> op)
      Applies a function to the depthTestProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.depthTestProperty().bind(anotherProperty))
      
      // Use shorthand form
      .depthTestPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • disablePropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.disableProperty().bind(anotherProperty))
      
      // Use shorthand form
      .disablePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • disabledPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.disabledProperty().bind(anotherProperty))
      
      // Use shorthand form
      .disabledPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • effectPropertyApply

      public MenuButtonBuilder effectPropertyApply(Consumer<ObjectProperty<Effect>> op)
      Applies a function to the effectProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.effectProperty().bind(anotherProperty))
      
      // Use shorthand form
      .effectPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • effectiveNodeOrientationPropertyApply

      public MenuButtonBuilder effectiveNodeOrientationPropertyApply(Consumer<ReadOnlyObjectProperty<NodeOrientation>> op)
      Applies a function to the effectiveNodeOrientationProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.effectiveNodeOrientationProperty().bind(anotherProperty))
      
      // Use shorthand form
      .effectiveNodeOrientationPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • ellipsisStringPropertyApply

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

      public MenuButtonBuilder fontPropertyApply(Consumer<ObjectProperty<Font>> op)
      Applies a function to the fontProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.fontProperty().bind(anotherProperty))
      
      // Use shorthand form
      .fontPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • graphicPropertyApply

      public MenuButtonBuilder graphicPropertyApply(Consumer<ObjectProperty<Node>> op)
      Applies a function to the graphicProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.graphicProperty().bind(anotherProperty))
      
      // Use shorthand form
      .graphicPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • graphicTextGapPropertyApply

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

      public MenuButtonBuilder inputMethodRequestsPropertyApply(Consumer<ObjectProperty<InputMethodRequests>> op)
      Applies a function to the inputMethodRequestsProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.inputMethodRequestsProperty().bind(anotherProperty))
      
      // Use shorthand form
      .inputMethodRequestsPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • insetsPropertyApply

      public MenuButtonBuilder insetsPropertyApply(Consumer<ReadOnlyObjectProperty<Insets>> op)
      Applies a function to the insetsProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.insetsProperty().bind(anotherProperty))
      
      // Use shorthand form
      .insetsPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • labelPaddingPropertyApply

      public MenuButtonBuilder labelPaddingPropertyApply(Consumer<ReadOnlyObjectProperty<Insets>> op)
      Applies a function to the labelPaddingProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.labelPaddingProperty().bind(anotherProperty))
      
      // Use shorthand form
      .labelPaddingPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • layoutBoundsPropertyApply

      public MenuButtonBuilder layoutBoundsPropertyApply(Consumer<ReadOnlyObjectProperty<Bounds>> op)
      Applies a function to the layoutBoundsProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.layoutBoundsProperty().bind(anotherProperty))
      
      // Use shorthand form
      .layoutBoundsPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • layoutXPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.layoutXProperty().bind(anotherProperty))
      
      // Use shorthand form
      .layoutXPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • layoutYPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.layoutYProperty().bind(anotherProperty))
      
      // Use shorthand form
      .layoutYPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • lineSpacingPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.lineSpacingProperty().bind(anotherProperty))
      
      // Use shorthand form
      .lineSpacingPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • localToParentTransformPropertyApply

      public MenuButtonBuilder localToParentTransformPropertyApply(Consumer<ReadOnlyObjectProperty<Transform>> op)
      Applies a function to the localToParentTransformProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.localToParentTransformProperty().bind(anotherProperty))
      
      // Use shorthand form
      .localToParentTransformPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • localToSceneTransformPropertyApply

      public MenuButtonBuilder localToSceneTransformPropertyApply(Consumer<ReadOnlyObjectProperty<Transform>> op)
      Applies a function to the localToSceneTransformProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.localToSceneTransformProperty().bind(anotherProperty))
      
      // Use shorthand form
      .localToSceneTransformPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • managedPropertyApply

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

      // Use apply
      .apply(obj -> obj.mnemonicParsingProperty().bind(anotherProperty))
      
      // Use shorthand form
      .mnemonicParsingPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • mouseTransparentPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.mouseTransparentProperty().bind(anotherProperty))
      
      // Use shorthand form
      .mouseTransparentPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • needsLayoutPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.needsLayoutProperty().bind(anotherProperty))
      
      // Use shorthand form
      .needsLayoutPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • nodeOrientationPropertyApply

      public MenuButtonBuilder nodeOrientationPropertyApply(Consumer<ObjectProperty<NodeOrientation>> op)
      Applies a function to the nodeOrientationProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.nodeOrientationProperty().bind(anotherProperty))
      
      // Use shorthand form
      .nodeOrientationPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onActionPropertyApply

      public MenuButtonBuilder onActionPropertyApply(Consumer<ObjectProperty<EventHandler<ActionEvent>>> op)
      Applies a function to the onActionProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onActionProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onActionPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onContextMenuRequestedPropertyApply

      public MenuButtonBuilder onContextMenuRequestedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ContextMenuEvent>>> op)
      Applies a function to the onContextMenuRequestedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onContextMenuRequestedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onContextMenuRequestedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onDragDetectedPropertyApply

      public MenuButtonBuilder onDragDetectedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op)
      Applies a function to the onDragDetectedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onDragDetectedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onDragDetectedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onDragDonePropertyApply

      public MenuButtonBuilder onDragDonePropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op)
      Applies a function to the onDragDoneProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onDragDoneProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onDragDonePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onDragDroppedPropertyApply

      public MenuButtonBuilder onDragDroppedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op)
      Applies a function to the onDragDroppedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onDragDroppedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onDragDroppedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onDragEnteredPropertyApply

      public MenuButtonBuilder onDragEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op)
      Applies a function to the onDragEnteredProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onDragEnteredProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onDragEnteredPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onDragExitedPropertyApply

      public MenuButtonBuilder onDragExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op)
      Applies a function to the onDragExitedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onDragExitedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onDragExitedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onDragOverPropertyApply

      public MenuButtonBuilder onDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op)
      Applies a function to the onDragOverProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

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

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

      Example:

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

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

      Example:

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

      public MenuButtonBuilder onInputMethodTextChangedPropertyApply(Consumer<ObjectProperty<EventHandler<? super InputMethodEvent>>> op)
      Applies a function to the onInputMethodTextChangedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onInputMethodTextChangedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onInputMethodTextChangedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onKeyPressedPropertyApply

      public MenuButtonBuilder onKeyPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op)
      Applies a function to the onKeyPressedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onKeyPressedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onKeyPressedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onKeyReleasedPropertyApply

      public MenuButtonBuilder onKeyReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op)
      Applies a function to the onKeyReleasedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onKeyReleasedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onKeyReleasedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onKeyTypedPropertyApply

      public MenuButtonBuilder onKeyTypedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op)
      Applies a function to the onKeyTypedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onKeyTypedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onKeyTypedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMouseClickedPropertyApply

      public MenuButtonBuilder onMouseClickedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op)
      Applies a function to the onMouseClickedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMouseClickedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMouseClickedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMouseDragEnteredPropertyApply

      public MenuButtonBuilder onMouseDragEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op)
      Applies a function to the onMouseDragEnteredProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMouseDragEnteredProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMouseDragEnteredPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMouseDragExitedPropertyApply

      public MenuButtonBuilder onMouseDragExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op)
      Applies a function to the onMouseDragExitedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMouseDragExitedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMouseDragExitedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMouseDragOverPropertyApply

      public MenuButtonBuilder onMouseDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op)
      Applies a function to the onMouseDragOverProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMouseDragOverProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMouseDragOverPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMouseDragReleasedPropertyApply

      public MenuButtonBuilder onMouseDragReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op)
      Applies a function to the onMouseDragReleasedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMouseDragReleasedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMouseDragReleasedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMouseDraggedPropertyApply

      public MenuButtonBuilder onMouseDraggedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op)
      Applies a function to the onMouseDraggedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMouseDraggedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMouseDraggedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMouseEnteredPropertyApply

      public MenuButtonBuilder onMouseEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op)
      Applies a function to the onMouseEnteredProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMouseEnteredProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMouseEnteredPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMouseExitedPropertyApply

      public MenuButtonBuilder onMouseExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op)
      Applies a function to the onMouseExitedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMouseExitedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMouseExitedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMouseMovedPropertyApply

      public MenuButtonBuilder onMouseMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op)
      Applies a function to the onMouseMovedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMouseMovedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMouseMovedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMousePressedPropertyApply

      public MenuButtonBuilder onMousePressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op)
      Applies a function to the onMousePressedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMousePressedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMousePressedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onMouseReleasedPropertyApply

      public MenuButtonBuilder onMouseReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op)
      Applies a function to the onMouseReleasedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onMouseReleasedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onMouseReleasedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onRotatePropertyApply

      public MenuButtonBuilder onRotatePropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op)
      Applies a function to the onRotateProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onRotateProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onRotatePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onRotationFinishedPropertyApply

      public MenuButtonBuilder onRotationFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op)
      Applies a function to the onRotationFinishedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onRotationFinishedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onRotationFinishedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onRotationStartedPropertyApply

      public MenuButtonBuilder onRotationStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op)
      Applies a function to the onRotationStartedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onRotationStartedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onRotationStartedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onScrollFinishedPropertyApply

      public MenuButtonBuilder onScrollFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op)
      Applies a function to the onScrollFinishedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onScrollFinishedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onScrollFinishedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onScrollPropertyApply

      public MenuButtonBuilder onScrollPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op)
      Applies a function to the onScrollProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onScrollProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onScrollPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onScrollStartedPropertyApply

      public MenuButtonBuilder onScrollStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op)
      Applies a function to the onScrollStartedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

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

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

      Example:

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

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

      Example:

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

      public MenuButtonBuilder onSwipeDownPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op)
      Applies a function to the onSwipeDownProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onSwipeDownProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onSwipeDownPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onSwipeLeftPropertyApply

      public MenuButtonBuilder onSwipeLeftPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op)
      Applies a function to the onSwipeLeftProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onSwipeLeftProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onSwipeLeftPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onSwipeRightPropertyApply

      public MenuButtonBuilder onSwipeRightPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op)
      Applies a function to the onSwipeRightProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onSwipeRightProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onSwipeRightPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onSwipeUpPropertyApply

      public MenuButtonBuilder onSwipeUpPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op)
      Applies a function to the onSwipeUpProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onSwipeUpProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onSwipeUpPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onTouchMovedPropertyApply

      public MenuButtonBuilder onTouchMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op)
      Applies a function to the onTouchMovedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onTouchMovedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onTouchMovedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onTouchPressedPropertyApply

      public MenuButtonBuilder onTouchPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op)
      Applies a function to the onTouchPressedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onTouchPressedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onTouchPressedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onTouchReleasedPropertyApply

      public MenuButtonBuilder onTouchReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op)
      Applies a function to the onTouchReleasedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onTouchReleasedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onTouchReleasedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onTouchStationaryPropertyApply

      public MenuButtonBuilder onTouchStationaryPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op)
      Applies a function to the onTouchStationaryProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onTouchStationaryProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onTouchStationaryPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onZoomFinishedPropertyApply

      public MenuButtonBuilder onZoomFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op)
      Applies a function to the onZoomFinishedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onZoomFinishedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onZoomFinishedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onZoomPropertyApply

      public MenuButtonBuilder onZoomPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op)
      Applies a function to the onZoomProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.onZoomProperty().bind(anotherProperty))
      
      // Use shorthand form
      .onZoomPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • onZoomStartedPropertyApply

      public MenuButtonBuilder onZoomStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op)
      Applies a function to the onZoomStartedProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

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

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

      Example:

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

      public MenuButtonBuilder opaqueInsetsPropertyApply(Consumer<ObjectProperty<Insets>> op)
      Applies a function to the opaqueInsetsProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.opaqueInsetsProperty().bind(anotherProperty))
      
      // Use shorthand form
      .opaqueInsetsPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • paddingPropertyApply

      public MenuButtonBuilder paddingPropertyApply(Consumer<ObjectProperty<Insets>> op)
      Applies a function to the paddingProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.paddingProperty().bind(anotherProperty))
      
      // Use shorthand form
      .paddingPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • parentPropertyApply

      public MenuButtonBuilder parentPropertyApply(Consumer<ReadOnlyObjectProperty<Parent>> op)
      Applies a function to the parentProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.parentProperty().bind(anotherProperty))
      
      // Use shorthand form
      .parentPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • pickOnBoundsPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.pickOnBoundsProperty().bind(anotherProperty))
      
      // Use shorthand form
      .pickOnBoundsPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • popupSidePropertyApply

      public MenuButtonBuilder popupSidePropertyApply(Consumer<ObjectProperty<Side>> op)
      Applies a function to the popupSideProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

      // Use apply
      .apply(obj -> obj.pressedProperty().bind(anotherProperty))
      
      // Use shorthand form
      .pressedPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • rotatePropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.rotateProperty().bind(anotherProperty))
      
      // Use shorthand form
      .rotatePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • rotationAxisPropertyApply

      public MenuButtonBuilder rotationAxisPropertyApply(Consumer<ObjectProperty<Point3D>> op)
      Applies a function to the rotationAxisProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.rotationAxisProperty().bind(anotherProperty))
      
      // Use shorthand form
      .rotationAxisPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • scaleShapePropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.scaleShapeProperty().bind(anotherProperty))
      
      // Use shorthand form
      .scaleShapePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • scaleXPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.scaleXProperty().bind(anotherProperty))
      
      // Use shorthand form
      .scaleXPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • scaleYPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.scaleYProperty().bind(anotherProperty))
      
      // Use shorthand form
      .scaleYPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • scaleZPropertyApply

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

      Example:

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

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

      Example:

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

      public MenuButtonBuilder shapePropertyApply(Consumer<ObjectProperty<Shape>> op)
      Applies a function to the shapeProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

      public MenuButtonBuilder textAlignmentPropertyApply(Consumer<ObjectProperty<TextAlignment>> op)
      Applies a function to the textAlignmentProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.textAlignmentProperty().bind(anotherProperty))
      
      // Use shorthand form
      .textAlignmentPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • textFillPropertyApply

      public MenuButtonBuilder textFillPropertyApply(Consumer<ObjectProperty<Paint>> op)
      Applies a function to the textFillProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.textFillProperty().bind(anotherProperty))
      
      // Use shorthand form
      .textFillPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • textOverrunPropertyApply

      public MenuButtonBuilder textOverrunPropertyApply(Consumer<ObjectProperty<OverrunStyle>> op)
      Applies a function to the textOverrunProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.textOverrunProperty().bind(anotherProperty))
      
      // Use shorthand form
      .textOverrunPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • textPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.textProperty().bind(anotherProperty))
      
      // Use shorthand form
      .textPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • tooltipPropertyApply

      public MenuButtonBuilder tooltipPropertyApply(Consumer<ObjectProperty<Tooltip>> op)
      Applies a function to the tooltipProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.tooltipProperty().bind(anotherProperty))
      
      // Use shorthand form
      .tooltipPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • translateXPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.translateXProperty().bind(anotherProperty))
      
      // Use shorthand form
      .translateXPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • translateYPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.translateYProperty().bind(anotherProperty))
      
      // Use shorthand form
      .translateYPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • translateZPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.translateZProperty().bind(anotherProperty))
      
      // Use shorthand form
      .translateZPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • underlinePropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.underlineProperty().bind(anotherProperty))
      
      // Use shorthand form
      .underlinePropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • viewOrderPropertyApply

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

      Example:

      // Use apply
      .apply(obj -> obj.viewOrderProperty().bind(anotherProperty))
      
      // Use shorthand form
      .viewOrderPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • visiblePropertyApply

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

      Example:

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

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

      Example:

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

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

      Example:

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