Class CmsFieldTooltip.Data

java.lang.Object
org.opencms.gwt.client.ui.input.form.CmsFieldTooltip.Data
Enclosing class:
CmsFieldTooltip

public static class CmsFieldTooltip.Data extends Object
Data needed to create a tooltip.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Data(com.google.gwt.user.client.ui.Panel reference, String info, boolean isHtml)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the tooltip content.
    com.google.gwt.user.client.ui.Panel
    Gets the icon for which the tooltip is intended.
    boolean
    Returns true if the tooltip content is HTML.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Data

      public Data(com.google.gwt.user.client.ui.Panel reference, String info, boolean isHtml)
      Creates a new instance.

      Parameters:
      reference - the icon for which the tooltip should be shown
      info - the tooltip content
      isHtml - true if the content is HTML
  • Method Details

    • getInfo

      public String getInfo()
      Gets the tooltip content.

      Returns:
      the tooltip content
    • getReference

      public com.google.gwt.user.client.ui.Panel getReference()
      Gets the icon for which the tooltip is intended.

      Returns:
      the icon for which to display a tooltip
    • isHtml

      public boolean isHtml()
      Returns true if the tooltip content is HTML.

      Returns:
      true if the tooltip content is HTML
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: