org.jbudget.gui.month
Class ToolTipManager
java.lang.Object
java.awt.event.MouseMotionAdapter
org.jbudget.gui.month.ToolTipManager
- All Implemented Interfaces:
- java.awt.event.MouseMotionListener, java.util.EventListener
public class ToolTipManager
- extends java.awt.event.MouseMotionAdapter
A class that enables different tooltips for different columns in of a
JTable.
|
Field Summary |
(package private) int |
currColInd
|
(package private) java.util.List<java.lang.String> |
toolTips
|
|
Method Summary |
void |
mouseMoved(java.awt.event.MouseEvent evt)
|
void |
setToolTip(int colInd,
java.lang.String toolTip)
|
void |
update(javax.swing.JTable table)
|
| Methods inherited from class java.awt.event.MouseMotionAdapter |
mouseDragged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currColInd
int currColInd
toolTips
java.util.List<java.lang.String> toolTips
ToolTipManager
public ToolTipManager()
setToolTip
public void setToolTip(int colInd,
java.lang.String toolTip)
update
public void update(javax.swing.JTable table)
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent evt)
- Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener- Overrides:
mouseMoved in class java.awt.event.MouseMotionAdapter