com.jalios.jcms.taglib
Class TooltipTag.Tooltip

java.lang.Object
  extended by com.jalios.jcms.taglib.TooltipTag.Tooltip
Enclosing class:
TooltipTag

public static class TooltipTag.Tooltip
extends java.lang.Object


Field Summary
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 Summary
TooltipTag.Tooltip()
           
 
Method Summary
 java.lang.String getTooltip()
          Returns the HTML representing a tooltip
 void setIcon(java.lang.String icon)
          Set a custom tooltip icon
 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 icon
 void setTooltipClass(java.lang.String ttClass)
          Set a custom tooltip class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ttClass

protected java.lang.String ttClass

ttInline

protected java.lang.String ttInline

ttIcon

protected java.lang.String ttIcon

ttJsp

protected java.lang.String ttJsp

ttGlp

protected java.lang.String ttGlp

ttGlpParams

protected java.lang.String[] ttGlpParams

ttBody

protected java.lang.String ttBody

ttTitle

protected java.lang.String ttTitle
Constructor Detail

TooltipTag.Tooltip

public TooltipTag.Tooltip()
Method Detail

getTooltip

public java.lang.String getTooltip()
Returns the HTML representing a tooltip

Returns:
String the tooltip's html fragment

setProperty

public void setProperty(java.lang.String glp,
                        java.lang.String[] params)
Set the property to retrieve using AJAX request

Parameters:
glp - the language property

setLongdesc

public void setLongdesc(java.lang.String uri)
Set the location where to retrieve the tooltip content

Parameters:
uri - the uri to the content (may contains querystring)

setInlineBody

public void setInlineBody(java.lang.String body)
Set the value of an inline content for a given tooltip

Parameters:
body - the content of the tooltip set inline

setTitle

public void setTitle(java.lang.String title)
Set a custom title icon

Parameters:
title - the title of the icon

setIcon

public void setIcon(java.lang.String icon)
Set a custom tooltip icon

Parameters:
icon - the uri of the icon

setSprite

public void setSprite(java.lang.String sprite)
Set a custom sprite icon (override icon)

Parameters:
sprite - the sprite value

setTooltipClass

public void setTooltipClass(java.lang.String ttClass)
Set a custom tooltip class

Parameters:
ttClass - the class of the tooltip


Copyright © 2001-2010 Jalios SA. All Rights Reserved.