fri.gui.swing.polytreetable
Class BasicPolyTreeTableUI.PolyTreeTableMouseInputHandler
java.lang.Object
|
+--javax.swing.plaf.basic.BasicTableUI.MouseInputHandler
|
+--fri.gui.swing.polytreetable.BasicPolyTreeTableUI.PolyTreeTableMouseInputHandler
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.MouseInputListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
- Enclosing class:
- BasicPolyTreeTableUI
- public class BasicPolyTreeTableUI.PolyTreeTableMouseInputHandler
- extends javax.swing.plaf.basic.BasicTableUI.MouseInputHandler
Method Summary |
void |
mouseClicked(java.awt.event.MouseEvent e)
Implemented to change the root at double click. |
void |
mouseDragged(java.awt.event.MouseEvent e)
Implemented to avoid drag seection (if drag and drop will be used). |
void |
mousePressed(java.awt.event.MouseEvent e)
Implemented to expand and collapse tree and to
avoid selection in other columns than tree column. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Overridden to do nothing. |
Methods inherited from class javax.swing.plaf.basic.BasicTableUI.MouseInputHandler |
mouseEntered, mouseExited, mouseMoved |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicPolyTreeTableUI.PolyTreeTableMouseInputHandler
public BasicPolyTreeTableUI.PolyTreeTableMouseInputHandler()
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Implemented to avoid drag seection (if drag and drop will be used).
- Specified by:
mouseDragged
in interface java.awt.event.MouseMotionListener
- Overrides:
mouseDragged
in class javax.swing.plaf.basic.BasicTableUI.MouseInputHandler
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Implemented to change the root at double click.
- Specified by:
mouseClicked
in interface java.awt.event.MouseListener
- Overrides:
mouseClicked
in class javax.swing.plaf.basic.BasicTableUI.MouseInputHandler
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Implemented to expand and collapse tree and to
avoid selection in other columns than tree column.
- Specified by:
mousePressed
in interface java.awt.event.MouseListener
- Overrides:
mousePressed
in class javax.swing.plaf.basic.BasicTableUI.MouseInputHandler
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Overridden to do nothing. If not overridden, expansion will set the selection.
- Specified by:
mouseReleased
in interface java.awt.event.MouseListener
- Overrides:
mouseReleased
in class javax.swing.plaf.basic.BasicTableUI.MouseInputHandler