Module java.desktop

Interface MouseListener

    • Method Detail

      • mouseClicked

        void mouseClicked​(MouseEvent e)
        Invoked when the mouse button has been clicked (pressed and released) on a component.
        Parameters:
        e - the event to be processed
      • mousePressed

        void mousePressed​(MouseEvent e)
        Invoked when a mouse button has been pressed on a component.
        Parameters:
        e - the event to be processed
      • mouseReleased

        void mouseReleased​(MouseEvent e)
        Invoked when a mouse button has been released on a component.
        Parameters:
        e - the event to be processed
      • mouseEntered

        void mouseEntered​(MouseEvent e)
        Invoked when the mouse enters a component.
        Parameters:
        e - the event to be processed
      • mouseExited

        void mouseExited​(MouseEvent e)
        Invoked when the mouse exits a component.
        Parameters:
        e - the event to be processed