net.sourceforge.gwtaddons.client.richtext
Class Tooltip
java.lang.Object
   com.google.gwt.user.client.ui.MouseListenerAdapter
com.google.gwt.user.client.ui.MouseListenerAdapter
       net.sourceforge.gwtaddons.client.richtext.Tooltip
net.sourceforge.gwtaddons.client.richtext.Tooltip
- All Implemented Interfaces: 
- java.util.EventListener, com.google.gwt.user.client.ui.MouseListener
- public class Tooltip- extends com.google.gwt.user.client.ui.MouseListenerAdapter
This class represent a tooltip that can be setup with css. The used css stylename is Tooltip.
 A typical use is:
 
      yourWidget.addMouseListener(new Tooltip(tooltip));
 
- Author:
- Volker Berlin
| Constructor Summary | 
| Tooltip(java.lang.String text)The Constructor of the Tooltip.
 | 
 
| Method Summary | 
|  void | onMouseDown(com.google.gwt.user.client.ui.Widget sender,
            int x,
            int y)
 | 
|  void | onMouseEnter(com.google.gwt.user.client.ui.Widget sender)
 | 
|  void | onMouseLeave(com.google.gwt.user.client.ui.Widget sender)
 | 
|  void | onMouseMove(com.google.gwt.user.client.ui.Widget sender,
            int x,
            int y)
 | 
 
| Methods inherited from class com.google.gwt.user.client.ui.MouseListenerAdapter | 
| onMouseUp | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Tooltip
public Tooltip(java.lang.String text)
- The Constructor of the Tooltip.
 
- Parameters:
- text- The tooltip text. It should not be null.
onMouseEnter
public void onMouseEnter(com.google.gwt.user.client.ui.Widget sender)
- 
 
onMouseMove
public void onMouseMove(com.google.gwt.user.client.ui.Widget sender,
                        int x,
                        int y)
- 
 
onMouseLeave
public void onMouseLeave(com.google.gwt.user.client.ui.Widget sender)
- 
 
onMouseDown
public void onMouseDown(com.google.gwt.user.client.ui.Widget sender,
                        int x,
                        int y)
-