public static class VFSDirectoryEntryTable.ColumnDragHook
extends java.lang.Object
implements javax.swing.event.MouseInputListener
| Constructor and Description |
|---|
ColumnDragHook(javax.swing.table.JTableHeader header) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
installHook() |
protected void |
installMouseHook() |
protected void |
installMouseMotionHook() |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseDragged(java.awt.event.MouseEvent e)
Implemented to pass the event to the original only if the
mouseX doesn't lead to dragging the column over the first.
|
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e)
Implemented to do some tweaks/bookkeeping before/after
passing the event to the original
- temporarily disallow reordering if hit on first column
- calculate the max mouseX that's allowable in dragging to the left
|
void |
mouseReleased(java.awt.event.MouseEvent e) |
void |
uninstallHook() |
protected void |
uninstallMouseHook() |
protected void |
uninstallMouseMotionHook() |
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenerprotected void installHook()
protected void installMouseMotionHook()
protected void installMouseHook()
public void uninstallHook()
protected void uninstallMouseMotionHook()
protected void uninstallMouseHook()