Package org.eclipse.swt.events
package org.eclipse.swt.events
SWT typed listener support.
Package Specification
This package provides the typed events and listener interfaces and, where appropriate, matching adapter classes which make up the "high level" typed listener support provided by SWT.
For contrast, see also the untyped listener support provided
by class org.eclipse.swt.widgets.Event
and interface
org.eclipse.swt.widgets.Listener
, and the
addListener
and removeListener
methods in
class org.eclipse.swt.widgets.Widget
.
-
ClassDescriptionInstances of this class are sent as a result of a widget such as a menu item being armed.Classes which implement this interface provide a method that deals with the event that is generated when a widget, such as a menu item, is armed.This adapter class provides default implementations for the methods described by the
ControlListener
interface.Instances of this class are sent as a result of controls being moved or resized.Classes which implement this interface provide methods that deal with the events that are generated by moving and resizing controls.Instances of this class are sent as a result of widgets being disposed.Classes which implement this interface provide a method that deals with the event that is generated when a widget is disposed.Instances of this class are sent as a result of a drag gesture.Classes which implement this interface provide methods that deal with the events that are generated when a drag gesture is detected.This adapter class provides default implementations for the methods described by theExpandListener
interface.Instances of this class are sent as a result ofExpandItem
s being expanded or collapsed.Classes which implement this interface provide methods that deal with the expanding and collapsing ofExpandItem
s.This adapter class provides default implementations for the methods described by theFocusListener
interface.Instances of this class are sent as a result of widgets gaining and losing focus.Classes which implement this interface provide methods that deal with the events that are generated as controls gain and lose focus.Instances of this class are sent in response to touch-based gestures that are triggered by the user.Classes which implement this interface provide methods that deal with the events that are generated as gestures are triggered by the user interacting with a touch pad or touch screen.Instances of this class are sent as a result of help being requested for a widget.Classes which implement this interface provide a method that deals with the event that is generated when help is requested for a control, typically when the user presses F1.This adapter class provides default implementations for the methods described by theKeyListener
interface.Instances of this class are sent as a result of keys being pressed and released on the keyboard.Classes which implement this interface provide methods that deal with the events that are generated as keys are pressed on the system keyboard.This adapter class provides default implementations for the methods described by theMenuListener
interface.Instances of this class are sent whenever the platform- specific trigger for showing a context menu is detected.Classes which implement this interface provide methods that deal with the events that are generated when the platform-specific trigger for showing a context menu is detected.Instances of this class are sent as a result of menus being shown and hidden.Classes which implement this interface provide methods that deal with the hiding and showing of menus.Instances of this class are sent as a result of text being modified.Classes which implement this interface provide a method that deals with the events that are generated when text is modified.This adapter class provides default implementations for the methods described by theMouseListener
interface.Instances of this class are sent whenever mouse related actions occur.Classes which implement this interface provide methods that deal with the events that are generated as mouse buttons are pressed.Classes which implement this interface provide a method that deals with the events that are generated as the mouse pointer moves.This adapter class provides default implementations for the methods described by theMouseTrackListener
interface.Classes which implement this interface provide methods that deal with the events that are generated as the mouse pointer passes (or hovers) over controls.Classes which implement this interface provide a method that deals with the event that is generated as the mouse wheel is scrolled.Instances of this class are sent as a result of visible areas of controls requiring re-painting.Classes which implement this interface provide methods that deal with the events that are generated when the control needs to be painted.This event is sent to SegmentListeners when a text content is to be modified.This listener interface may be implemented in order to receive SegmentEvents.This adapter class provides default implementations for the methods described by theSelectionListener
interface.Instances of this class are sent as a result of widgets being selected.Classes which implement this interface provide methods that deal with the events that are generated when selection occurs in a control.This adapter class provides default implementations for the methods described by theShellListener
interface.Instances of this class are sent as a result of operations being performed on shells.Classes which implement this interface provide methods that deal with changes in state ofShell
s.Instances of this class are sent in response to a touch-based input source being touched.Classes which implement this interface provide methods that deal with the events that are generated as touches occur on a touch-aware input surface.Instances of this class are sent as a result of widget traversal actions.Classes which implement this interface provide a method that deals with the events that are generated when a traverse event occurs in a control.This adapter class provides default implementations for the methods described by theTreeListener
interface.Instances of this class are sent as a result of trees being expanded and collapsed.Classes which implement this interface provide methods that deal with the expanding and collapsing of tree branches.This is the super class for all typed event classes provided by SWT.Instances of this class are sent as a result of widgets handling keyboard eventsClasses which implement this interface provide a method that deals with the events that are generated when text is about to be modified.