Uses of Interface
java.awt.event.MouseListener
Package
Description
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Drag and Drop is a direct manipulation gesture found in many Graphical User
Interface systems that provides a mechanism to transfer information between
two entities logically associated with presentation elements in the GUI.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides for events fired by Swing components.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
Synth is a skinnable look and feel in which all painting is delegated.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit
and supporting classes for creating
HTML text editors.-
Uses of MouseListener in com.sun.java.accessibility.util
Modifier and TypeMethodDescriptionstatic void
AWTEventMonitor.addMouseListener
(MouseListener l) Adds the specified listener to receive allMOUSE
events on each component instance in the Java Virtual Machine when they occur.static void
AWTEventMonitor.removeMouseListener
(MouseListener l) Removes the specified listener so it no longer receivesMOUSE
events when they occur. -
Uses of MouseListener in java.awt
Modifier and TypeClassDescriptionclass
AWTEventMulticaster
implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in thejava.awt.event
package.Modifier and TypeMethodDescriptionstatic MouseListener
AWTEventMulticaster.add
(MouseListener a, MouseListener b) Adds mouse-listener-a with mouse-listener-b and returns the resulting multicast listener.Component.getMouseListeners()
Returns an array of all the mouse listeners registered on this component.TrayIcon.getMouseListeners()
Returns an array of all the mouse listeners registered on thisTrayIcon
.static MouseListener
AWTEventMulticaster.remove
(MouseListener l, MouseListener oldl) Removes the old mouse-listener from mouse-listener-l and returns the resulting multicast listener.Modifier and TypeMethodDescriptionstatic MouseListener
AWTEventMulticaster.add
(MouseListener a, MouseListener b) Adds mouse-listener-a with mouse-listener-b and returns the resulting multicast listener.void
Component.addMouseListener
(MouseListener l) Adds the specified mouse listener to receive mouse events from this component.void
TrayIcon.addMouseListener
(MouseListener listener) Adds the specified mouse listener to receive mouse events from thisTrayIcon
.static MouseListener
AWTEventMulticaster.remove
(MouseListener l, MouseListener oldl) Removes the old mouse-listener from mouse-listener-l and returns the resulting multicast listener.void
Component.removeMouseListener
(MouseListener l) Removes the specified mouse listener so that it no longer receives mouse events from this component.void
TrayIcon.removeMouseListener
(MouseListener listener) Removes the specified mouse listener. -
Uses of MouseListener in java.awt.dnd
Modifier and TypeClassDescriptionclass
This abstract subclass ofDragGestureRecognizer
defines aDragGestureRecognizer
for mouse-based gestures. -
Uses of MouseListener in java.awt.event
Modifier and TypeClassDescriptionclass
An abstract adapter class for receiving mouse events. -
Uses of MouseListener in javax.swing
Modifier and TypeClassDescriptionfinal class
Manages all theToolTips
in the system. -
Uses of MouseListener in javax.swing.event
Modifier and TypeInterfaceDescriptioninterface
A listener implementing all the methods in both theMouseListener
andMouseMotionListener
interfaces.Modifier and TypeClassDescriptionclass
An empty implementation of theMouseInputListener
interface, provided as a convenience to simplify the task of creating listeners, by extending and implementing only the methods of interest. -
Uses of MouseListener in javax.swing.plaf.basic
Modifier and TypeClassDescriptionclass
Button Listenerprotected class
A listener to be registered upon the combo box (not its popup menu) to handle mouse events that affect the state of the popup menu.protected class
This listener hides the popup when the mouse is released in the list.class
Listens for mouse movements and acts on them.protected class
A double click listener.protected class
Listens for border adjustments.protected class
Glass pane dispatcher.class
Mouse input, and focus handling for JList.protected class
Deprecated, for removal: This API element is subject to removal in a future version.protected class
Instantiated and used by a menu item to handle the current menu selection from mouse events.protected class
Listener for cursor keys.protected class
Track mouse drags.class
Track mouse movements.protected class
MouseHandler is responsible for converting mouse events (released, dragged...) into the appropriate DragController methods.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.static class
Default implementation of the interfaceCaret
.class
This class should be treated as a "protected" inner class.class
TreeMouseListener is responsible for updating the selection based on mouse events.class
MouseInputHandler handles passing all mouse events, including mouse motion events, until the mouse is released to the destination it is constructed with.Modifier and TypeFieldDescriptionprotected MouseListener
BasicComboPopup.listMouseListener
This protected field is implementation specific.protected MouseListener
BasicComboPopup.mouseListener
This protected field is implementation specific.protected MouseListener
BasicTabbedPaneUI.mouseListener
Mouse change listenerprotected MouseListener
BasicComboBoxUI.popupMouseListener
TheMouseListener
listens to events.Modifier and TypeMethodDescriptionprotected MouseListener
BasicFileChooserUI.createDoubleClickListener
(JFileChooser fc, JList<?> list) Creates a double click listener.protected MouseListener
BasicComboPopup.createListMouseListener()
Creates a mouse listener that watches for mouse events in the popup's list.protected MouseListener
BasicComboPopup.createMouseListener()
Creates a listener that will watch for mouse-press and release events on the combo box.protected MouseListener
BasicTabbedPaneUI.createMouseListener()
Creates a mouse listener.protected MouseListener
BasicTreeUI.createMouseListener()
Creates the listener responsible for updating the selection based on mouse events.BasicComboPopup.getMouseListener()
Implementation of ComboPopup.getMouseListener().ComboPopup.getMouseListener()
Returns a mouse listener that will be added to the combo box or null. -
Uses of MouseListener in javax.swing.plaf.metal
Modifier and TypeClassDescriptionprotected class
Deprecated.As of JDK version 9.protected class
DockingListener
forMetalToolBarUI
. -
Uses of MouseListener in javax.swing.plaf.synth
Modifier and TypeMethodDescriptionprotected MouseListener
SynthTabbedPaneUI.createMouseListener()
Creates a mouse listener. -
Uses of MouseListener in javax.swing.text
-
Uses of MouseListener in javax.swing.text.html
Modifier and TypeClassDescriptionprotected class
MouseEventListener class to handle form submissions when an input with type equal to image is clicked on.static class
Class to watch the associated component and fire hyperlink events on it when appropriate.