|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopoint.ui.util.ToolTipPopUpSupportHelper
public class ToolTipPopUpSupportHelper
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.
| Constructor Summary | |
|---|---|
ToolTipPopUpSupportHelper(ComponentPeer componentPeer)
Constructs a ToolTipPopUpSupportHelper that is linked to a
given ComponentPeer. |
|
| Method Summary | |
|---|---|
static java.lang.String |
escapeAmp(java.lang.String input)
|
static java.lang.String |
getHTMLForTooltip(java.lang.String toolTipText)
|
void |
imageUpdate(ImageUpdateEvent e)
Invoked when an image update change occurs. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
|
void |
render(RenderingContext rc,
Element targetElement)
Renders the ToolTipPopUp into the provided targetElement |
static void |
renderTooltip(RenderingContext rc,
Element targetElement,
java.lang.String toolTipText)
|
void |
unregistered()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToolTipPopUpSupportHelper(ComponentPeer componentPeer)
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.
componentPeer - -
the linked ComponentPeer| Method Detail |
|---|
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenerPropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)public void unregistered()
public void imageUpdate(ImageUpdateEvent e)
ImageUpdateListener
imageUpdate in interface ImageUpdateListenere - The event describing the image update.ImageUpdateListener.imageUpdate(nextapp.echo.event.ImageUpdateEvent)
public void render(RenderingContext rc,
Element targetElement)
public static void renderTooltip(RenderingContext rc,
Element targetElement,
java.lang.String toolTipText)
public static java.lang.String getHTMLForTooltip(java.lang.String toolTipText)
public static java.lang.String escapeAmp(java.lang.String input)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||