Class 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 Detail

      • JTreeMouseListenerDelegate

        public JTreeMouseListenerDelegate​(javax.swing.JTree tree)
    • 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 interface java.awt.event.MouseListener
        Overrides:
        mouseEntered in class java.awt.event.MouseAdapter
      • mouseExited

        public void mouseExited​(java.awt.event.MouseEvent e)
        Specified by:
        mouseExited in interface java.awt.event.MouseListener
        Overrides:
        mouseExited in class java.awt.event.MouseAdapter
      • mousePressed

        public void mousePressed​(java.awt.event.MouseEvent e)
        Specified by:
        mousePressed in interface java.awt.event.MouseListener
        Overrides:
        mousePressed in class java.awt.event.MouseAdapter
      • mouseClicked

        public void mouseClicked​(java.awt.event.MouseEvent e)
        Specified by:
        mouseClicked in interface java.awt.event.MouseListener
        Overrides:
        mouseClicked in class java.awt.event.MouseAdapter
      • mouseReleased

        public void mouseReleased​(java.awt.event.MouseEvent e)
        Specified by:
        mouseReleased in interface java.awt.event.MouseListener
        Overrides:
        mouseReleased in class java.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.