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.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | 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. |
| public interface | ControlListener
Classes which implement this interface provide methods that deal with the events that are generated by moving and resizing controls. |
| public interface | DisposeListener
Classes which implement this interface provide a method that deals with the event that is generated when a widget is disposed. |
| public interface | DragDetectListener
Classes which implement this interface provide methods that deal with the events that are generated when a drag gesture is detected. |
| public interface | ExpandListener
Classes which implement this interface provide methods
that deal with the expanding and collapsing of |
| public interface | FocusListener
Classes which implement this interface provide methods that deal with the events that are generated as controls gain and lose focus. |
| public interface | 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. |
| public interface | 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. |
| public interface | KeyListener
Classes which implement this interface provide methods that deal with the events that are generated as keys are pressed on the system keyboard. |
| public interface | 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. |
| public interface | MenuListener
Classes which implement this interface provide methods that deal with the hiding and showing of menus. |
| public interface | ModifyListener
Classes which implement this interface provide a method that deals with the events that are generated when text is modified. |
| public interface | MouseListener
Classes which implement this interface provide methods that deal with the events that are generated as mouse buttons are pressed. |
| public interface | MouseMoveListener
Classes which implement this interface provide a method that deals with the events that are generated as the mouse pointer moves. |
| public interface | 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. |
| public interface | MouseWheelListener
Classes which implement this interface provide a method that deals with the event that is generated as the mouse wheel is scrolled. |
| public interface | PaintListener
Classes which implement this interface provide methods that deal with the events that are generated when the control needs to be painted. |
| public interface | SegmentListener
This listener interface may be implemented in order to receive SegmentEvents. |
| public interface | SelectionListener
Classes which implement this interface provide methods that deal with the events that are generated when selection occurs in a control. |
| public interface | ShellListener
Classes which implement this interface provide methods
that deal with changes in state of |
| public interface | 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. |
| public interface | 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. |
| public interface | TreeListener
Classes which implement this interface provide methods that deal with the expanding and collapsing of tree branches. |
| public interface | VerifyListener
Classes which implement this interface provide a method that deals with the events that are generated when text is about to be modified. |
| Modifier and Type | Class and Description |
|---|---|
| public class | ArmEvent
Instances of this class are sent as a result of a widget such as a menu item being armed. |
| public abstract class | ControlAdapter
This adapter class provides default implementations for the
methods described by the |
| public class | ControlEvent
Instances of this class are sent as a result of controls being moved or resized. |
| public class | DisposeEvent
Instances of this class are sent as a result of widgets being disposed. |
| public class | DragDetectEvent
Instances of this class are sent as a result of a drag gesture. |
| public abstract class | ExpandAdapter
This adapter class provides default implementations for the
methods described by the |
| public class | ExpandEvent
Instances of this class are sent as a result of
|
| public abstract class | FocusAdapter
This adapter class provides default implementations for the
methods described by the |
| public class | FocusEvent
Instances of this class are sent as a result of widgets gaining and losing focus. |
| public class | GestureEvent
Instances of this class are sent in response to touch-based gestures that are triggered by the user. |
| public class | HelpEvent
Instances of this class are sent as a result of help being requested for a widget. |
| public abstract class | KeyAdapter
This adapter class provides default implementations for the
methods described by the |
| public class | KeyEvent
Instances of this class are sent as a result of keys being pressed and released on the keyboard. |
| public abstract class | MenuAdapter
This adapter class provides default implementations for the
methods described by the |
| public class | MenuDetectEvent
Instances of this class are sent whenever the platform- specific trigger for showing a context menu is detected. |
| public class | MenuEvent
Instances of this class are sent as a result of menus being shown and hidden. |
| public class | ModifyEvent
Instances of this class are sent as a result of text being modified. |
| public abstract class | MouseAdapter
This adapter class provides default implementations for the
methods described by the |
| public class | MouseEvent
Instances of this class are sent whenever mouse related actions occur. |
| public abstract class | MouseTrackAdapter
This adapter class provides default implementations for the
methods described by the |
| public class | PaintEvent
Instances of this class are sent as a result of visible areas of controls requiring re-painting. |
| public class | SegmentEvent
This event is sent to SegmentListeners when a text content is to be modified. |
| public abstract class | SelectionAdapter
This adapter class provides default implementations for the
methods described by the |
| public class | SelectionEvent
Instances of this class are sent as a result of widgets being selected. |
| public abstract class | ShellAdapter
This adapter class provides default implementations for the
methods described by the |
| public class | ShellEvent
Instances of this class are sent as a result of operations being performed on shells. |
| public class | TouchEvent
Instances of this class are sent in response to a touch-based input source being touched. |
| public class | TraverseEvent
Instances of this class are sent as a result of widget traversal actions. |
| public abstract class | TreeAdapter
This adapter class provides default implementations for the
methods described by the |
| public class | TreeEvent
Instances of this class are sent as a result of trees being expanded and collapsed. |
| public class | TypedEvent
This is the super class for all typed event classes provided by SWT. |
| public class | VerifyEvent
Instances of this class are sent as a result of widgets handling keyboard events |