Class Tooltip.Builder

  • Enclosing class:
    Tooltip

    public static final class Tooltip.Builder
    extends java.lang.Object
    Builder class for Tooltip.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of Tooltip.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of Tooltip.
    • Method Detail

      • setCondition

        public Tooltip.Builder setCondition​(java.lang.String condition)
        If the condition is met then the tooltip will be applied. If no condition is provided, then the tooltip will be applied unconditionally. Examples of expression syntax are provided under 'example_request' section of 'CreateWidgetConfiguration' API.
        Parameters:
        condition - New value for the property.
      • setHeading

        public Tooltip.Builder setHeading​(java.lang.Boolean heading)
        If true, displays tooltip text in bold
        Parameters:
        heading - New value for the property.
      • setText

        public Tooltip.Builder setText​(java.lang.String text)
        Text to be shown on tooltip while hovering over UI element. The text would be wrapped if it exceeds 80 chars.
        Parameters:
        text - New value for the property.