org.jbudget.gui.month
Class ToolTipManager

java.lang.Object
  extended by java.awt.event.MouseMotionAdapter
      extended by 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
           
 
Constructor Summary
ToolTipManager()
           
 
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
 

Field Detail

currColInd

int currColInd

toolTips

java.util.List<java.lang.String> toolTips
Constructor Detail

ToolTipManager

public ToolTipManager()
Method Detail

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