Class CmsFieldTooltip.Data
- java.lang.Object
-
- org.opencms.gwt.client.ui.input.form.CmsFieldTooltip.Data
-
- Enclosing class:
- CmsFieldTooltip
public static class CmsFieldTooltip.Data extends java.lang.Object
Data needed to create a tooltip.
-
-
Constructor Summary
Constructors Constructor Description Data(com.google.gwt.user.client.ui.Panel reference, java.lang.String info, boolean isHtml)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getInfo()
Gets the tooltip content.com.google.gwt.user.client.ui.Panel
getReference()
Gets the icon for which the tooltip is intended.boolean
isHtml()
Returns true if the tooltip content is HTML.java.lang.String
toString()
-
-
-
Constructor Detail
-
Data
public Data(com.google.gwt.user.client.ui.Panel reference, java.lang.String info, boolean isHtml)
Creates a new instance.- Parameters:
reference
- the icon for which the tooltip should be showninfo
- the tooltip contentisHtml
- true if the content is HTML
-
-
Method Detail
-
getInfo
public java.lang.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 java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-