Interface FieldBasedTooltip.Builder

  • Method Details

    • aggregationVisibility

      FieldBasedTooltip.Builder aggregationVisibility(String aggregationVisibility)

      The visibility of Show aggregations.

      Parameters:
      aggregationVisibility - The visibility of Show aggregations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregationVisibility

      FieldBasedTooltip.Builder aggregationVisibility(Visibility aggregationVisibility)

      The visibility of Show aggregations.

      Parameters:
      aggregationVisibility - The visibility of Show aggregations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tooltipTitleType

      FieldBasedTooltip.Builder tooltipTitleType(String tooltipTitleType)

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

      • NONE: Doesn't use the primary value as the title.

      • PRIMARY_VALUE: Uses primary value as the title.

      Parameters:
      tooltipTitleType - The type for the >tooltip title. Choose one of the following options:

      • NONE: Doesn't use the primary value as the title.

      • PRIMARY_VALUE: Uses primary value as the title.

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

      FieldBasedTooltip.Builder tooltipTitleType(TooltipTitleType tooltipTitleType)

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

      • NONE: Doesn't use the primary value as the title.

      • PRIMARY_VALUE: Uses primary value as the title.

      Parameters:
      tooltipTitleType - The type for the >tooltip title. Choose one of the following options:

      • NONE: Doesn't use the primary value as the title.

      • PRIMARY_VALUE: Uses primary value as the title.

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

      FieldBasedTooltip.Builder tooltipFields(Collection<TooltipItem> tooltipFields)

      The fields configuration in the tooltip.

      Parameters:
      tooltipFields - The fields configuration in the tooltip.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tooltipFields

      FieldBasedTooltip.Builder tooltipFields(TooltipItem... tooltipFields)

      The fields configuration in the tooltip.

      Parameters:
      tooltipFields - The fields configuration in the tooltip.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tooltipFields

      FieldBasedTooltip.Builder tooltipFields(Consumer<TooltipItem.Builder>... tooltipFields)

      The fields configuration in the tooltip.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tooltipFields(List<TooltipItem>).

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