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 Object


Field Summary
protected  String ttBody
           
protected  String ttClass
           
protected  String ttGlp
           
protected  String[] ttGlpParams
           
protected  String ttIcon
           
protected  String ttInline
           
protected  String ttJsp
           
protected  String ttTitle
           
 
Constructor Summary
TooltipTag.Tooltip()
           
 
Method Summary
 String getTooltip()
          Returns the HTML representing a tooltip
 void setIcon(String icon)
          Set a custom tooltip icon
 void setInlineBody(String body)
          Set the value of an inline content for a given tooltip
 void setLongdesc(String uri)
          Set the location where to retrieve the tooltip content
 void setProperty(String glp, String[] params)
          Set the property to retrieve using AJAX request
 void setSprite(String sprite)
          Set a custom sprite icon (override icon)
 void setTitle(String title)
          Set a custom title icon
 void setTooltipClass(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 String ttClass

ttInline

protected String ttInline

ttIcon

protected String ttIcon

ttJsp

protected String ttJsp

ttGlp

protected String ttGlp

ttGlpParams

protected String[] ttGlpParams

ttBody

protected String ttBody

ttTitle

protected String ttTitle
Constructor Detail

TooltipTag.Tooltip

public TooltipTag.Tooltip()
Method Detail

getTooltip

public String getTooltip()
Returns the HTML representing a tooltip

Returns:
String the tooltip's html fragment

setProperty

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

Parameters:
glp - the language property

setLongdesc

public void setLongdesc(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(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(String title)
Set a custom title icon

Parameters:
title - the title of the icon

setIcon

public void setIcon(String icon)
Set a custom tooltip icon

Parameters:
icon - the uri of the icon

setSprite

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

Parameters:
sprite - the sprite value

setTooltipClass

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

Parameters:
ttClass - the class of the tooltip


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