Class Tooltip

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, Component, Ordered, ScriptEventSupport, LifecycleElement, Widget, org.springframework.core.Ordered

public class Tooltip extends WidgetBase
Widget that renders a Tooltip on a component.

Tooltips can display extra information about an element. The content can be plain text or rich HTML. Tooltips can be triggered by focus or mouse hover events.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • Tooltip

      public Tooltip()
  • Method Details

    • getTooltipContent

      public String getTooltipContent()
      Plain text or HTML string that will be used to render the tooltip div
      Returns:
      String
    • setTooltipContent

      public void setTooltipContent(String tooltipContent)
      Setter for the tooltip content text
      Parameters:
      tooltipContent -
    • isOnFocus

      public boolean isOnFocus()
      Indicates the tooltip should be triggered by focus/blur
      Returns:
      boolean
    • setOnFocus

      public void setOnFocus(boolean onFocus)
      Setter for the onFocus
      Parameters:
      onFocus -
    • isOnMouseHover

      public boolean isOnMouseHover()
      Indicates the tooltip should be triggered by mouse hover
      Returns:
      boolean
    • setOnMouseHover

      public void setOnMouseHover(boolean onMouseHover)
      Setter for onMouseHover
      Parameters:
      onMouseHover -