Eclipse Platform
Release 3.7

Package org.eclipse.swt.events

SWT typed listener support.

See:
          Description

Interface Summary
ArmListener 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.
ControlListener Classes which implement this interface provide methods that deal with the events that are generated by moving and resizing controls.
DisposeListener Classes which implement this interface provide a method that deals with the event that is generated when a widget is disposed.
DragDetectListener Classes which implement this interface provide methods that deal with the events that are generated when a drag gesture is detected.
ExpandListener Classes which implement this interface provide methods that deal with the expanding and collapsing of ExpandItems.
FocusListener Classes which implement this interface provide methods that deal with the events that are generated as controls gain and lose focus.
GestureListener 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.
HelpListener 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.
KeyListener Classes which implement this interface provide methods that deal with the events that are generated as keys are pressed on the system keyboard.
MenuDetectListener 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.
MenuListener Classes which implement this interface provide methods that deal with the hiding and showing of menus.
ModifyListener Classes which implement this interface provide a method that deals with the events that are generated when text is modified.
MouseListener Classes which implement this interface provide methods that deal with the events that are generated as mouse buttons are pressed.
MouseMoveListener Classes which implement this interface provide a method that deals with the events that are generated as the mouse pointer moves.
MouseTrackListener Classes which implement this interface provide methods that deal with the events that are generated as the mouse pointer passes (or hovers) over controls.
MouseWheelListener Classes which implement this interface provide a method that deals with the event that is generated as the mouse wheel is scrolled.
PaintListener Classes which implement this interface provide methods that deal with the events that are generated when the control needs to be painted.
SelectionListener Classes which implement this interface provide methods that deal with the events that are generated when selection occurs in a control.
ShellListener Classes which implement this interface provide methods that deal with changes in state of Shells.
TouchListener Classes which implement this interface provide methods that deal with the events that are generated as touches occur on a touch-aware input surface.
TraverseListener Classes which implement this interface provide a method that deals with the events that are generated when a traverse event occurs in a control.
TreeListener Classes which implement this interface provide methods that deal with the expanding and collapsing of tree branches.
VerifyListener Classes which implement this interface provide a method that deals with the events that are generated when text is about to be modified.
 

Class Summary
ArmEvent Instances of this class are sent as a result of a widget such as a menu item being armed.
ControlAdapter This adapter class provides default implementations for the methods described by the ControlListener interface.
ControlEvent Instances of this class are sent as a result of controls being moved or resized.
DisposeEvent Instances of this class are sent as a result of widgets being disposed.
DragDetectEvent Instances of this class are sent as a result of a drag gesture.
ExpandAdapter This adapter class provides default implementations for the methods described by the ExpandListener interface.
ExpandEvent Instances of this class are sent as a result of ExpandItems being expanded or collapsed.
FocusAdapter This adapter class provides default implementations for the methods described by the FocusListener interface.
FocusEvent Instances of this class are sent as a result of widgets gaining and losing focus.
GestureEvent Instances of this class are sent in response to touch-based gestures that are triggered by the user.
HelpEvent Instances of this class are sent as a result of help being requested for a widget.
KeyAdapter This adapter class provides default implementations for the methods described by the KeyListener interface.
KeyEvent Instances of this class are sent as a result of keys being pressed and released on the keyboard.
MenuAdapter This adapter class provides default implementations for the methods described by the MenuListener interface.
MenuDetectEvent Instances of this class are sent whenever the platform- specific trigger for showing a context menu is detected.
MenuEvent Instances of this class are sent as a result of menus being shown and hidden.
ModifyEvent Instances of this class are sent as a result of text being modified.
MouseAdapter This adapter class provides default implementations for the methods described by the MouseListener interface.
MouseEvent Instances of this class are sent whenever mouse related actions occur.
MouseTrackAdapter This adapter class provides default implementations for the methods described by the MouseTrackListener interface.
PaintEvent Instances of this class are sent as a result of visible areas of controls requiring re-painting.
SelectionAdapter This adapter class provides default implementations for the methods described by the SelectionListener interface.
SelectionEvent Instances of this class are sent as a result of widgets being selected.
ShellAdapter This adapter class provides default implementations for the methods described by the ShellListener interface.
ShellEvent Instances of this class are sent as a result of operations being performed on shells.
TouchEvent Instances of this class are sent in response to a touch-based input source being touched.
TraverseEvent Instances of this class are sent as a result of widget traversal actions.
TreeAdapter This adapter class provides default implementations for the methods described by the TreeListener interface.
TreeEvent Instances of this class are sent as a result of trees being expanded and collapsed.
TypedEvent This is the super class for all typed event classes provided by SWT.
VerifyEvent Instances of this class are sent as a result of widgets handling keyboard events
 

Package org.eclipse.swt.events Description

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.


Eclipse Platform
Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.