public class BasicTableHeaderUI.MouseInputHandler extends Object implements MouseInputListener
Constructor and Description |
---|
BasicTableHeaderUI.MouseInputHandler() |
Modifier and Type | Method and Description |
---|---|
void |
mouseClicked(MouseEvent e)
Returns without action, part of the MouseInputListener interface.
|
void |
mouseDragged(MouseEvent e)
If being in the resizing mode, handle resizing.
|
void |
mouseEntered(MouseEvent e)
Returns without action, part of the MouseInputListener interface.
|
void |
mouseExited(MouseEvent e)
Reset drag information of the column resizing.
|
void |
mouseMoved(MouseEvent e)
Change the mouse cursor if the mouse if above the column boundary.
|
void |
mousePressed(MouseEvent e)
Starts the dragging/resizing procedure.
|
void |
mouseReleased(MouseEvent e)
Set all column preferred width to the current width to prevend abrupt
width changes during the next resize.
|
public BasicTableHeaderUI.MouseInputHandler()
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
e
- the MouseEvent
indicating the clickpublic void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
e
- the MouseEvent
indicating the motionpublic void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
e
- the MouseEvent
for the entrypublic void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
e
- the MouseEvent
for the exitpublic void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
e
- the MouseEvent
indicating the motionpublic void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
e
- the MouseEvent
for the presspublic void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
e
- the MouseEvent
for the release