org.jfree.ui
public class SortableTableHeaderListener extends Object implements MouseListener, MouseMotionListener
| Constructor Summary | |
|---|---|
| SortableTableHeaderListener(SortableTableModel model, SortButtonRenderer renderer)
Standard constructor.
| |
| Method Summary | |
|---|---|
| void | mouseClicked(MouseEvent e)
This event is ignored (not required).
|
| void | mouseDragged(MouseEvent e)
If the user is dragging or resizing, then we clear the sort column.
|
| void | mouseEntered(MouseEvent e)
This event is ignored (not required).
|
| void | mouseExited(MouseEvent e)
This event is ignored (not required).
|
| void | mouseMoved(MouseEvent e)
This event is ignored (not required).
|
| void | mousePressed(MouseEvent e)
Handle a mouse press event - if the user is NOT resizing a column and NOT dragging a column
then give visual feedback that the column header has been pressed.
|
| void | mouseReleased(MouseEvent e)
When the user releases the mouse button, we attempt to sort the table.
|
| void | setTableModel(SortableTableModel model)
Sets the table model for the listener.
|
Parameters: model the model. renderer the renderer.
Parameters: e the mouse event.
Parameters: e the mouse event.
Parameters: e the mouse event.
Parameters: e the mouse event.
Parameters: e the mouse event.
Parameters: e the mouse event.
Parameters: e the mouse event.
Parameters: model the model.