javax.swing.plaf.basic
Class BasicTableHeaderUI.MouseInputHandler
public
class
BasicTableHeaderUI.MouseInputHandler
extends Object
implements MouseInputListener
Handles column movement and rearrangement by mouse. The same instance works
both as mouse listener and the mouse motion listner.
Method Summary |
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 void mouseClicked(MouseEvent e)
Returns without action, part of the MouseInputListener interface.
public void mouseDragged(MouseEvent e)
If being in the resizing mode, handle resizing.
public void mouseEntered(MouseEvent e)
Returns without action, part of the MouseInputListener interface.
public void mouseExited(MouseEvent e)
Reset drag information of the column resizing.
public void mouseMoved(MouseEvent e)
Change the mouse cursor if the mouse if above the column boundary.
public void mousePressed(MouseEvent e)
Starts the dragging/resizing procedure.
public void mouseReleased(MouseEvent e)
Set all column preferred width to the current width to prevend abrupt
width changes during the next resize.