Uses of Class
org.eclipse.swt.events.MouseEvent
-
Uses of MouseEvent in org.eclipse.swt.events
Modifier and TypeMethodDescriptionvoid
MouseAdapter.mouseDoubleClick
(MouseEvent e) Sent when a mouse button is pressed twice within the (operating system specified) double click period.void
MouseListener.mouseDoubleClick
(MouseEvent e) Sent when a mouse button is pressed twice within the (operating system specified) double click period.void
MouseAdapter.mouseDown
(MouseEvent e) Sent when a mouse button is pressed.void
MouseListener.mouseDown
(MouseEvent e) Sent when a mouse button is pressed.void
MouseTrackAdapter.mouseEnter
(MouseEvent e) Sent when the mouse pointer passes into the area of the screen covered by a control.void
MouseTrackListener.mouseEnter
(MouseEvent e) Sent when the mouse pointer passes into the area of the screen covered by a control.void
MouseTrackAdapter.mouseExit
(MouseEvent e) Sent when the mouse pointer passes out of the area of the screen covered by a control.void
MouseTrackListener.mouseExit
(MouseEvent e) Sent when the mouse pointer passes out of the area of the screen covered by a control.void
MouseTrackAdapter.mouseHover
(MouseEvent e) Sent when the mouse pointer hovers (that is, stops moving for an (operating system specified) period of time) over a control.void
MouseTrackListener.mouseHover
(MouseEvent e) Sent when the mouse pointer hovers (that is, stops moving for an (operating system specified) period of time) over a control.void
MouseMoveListener.mouseMove
(MouseEvent e) Sent when the mouse moves.void
MouseAdapter.mouseUp
(MouseEvent e) Sent when a mouse button is released.void
MouseListener.mouseUp
(MouseEvent e) Sent when a mouse button is released.Modifier and TypeMethodDescriptionstatic MouseListener
MouseListener.mouseDoubleClickAdapter
(Consumer<MouseEvent> c) Static helper method to create aMouseListener
for theMouseListener.mouseDoubleClick(MouseEvent e)
) method with a lambda expression.static MouseListener
MouseListener.mouseDownAdapter
(Consumer<MouseEvent> c) Static helper method to create aMouseListener
for theMouseListener.mouseDown(MouseEvent e)
) method with a lambda expression.static MouseTrackListener
MouseTrackListener.mouseEnterAdapter
(Consumer<MouseEvent> c) Static helper method to create aMouseTrackListener
for theMouseTrackListener.mouseEnter(MouseEvent e)
) method, given a lambda expression or a method reference.static MouseTrackListener
MouseTrackListener.mouseExitAdapter
(Consumer<MouseEvent> c) Static helper method to create aMouseTrackListener
for theMouseTrackListener.mouseExit(MouseEvent e)
) method, given a lambda expression or a method reference.static MouseTrackListener
MouseTrackListener.mouseHoverAdapter
(Consumer<MouseEvent> c) Static helper method to create aMouseTrackListener
for theMouseTrackListener.mouseHover(MouseEvent e)
) method, given a lambda expression or a method reference.static MouseListener
MouseListener.mouseUpAdapter
(Consumer<MouseEvent> c) Static helper method to create aMouseListener
for theMouseListener.mouseUp(MouseEvent e)
) method with a lambda expression.