Package com.tagtraum.core.swing
Class TableHeaderMouseOverAdapter
- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- com.tagtraum.core.swing.TableHeaderMouseOverAdapter
-
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
public class TableHeaderMouseOverAdapter extends MouseAdapter
Allows theJTableHeader
to react to mouse-over events. Corresponding info is stored in theJTable
's client properties.- Author:
- Hendrik Schreiber
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLEHEADER_MOUSEOVER
static String
TABLEHEADER_MOUSEOVER_COLUMN
-
Constructor Summary
Constructors Constructor Description TableHeaderMouseOverAdapter(JTable table)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
installTo(JTable table)
void
mouseEntered(MouseEvent e)
void
mouseExited(MouseEvent e)
void
mouseMoved(MouseEvent e)
-
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mousePressed, mouseReleased, mouseWheelMoved
-
-
-
-
Field Detail
-
TABLEHEADER_MOUSEOVER
public static final String TABLEHEADER_MOUSEOVER
- See Also:
- Constant Field Values
-
TABLEHEADER_MOUSEOVER_COLUMN
public static final String TABLEHEADER_MOUSEOVER_COLUMN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TableHeaderMouseOverAdapter
public TableHeaderMouseOverAdapter(JTable table)
-
-
Method Detail
-
installTo
public static void installTo(JTable table)
-
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEntered
in interfaceMouseListener
- Overrides:
mouseEntered
in classMouseAdapter
-
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExited
in interfaceMouseListener
- Overrides:
mouseExited
in classMouseAdapter
-
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
mouseMoved
in interfaceMouseMotionListener
- Overrides:
mouseMoved
in classMouseAdapter
-
-