java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListenerpublic class InstantTipper
extends java.awt.event.MouseAdapter
This works by doctoring the global ToolTipManager. It will not play nicely with any other code that is making global adjustments to tool tip management. I'd like to do it differently, but ToolTipManager itself is a singleton, which makes it difficult to handle this in a more localised way.
Singleton class.
| Modifier and Type | Method | Description |
|---|---|---|
static InstantTipper |
getInstance() |
Returns the sole instance of this class.
|
void |
mouseEntered(java.awt.event.MouseEvent evt) |
|
void |
mouseExited(java.awt.event.MouseEvent evt) |
public void mouseEntered(java.awt.event.MouseEvent evt)
mouseEntered in interface java.awt.event.MouseListenermouseEntered in class java.awt.event.MouseAdapterpublic void mouseExited(java.awt.event.MouseEvent evt)
mouseExited in interface java.awt.event.MouseListenermouseExited in class java.awt.event.MouseAdapterpublic static InstantTipper getInstance()
Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.