Interface TooltipOptions.Builder

  • Method Details

    • tooltipVisibility

      TooltipOptions.Builder tooltipVisibility(String tooltipVisibility)

      Determines whether or not the tooltip is visible.

      Parameters:
      tooltipVisibility - Determines whether or not the tooltip is visible.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tooltipVisibility

      TooltipOptions.Builder tooltipVisibility(Visibility tooltipVisibility)

      Determines whether or not the tooltip is visible.

      Parameters:
      tooltipVisibility - Determines whether or not the tooltip is visible.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • selectedTooltipType

      TooltipOptions.Builder selectedTooltipType(String selectedTooltipType)

      The selected type for the tooltip. Choose one of the following options:

      • BASIC: A basic tooltip.

      • DETAILED: A detailed tooltip.

      Parameters:
      selectedTooltipType - The selected type for the tooltip. Choose one of the following options:

      • BASIC: A basic tooltip.

      • DETAILED: A detailed tooltip.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • selectedTooltipType

      TooltipOptions.Builder selectedTooltipType(SelectedTooltipType selectedTooltipType)

      The selected type for the tooltip. Choose one of the following options:

      • BASIC: A basic tooltip.

      • DETAILED: A detailed tooltip.

      Parameters:
      selectedTooltipType - The selected type for the tooltip. Choose one of the following options:

      • BASIC: A basic tooltip.

      • DETAILED: A detailed tooltip.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fieldBasedTooltip

      TooltipOptions.Builder fieldBasedTooltip(FieldBasedTooltip fieldBasedTooltip)

      The setup for the detailed tooltip. The tooltip setup is always saved. The display type is decided based on the tooltip type.

      Parameters:
      fieldBasedTooltip - The setup for the detailed tooltip. The tooltip setup is always saved. The display type is decided based on the tooltip type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fieldBasedTooltip

      default TooltipOptions.Builder fieldBasedTooltip(Consumer<FieldBasedTooltip.Builder> fieldBasedTooltip)

      The setup for the detailed tooltip. The tooltip setup is always saved. The display type is decided based on the tooltip type.

      This is a convenience method that creates an instance of the FieldBasedTooltip.Builder avoiding the need to create one manually via FieldBasedTooltip.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fieldBasedTooltip(FieldBasedTooltip).

      Parameters:
      fieldBasedTooltip - a consumer that will call methods on FieldBasedTooltip.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: