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

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

You can use method chaining to call the builder methods for configuring the Tooltip. Finally, invoke the build method to generate an instance of the Tooltip 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 TooltipBuilder create()
      Returns an instance of the TooltipBuilder.
      Returns:
      an instance of the TooltipBuilder.
    • create

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

      public Tooltip build()
      Builds and returns an instance of the Tooltip 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 Tooltip class
    • apply

      public TooltipBuilder apply(Consumer<Tooltip> func)
      Applies a function to the Tooltip instance being constructed. Most operations on the instance can be performed using this method.
      Returns:
      builder instance
    • anchorLocation

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

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

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

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

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

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

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

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

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

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

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

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

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

      public TooltipBuilder hideDelay(Duration hideDelay)
      A builder method that invokes the setHideDelay method on the instance being constructed.
      Returns:
      builder instance
    • hideOnEscape

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public TooltipBuilder showDelay(Duration showDelay)
      A builder method that invokes the setShowDelay method on the instance being constructed.
      Returns:
      builder instance
    • showDuration

      public TooltipBuilder showDuration(Duration showDuration)
      A builder method that invokes the setShowDuration method on the instance being constructed.
      Returns:
      builder instance
    • skin

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

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

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

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

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

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

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

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

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

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

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

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

      public TooltipBuilder 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
    • eventDispatcherPropertyApply

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

      Example:

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

      public TooltipBuilder 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 TooltipBuilder 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
    • forceIntegerRenderScalePropertyApply

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

      Example:

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

      public TooltipBuilder 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 TooltipBuilder 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 TooltipBuilder 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
    • hideDelayPropertyApply

      public TooltipBuilder hideDelayPropertyApply(Consumer<ObjectProperty<Duration>> op)
      Applies a function to the hideDelayProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

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

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

      Example:

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

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

      Example:

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

      public TooltipBuilder 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 TooltipBuilder 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 TooltipBuilder 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 TooltipBuilder minWidthPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the minWidthProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

      public TooltipBuilder onShownPropertyApply(Consumer<ObjectProperty<EventHandler<WindowEvent>>> 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
    • opacityPropertyApply

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

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

      Example:

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

      public TooltipBuilder 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 TooltipBuilder prefWidthPropertyApply(Consumer<DoubleProperty> op)
      Applies a function to the prefWidthProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

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

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

      Example:

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

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

      Example:

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

      public TooltipBuilder 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
    • showDelayPropertyApply

      public TooltipBuilder showDelayPropertyApply(Consumer<ObjectProperty<Duration>> op)
      Applies a function to the showDelayProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

      // Use apply
      .apply(obj -> obj.showDelayProperty().bind(anotherProperty))
      
      // Use shorthand form
      .showDelayPropertyApply(prop -> prop.bind(anotherProperty))
      
      Returns:
      builder instance
    • showDurationPropertyApply

      public TooltipBuilder showDurationPropertyApply(Consumer<ObjectProperty<Duration>> op)
      Applies a function to the showDurationProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

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

      public TooltipBuilder 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 TooltipBuilder skinPropertyApply(Consumer<ObjectProperty<Skin<?>>> op)
      Applies a function to the skinProperty of the instance being constructed. This serves as a shorthand form of the apply method.

      Example:

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

      public TooltipBuilder 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 TooltipBuilder 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
    • textOverrunPropertyApply

      public TooltipBuilder 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 TooltipBuilder 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
    • widthPropertyApply

      public TooltipBuilder 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 TooltipBuilder 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
    • xPropertyApply

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

      Example:

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

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

      Example:

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