Package com.tagtraum.beatunes.filter
Class TableHeaderSortListener
- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- com.tagtraum.beatunes.filter.TableHeaderSortListener
-
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
public class TableHeaderSortListener extends MouseAdapter
TableHeaderSortListener.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description TableHeaderSortListener(JTable table)
Constructs listener and replacesBasicTableHeaderUI.MouseInputHandler
with our own listener (this), capable of distinguishing between arrow- and label-clicks.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseClicked(MouseEvent e)
void
mousePressed(MouseEvent e)
-
Methods inherited from class java.awt.event.MouseAdapter
mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, mouseWheelMoved
-
-
-
-
Constructor Detail
-
TableHeaderSortListener
public TableHeaderSortListener(JTable table)
Constructs listener and replacesBasicTableHeaderUI.MouseInputHandler
with our own listener (this), capable of distinguishing between arrow- and label-clicks.- Parameters:
table
- table
-
-
Method Detail
-
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interfaceMouseListener
- Overrides:
mousePressed
in classMouseAdapter
-
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked
in interfaceMouseListener
- Overrides:
mouseClicked
in classMouseAdapter
-
-