Interface JmriMouseListener

    • Method Detail

      • adapt

        static java.awt.event.MouseListener adapt​(JmriMouseListener listener)
        Adapt a JmriMouseListener to a MouseListener.
        Parameters:
        listener - the JmriMouseListener
        Returns:
        the MouseListener
      • mouseClicked

        void mouseClicked​(JmriMouseEvent 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​(JmriMouseEvent e)
        Invoked when a mouse button has been pressed on a component.
        Parameters:
        e - the event to be processed
      • mouseReleased

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

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

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