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 Interface
java.awt.event.MouseListener

Packages that use MouseListener
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 MouseListener in java.awt
 

Classes in java.awt that implement MouseListener
 class AWTEventMulticaster
          A class which implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in the java.awt.event package.
 

Methods in java.awt that return MouseListener
 MouseListener[] Component.getMouseListeners()
          Returns an array of all the mouse listeners registered on this component.
static MouseListener AWTEventMulticaster.add(MouseListener a, MouseListener b)
          Adds mouse-listener-a with mouse-listener-b and returns the resulting multicast listener.
static MouseListener AWTEventMulticaster.remove(MouseListener l, MouseListener oldl)
          Removes the old mouse-listener from mouse-listener-l and returns the resulting multicast listener.
 

Methods in java.awt with parameters of type MouseListener
 void Component.addMouseListener(MouseListener l)
          Adds the specified mouse listener to receive mouse events from this component.
 void Component.removeMouseListener(MouseListener l)
          Removes the specified mouse listener so that it no longer receives mouse events from this component.
static MouseListener AWTEventMulticaster.add(MouseListener a, MouseListener b)
          Adds mouse-listener-a with mouse-listener-b and returns the resulting multicast listener.
static MouseListener AWTEventMulticaster.remove(MouseListener l, MouseListener oldl)
          Removes the old mouse-listener from mouse-listener-l and returns the resulting multicast listener.
 

Uses of MouseListener in java.awt.event
 

Classes in java.awt.event that implement MouseListener
 class MouseAdapter
          An abstract adapter class for receiving mouse events.
 


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.