EchoPoint
1.0

echopoint.ui.util
Class ToolTipPopUpSupportHelper

java.lang.Object
  extended byechopoint.ui.util.ToolTipPopUpSupportHelper
All Implemented Interfaces:
java.util.EventListener, nextapp.echo.event.ImageUpdateListener, java.beans.PropertyChangeListener, java.io.Serializable

public class ToolTipPopUpSupportHelper
extends java.lang.Object
implements java.beans.PropertyChangeListener, nextapp.echo.event.ImageUpdateListener, java.io.Serializable

ToolTipPopUpSupportHelper is used to add ToolTipPopUpSupport to an Element in a UI peer. This will add the necessary OnMouseOver and OnMouseOut statements that will show the ToolTipPopUp content.

This class has the lifecyle of its parent ComponentPeer. It acts like a pseudo-ComponentPeer and the parent ComponentPeer should created a new one in its register() method and unregister() in its own unregistered() method.

See Also:
Serialized Form

Constructor Summary
ToolTipPopUpSupportHelper(nextapp.echoservlet.ComponentPeer componentPeer)
          Constructs a ToolTipPopUpSupportHelper that is linked to a given ComponentPeer.
 
Method Summary
 void imageUpdate(nextapp.echo.event.ImageUpdateEvent e)
           
 void propertyChange(java.beans.PropertyChangeEvent e)
           
 void render(nextapp.echoservlet.RenderingContext rc, nextapp.echoservlet.html.Element targetElement)
          Renders the ToolTipPopUp into the provided targetElement
 void unregistered()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolTipPopUpSupportHelper

public ToolTipPopUpSupportHelper(nextapp.echoservlet.ComponentPeer componentPeer)
Constructs a ToolTipPopUpSupportHelper that is linked to a given ComponentPeer. If the linked component does not in fact implement ToolTipPopUpSupport, then it is treated as having no contained ToolTipPopUp.

Parameters:
componentPeer - - the linked ComponentPeer
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
See Also:
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)

unregistered

public void unregistered()

imageUpdate

public void imageUpdate(nextapp.echo.event.ImageUpdateEvent e)
Specified by:
imageUpdate in interface nextapp.echo.event.ImageUpdateListener
See Also:
ImageUpdateListener.imageUpdate(nextapp.echo.event.ImageUpdateEvent)

render

public void render(nextapp.echoservlet.RenderingContext rc,
                   nextapp.echoservlet.html.Element targetElement)
Renders the ToolTipPopUp into the provided targetElement


EchoPoint
1.0