public static class TooltipTag.Tooltip
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
ttAlt |
protected java.lang.String |
ttBody |
protected java.lang.String |
ttClass |
protected java.lang.String |
ttGlp |
protected java.lang.String[] |
ttGlpParams |
protected java.lang.String |
ttIcon |
protected java.lang.String |
ttInline |
protected java.lang.String |
ttJsp |
protected java.lang.String |
ttTitle |
Constructor and Description |
---|
TooltipTag.Tooltip() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTooltip()
Returns the HTML representing a tooltip
|
void |
setIcon(java.lang.String icon)
Set a custom tooltip icon
|
void |
setIcon(java.lang.String icon,
java.lang.String alt) |
void |
setInlineBody(java.lang.String body)
Set the value of an inline content for a given tooltip
|
void |
setLongdesc(java.lang.String uri)
Set the location where to retrieve the tooltip content
|
void |
setProperty(java.lang.String glp,
java.lang.String[] params)
Set the property to retrieve using AJAX request
|
void |
setSprite(java.lang.String sprite)
Set a custom sprite icon (override icon)
|
void |
setTitle(java.lang.String title)
Set a custom title attribute.
|
void |
setTooltipClass(java.lang.String ttClass)
Set a custom tooltip class
|
protected java.lang.String ttClass
protected java.lang.String ttInline
protected java.lang.String ttIcon
protected java.lang.String ttJsp
protected java.lang.String ttGlp
protected java.lang.String[] ttGlpParams
protected java.lang.String ttBody
protected java.lang.String ttTitle
protected java.lang.String ttAlt
public java.lang.String getTooltip()
public void setProperty(java.lang.String glp, java.lang.String[] params)
glp
- the language propertypublic void setLongdesc(java.lang.String uri)
uri
- the uri to the content (may contains querystring)public void setInlineBody(java.lang.String body)
body
- the content of the tooltip set inlinepublic void setTitle(java.lang.String title)
title
- the title of the iconpublic void setIcon(java.lang.String icon)
icon
- the uri of the iconpublic void setIcon(java.lang.String icon, java.lang.String alt)
public void setSprite(java.lang.String sprite)
sprite
- the sprite valuepublic void setTooltipClass(java.lang.String ttClass)
ttClass
- the class of the tooltipCopyright © 2001-2010 Jalios SA. All Rights Reserved.