Description

Tooltip component displays a tooltip box when mouse is over of a specific component

Screen Shot

API

component-family net.sf.yui4jsf.Container
renderer-type net.sf.yui4jsf.component.TooltipRenderer
component-class net.sf.yui4jsf.component.tooltip.Tooltip
renderer-class net.sf.yui4jsf.component.tooltip.TooltipRenderer
tag-class net.sf.yui4jsf.component.tooltip.TooltipTag

Usage

<yui:tooltip value="Information about the related component"
			for="txt_firstname"
			preventOverlap="{true|false}"
			showDelay="500"
			hideDelay="200" 
			autoDismissDelay="5000"
			visible="{true|false}"
			x="150"
			y="200"
			fixedCenter="{true|false}"
			width="400"
			height="300"
			zIndex="1"
			constrainToViewport="{true|false}"
			iframe="{true|false}">
</yui:simpleDialog>
            

Attributes

<yui:simpleDialog>

Standard Attributes - id, rendered, binding
Standard Container Attributes - visible, x, y, fixedCenter, width, height, zIndex, constrainToViewport, iframe
value - Text of the tooltip
for - Server side id of the related component
preventOverlap - Specifies whether the Tooltip should be kept from overlapping its context element
showDelay -The number of milliseconds to wait before showing a Tooltip on mouseover, default:500
hideDelay - The number of milliseconds to wait before hiding a Tooltip on mouseover, default:200
autoDismissDelay - The number of milliseconds to wait before automatically dismissing a Tooltip after the mouse has been resting on the context element, default:5000

Instructions

see tooltip.jsp for an example

Upcoming Features

- Styling

Additional Information

NONE