Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

Uses of Class
java.awt.event.MouseEvent

Packages that use MouseEvent
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
 

Uses of MouseEvent in java.awt
 

Methods in java.awt with parameters of type MouseEvent
protected  void Component.processMouseEvent(MouseEvent e)
          Processes mouse events occurring on this component by dispatching them to any registered MouseListener objects.
protected  void Component.processMouseMotionEvent(MouseEvent e)
          Processes mouse motion events occurring on this component by dispatching them to any registered MouseMotionListener objects.
 void AWTEventMulticaster.mouseClicked(MouseEvent e)
          Handles the mouseClicked event by invoking the mouseClicked methods on listener-a and listener-b.
 void AWTEventMulticaster.mousePressed(MouseEvent e)
          Handles the mousePressed event by invoking the mousePressed methods on listener-a and listener-b.
 void AWTEventMulticaster.mouseReleased(MouseEvent e)
          Handles the mouseReleased event by invoking the mouseReleased methods on listener-a and listener-b.
 void AWTEventMulticaster.mouseEntered(MouseEvent e)
          Handles the mouseEntered event by invoking the mouseEntered methods on listener-a and listener-b.
 void AWTEventMulticaster.mouseExited(MouseEvent e)
          Handles the mouseExited event by invoking the mouseExited methods on listener-a and listener-b.
 void AWTEventMulticaster.mouseDragged(MouseEvent e)
          Handles the mouseDragged event by invoking the mouseDragged methods on listener-a and listener-b.
 void AWTEventMulticaster.mouseMoved(MouseEvent e)
          Handles the mouseMoved event by invoking the mouseMoved methods on listener-a and listener-b.
 

Uses of MouseEvent in java.awt.event
 

Subclasses of MouseEvent in java.awt.event
 class MouseWheelEvent
          An event which indicates that the mouse wheel was rotated in a component.
 

Methods in java.awt.event with parameters of type MouseEvent
 void MouseMotionAdapter.mouseDragged(MouseEvent e)
          Invoked when a mouse button is pressed on a component and then dragged.
 void MouseMotionAdapter.mouseMoved(MouseEvent e)
          Invoked when the mouse button has been moved on a component (with no buttons no down).
 void MouseMotionListener.mouseDragged(MouseEvent e)
          Invoked when a mouse button is pressed on a component and then dragged.
 void MouseMotionListener.mouseMoved(MouseEvent e)
          Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed.
 void MouseListener.mouseClicked(MouseEvent e)
          Invoked when the mouse button has been clicked (pressed and released) on a component.
 void MouseListener.mousePressed(MouseEvent e)
          Invoked when a mouse button has been pressed on a component.
 void MouseListener.mouseReleased(MouseEvent e)
          Invoked when a mouse button has been released on a component.
 void MouseListener.mouseEntered(MouseEvent e)
          Invoked when the mouse enters a component.
 void MouseListener.mouseExited(MouseEvent e)
          Invoked when the mouse exits a component.
 void MouseAdapter.mouseClicked(MouseEvent e)
          Invoked when the mouse has been clicked on a component.
 void MouseAdapter.mousePressed(MouseEvent e)
          Invoked when a mouse button has been pressed on a component.
 void MouseAdapter.mouseReleased(MouseEvent e)
          Invoked when a mouse button has been released on a component.
 void MouseAdapter.mouseEntered(MouseEvent e)
          Invoked when the mouse enters a component.
 void MouseAdapter.mouseExited(MouseEvent e)
          Invoked when the mouse exits a component.
 


JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.