com.ideo.sweetdevria.taglib.tooltip
Class TooltipContentTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.ideo.sweetdevria.taglib.AbstractTagDrawer
          extended by com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
              extended by com.ideo.sweetdevria.taglib.BaseTagSupport
                  extended by com.ideo.sweetdevria.taglib.tooltip.TooltipContentTag
All Implemented Interfaces:
Hideable, Hookable, Hooker, IFrameable, IRiaTag, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class TooltipContentTag
extends BaseTagSupport
implements IRiaTag, Hideable, Hookable, Hooker, IFrameable

See Also:
Serialized Form

Field Summary
protected  boolean autoClose
          Automatically close tooltip if parent link moved.
protected static java.lang.String BUILDER_ID
          Builder ID.
protected  int height
          Tooltip height.
protected  int shiftX
          Horizontal shift between link and tooltip.
protected  int shiftY
          Vertical shift between link and tooltip.
protected  int width
          Tooltip width.
protected  int zIndex
          ZIndex.
 
Fields inherited from class com.ideo.sweetdevria.taglib.BaseTagSupport
frameDisplayed, style, styleClass
 
Fields inherited from class com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
bodyContent, rendered
 
Fields inherited from class com.ideo.sweetdevria.taglib.AbstractTagDrawer
builder, messageKeys, templateEnd, templateStart
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
TooltipContentTag()
          Default constructor.
 
Method Summary
 java.lang.String getBuilderId()
          Return the targeted builder id for this component as specified in the configuration file.
 int getHeight()
          Get the height.
 BaseTagSupport getHooker()
           
 int getShiftX()
          Get the shiftX.
 int getShiftY()
          Get the shiftY.
 int getWidth()
          Get the width.
 int getzIndex()
          Get the zIndex.
 int getZIndex()
           
 boolean isAutoClose()
           
 boolean isFrameDisplayed()
           
 void release()
          Release method which must call super.release !
 void setAutoClose(boolean autoClose)
          Automatically close tooltip if parent link moved.
 void setFrameDisplayed(boolean toDisplay)
           
 void setHeight(int height)
          Set the height.
 void setPageContext(javax.servlet.jsp.PageContext pageContext)
          Used by HTTP container.
 void setShiftX(int shiftX)
          Set the shiftX.
 void setShiftY(int shiftY)
          Set the shiftY.
 void setWidth(int width)
          Set the width.
 void setzIndex(int zIndex)
          Set the zIndex.
 void setZIndex(int zIndex)
           
 
Methods inherited from class com.ideo.sweetdevria.taglib.BaseTagSupport
addCssClass, addCssStyle, getStyle, getStyleClass, setStyle, setStyleClass
 
Methods inherited from class com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
checkId, doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getId, isRendered, refractorContext, setBodyContent, setId, setRendered
 
Methods inherited from class com.ideo.sweetdevria.taglib.AbstractTagDrawer
generateHtmlContent, getBuilder, getMessageKeys, getPageContext, getTemplateEnd, getTemplateStart, setTemplateEnd, setTemplateStart
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ideo.sweetdevria.taglib.IRiaTag
doEndTag, doStartTag, getMessageKeys, getPageContext, getTemplateEnd, getTemplateStart, setTemplateEnd, setTemplateStart
 
Methods inherited from interface com.ideo.sweetdevria.taglib.Hideable
isRendered, setRendered
 
Methods inherited from interface javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods inherited from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setParent
 

Field Detail

BUILDER_ID

protected static final java.lang.String BUILDER_ID
Builder ID.

See Also:
Constant Field Values

width

protected int width
Tooltip width.


height

protected int height
Tooltip height.


shiftX

protected int shiftX
Horizontal shift between link and tooltip.


shiftY

protected int shiftY
Vertical shift between link and tooltip.


zIndex

protected int zIndex
ZIndex.


autoClose

protected boolean autoClose
Automatically close tooltip if parent link moved.

Constructor Detail

TooltipContentTag

public TooltipContentTag()
Default constructor.

Method Detail

release

public void release()
Description copied from interface: IRiaTag
Release method which must call super.release !

Specified by:
release in interface IRiaTag
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class BaseTagSupport
See Also:
com.ideo.sweetdevria.taglib

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pageContext)
Description copied from interface: IRiaTag
Used by HTTP container. We should release tag here.

Specified by:
setPageContext in interface IRiaTag
Specified by:
setPageContext in interface javax.servlet.jsp.tagext.Tag
Overrides:
setPageContext in class AbstractTagDrawer
See Also:
com.ideo.sweetdevria.taglib

getBuilderId

public java.lang.String getBuilderId()
Description copied from interface: IRiaTag
Return the targeted builder id for this component as specified in the configuration file.

Specified by:
getBuilderId in interface IRiaTag
Specified by:
getBuilderId in class AbstractTagDrawer
Returns:
id targeted builder id
See Also:
com.ideo.sweetdevria.taglib

getHeight

public int getHeight()
Get the height.

Returns:
Returns the height.

setHeight

public void setHeight(int height)
Set the height.

Parameters:
height - The height to set.

getShiftX

public int getShiftX()
Get the shiftX.

Returns:
Returns the shiftX.

setShiftX

public void setShiftX(int shiftX)
Set the shiftX.

Parameters:
shiftX - The shiftX to set.

getShiftY

public int getShiftY()
Get the shiftY.

Returns:
Returns the shiftY.

setShiftY

public void setShiftY(int shiftY)
Set the shiftY.

Parameters:
shiftY - The shiftY to set.

getWidth

public int getWidth()
Get the width.

Returns:
Returns the width.

setWidth

public void setWidth(int width)
Set the width.

Parameters:
width - The width to set.

getzIndex

public int getzIndex()
Get the zIndex.

Returns:
Returns the zIndex.

getZIndex

public int getZIndex()

setzIndex

public void setzIndex(int zIndex)
Set the zIndex.

Parameters:
zIndex - The zIndex to set.

setZIndex

public void setZIndex(int zIndex)

isAutoClose

public boolean isAutoClose()
Returns:
the autoClose

setAutoClose

public void setAutoClose(boolean autoClose)
Automatically close tooltip if parent link moved.

Parameters:
autoClose - Does the tooltip automaticaly close if parent link has moved ?

getHooker

public BaseTagSupport getHooker()
Specified by:
getHooker in interface Hookable
Returns:
the hooker for this component

isFrameDisplayed

public boolean isFrameDisplayed()
Specified by:
isFrameDisplayed in interface IFrameable

setFrameDisplayed

public void setFrameDisplayed(boolean toDisplay)
Specified by:
setFrameDisplayed in interface IFrameable


Copyright © 2010 Ideo Technologies. All Rights Reserved.