Package docking.widgets
Class JTreeMouseListenerDelegate
- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- docking.widgets.JTreeMouseListenerDelegate
-
- All Implemented Interfaces:
java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,java.util.EventListener
public class JTreeMouseListenerDelegate extends java.awt.event.MouseAdapter
-
-
Constructor Summary
Constructors Constructor Description JTreeMouseListenerDelegate(javax.swing.JTree tree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMouseListener(java.awt.event.MouseListener listener)
void
addMouseListeners(java.util.List<java.awt.event.MouseListener> listenerList)
protected void
fireMouseClicked(java.awt.event.MouseEvent e)
protected void
fireMousePressed(java.awt.event.MouseEvent e)
protected void
fireMouseReleased(java.awt.event.MouseEvent e)
java.awt.event.MouseListener[]
getMouseListeners()
protected boolean
handlePopupTrigger(java.awt.event.MouseEvent e)
protected boolean
isPotentialDragSelection(java.awt.event.MouseEvent e)
void
mouseClicked(java.awt.event.MouseEvent e)
void
mouseEntered(java.awt.event.MouseEvent e)
void
mouseExited(java.awt.event.MouseEvent e)
void
mousePressed(java.awt.event.MouseEvent e)
void
mouseReleased(java.awt.event.MouseEvent e)
void
removeMouseListener(java.awt.event.MouseListener listener)
protected void
setSelectedPathNow(javax.swing.tree.TreePath path)
This method is overridden by subclasses.
-
-
-
Method Detail
-
getMouseListeners
public java.awt.event.MouseListener[] getMouseListeners()
-
addMouseListener
public void addMouseListener(java.awt.event.MouseListener listener)
-
removeMouseListener
public void removeMouseListener(java.awt.event.MouseListener listener)
-
addMouseListeners
public void addMouseListeners(java.util.List<java.awt.event.MouseListener> listenerList)
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
- Overrides:
mouseEntered
in classjava.awt.event.MouseAdapter
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
- Overrides:
mouseExited
in classjava.awt.event.MouseAdapter
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Overrides:
mousePressed
in classjava.awt.event.MouseAdapter
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
- Overrides:
mouseClicked
in classjava.awt.event.MouseAdapter
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Overrides:
mouseReleased
in classjava.awt.event.MouseAdapter
-
fireMousePressed
protected void fireMousePressed(java.awt.event.MouseEvent e)
-
fireMouseClicked
protected void fireMouseClicked(java.awt.event.MouseEvent e)
-
fireMouseReleased
protected void fireMouseReleased(java.awt.event.MouseEvent e)
-
handlePopupTrigger
protected boolean handlePopupTrigger(java.awt.event.MouseEvent e)
-
isPotentialDragSelection
protected boolean isPotentialDragSelection(java.awt.event.MouseEvent e)
-
setSelectedPathNow
protected void setSelectedPathNow(javax.swing.tree.TreePath path)
This method is overridden by subclasses.
-
-