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 MouseListenere - the MouseEvent indicating the clickpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenere - the MouseEvent indicating the motionpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenere - the MouseEvent for the entrypublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenere - the MouseEvent for the exitpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenere - the MouseEvent indicating the motionpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenere - the MouseEvent for the presspublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenere - the MouseEvent for the release