Uses of Interface
java.awt.event.MouseListener
-
Packages that use MouseListener Package Description 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 Modifier and Type Class and Description class
AWTEventMulticaster
AWTEventMulticaster
implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in thejava.awt.event
package.Methods in java.awt that return MouseListener Modifier and Type Method and Description static MouseListener
AWTEventMulticaster. add(MouseListener a, MouseListener b)
Adds mouse-listener-a with mouse-listener-b and returns the resulting multicast listener.MouseListener[]
TrayIcon. getMouseListeners()
Returns an array of all the mouse listeners registered on thisTrayIcon
.MouseListener[]
Component. getMouseListeners()
Returns an array of all the mouse listeners registered on this component.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 Modifier and Type Method and Description static MouseListener
AWTEventMulticaster. add(MouseListener a, MouseListener b)
Adds mouse-listener-a with mouse-listener-b and returns the resulting multicast listener.void
TrayIcon. addMouseListener(MouseListener listener)
Adds the specified mouse listener to receive mouse events from thisTrayIcon
.void
Component. addMouseListener(MouseListener l)
Adds the specified mouse listener to receive mouse events from this component.static MouseListener
AWTEventMulticaster. remove(MouseListener l, MouseListener oldl)
Removes the old mouse-listener from mouse-listener-l and returns the resulting multicast listener.void
TrayIcon. removeMouseListener(MouseListener listener)
Removes the specified mouse listener.void
Component. removeMouseListener(MouseListener l)
Removes the specified mouse listener so that it no longer receives mouse events from this component. -
Uses of MouseListener in java.awt.event
Classes in java.awt.event that implement MouseListener Modifier and Type Class and Description class
MouseAdapter
An abstract adapter class for receiving mouse events.
-