Interface MouseMotionListener

All Known Implementing Classes:
MouseMotionListener.Stub, ScrollBar.ThumbDragger

public interface MouseMotionListener
A listener interface for receiving mouse motion events.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    An empty implementation of MouseMotionListener for convenience.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the mouse has moved over the listened to object while a button was pressed.
    void
    Called when the mouse has entered the listened to object.
    void
    Called when the mouse has exited the listened to object.
    void
    Called when the mouse hovers over the listened to object.
    void
    Called when the mouse has moved over the listened to object.
  • Method Details

    • mouseDragged

      void mouseDragged(MouseEvent me)
      Called when the mouse has moved over the listened to object while a button was pressed.
      Parameters:
      me - The MouseEvent object
    • mouseEntered

      void mouseEntered(MouseEvent me)
      Called when the mouse has entered the listened to object.
      Parameters:
      me - The MouseEvent object
    • mouseExited

      void mouseExited(MouseEvent me)
      Called when the mouse has exited the listened to object.
      Parameters:
      me - The MouseEvent object
    • mouseHover

      void mouseHover(MouseEvent me)
      Called when the mouse hovers over the listened to object.
      Parameters:
      me - The MouseEvent object
    • mouseMoved

      void mouseMoved(MouseEvent me)
      Called when the mouse has moved over the listened to object.
      Parameters:
      me - The MouseEvent object