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.

  • Class
    Description
    Instances 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 the ExpandListener interface.
    Instances of this class are sent as a result of ExpandItems being expanded or collapsed.
    Classes which implement this interface provide methods that deal with the expanding and collapsing of ExpandItems.
    This adapter class provides default implementations for the methods described by the FocusListener 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 the KeyListener 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 the MenuListener 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 the MouseListener 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 the MouseTrackListener 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 the SelectionListener 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 the ShellListener 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 of Shells.
    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 the TreeListener 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 events
    Classes which implement this interface provide a method that deals with the events that are generated when text is about to be modified.