|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.plaf.basic.BasicTableHeaderUI.MouseInputHandler
public class BasicTableHeaderUI.MouseInputHandler
Handles column movement and rearrangement by mouse. The same instance works both as mouse listener and the mouse motion listner.
| Constructor Summary | |
|---|---|
BasicTableHeaderUI.MouseInputHandler()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicTableHeaderUI.MouseInputHandler()
| Method Detail |
|---|
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||