# Uses of Interface
org.eclipse.swt.events.KeyListener

Packages that use KeyListener
Package
Description
org.eclipse.jface.contentassist
Provides a content assist add-on for implementors of `IContentAssistSubjectControl`.
org.eclipse.jface.text
Provides a framework for creating and manipulating text documents.
org.eclipse.jface.text.contentassist
Provides a content assist add-on for an `ITextViewer`.
org.eclipse.jface.text.hyperlink
Provides support for detecting and displaying hyperlinks in `ISourceViewer`s.
org.eclipse.jface.text.source
Provides a framework for connecting document regions with annotations and for displaying those.
org.eclipse.swt.events
SWT typed listener support.
org.eclipse.swt.widgets
SWT widget public API classes.

## Uses of KeyListener in org.eclipse.jface.contentassist

Methods in org.eclipse.jface.contentassist with parameters of type KeyListener
Modifier and Type
Method
Description
`void`
AbstractControlContentAssistSubjectAdapter.`addKeyListener(KeyListener keyListener)`
Deprecated.
`void`
IContentAssistSubjectControl.`addKeyListener(KeyListener keyListener)`
Adds the listener to the collection of listeners who will be notified when keys are pressed and released on the system keyboard, by sending it one of the messages defined in the `KeyListener` interface.
`void`
AbstractControlContentAssistSubjectAdapter.`removeKeyListener(KeyListener keyListener)`
Deprecated.
`void`
IContentAssistSubjectControl.`removeKeyListener(KeyListener keyListener)`
Removes the listener from the collection of listeners who will be notified when keys are pressed and released on the system keyboard.

## Uses of KeyListener in org.eclipse.jface.text

Classes in org.eclipse.jface.text that implement KeyListener
Modifier and Type
Class
Description
`final class`
`PaintManager`
Manages the `IPainter` object registered with an `ITextViewer`.

## Uses of KeyListener in org.eclipse.jface.text.contentassist

Classes in org.eclipse.jface.text.contentassist that implement KeyListener
Modifier and Type
Class
Description
`protected class`
`ContentAssistant.AutoAssistListener`
An implementation of `IContentAssistListener`, this class is used to monitor key events in support of automatic activation of the content assistant.

## Uses of KeyListener in org.eclipse.jface.text.hyperlink

Classes in org.eclipse.jface.text.hyperlink that implement KeyListener
Modifier and Type
Class
Description
`class`
`HyperlinkManager`
Default implementation of a hyperlink manager.

## Uses of KeyListener in org.eclipse.jface.text.source

Classes in org.eclipse.jface.text.source that implement KeyListener
Modifier and Type
Class
Description
`protected class`
`AnnotationBarHoverManager.Closer`
Deprecated.
As of 3.4, no longer used as closer from super class is used

## Uses of KeyListener in org.eclipse.swt.events

Classes in org.eclipse.swt.events that implement KeyListener
Modifier and Type
Class
Description
`class`
`KeyAdapter`
This adapter class provides default implementations for the methods described by the `KeyListener` interface.
Methods in org.eclipse.swt.events that return KeyListener
Modifier and Type
Method
Description
`static KeyListener`
KeyListener.`keyPressedAdapter(Consumer<KeyEvent> c)`
Static helper method to create a `KeyListener` for the `keyPressed(KeyEvent e)`) method with a lambda expression.
`static KeyListener`
KeyListener.`keyReleasedAdapter(Consumer<KeyEvent> c)`
Static helper method to create a `KeyListener` for the `keyReleased(KeyEvent e)`) method with a lambda expression.

## Uses of KeyListener in org.eclipse.swt.widgets

Methods in org.eclipse.swt.widgets with parameters of type KeyListener
Modifier and Type
Method
Description
`void`
Control.`addKeyListener(KeyListener listener)`
Adds the listener to the collection of listeners who will be notified when keys are pressed and released on the system keyboard, by sending it one of the messages defined in the `KeyListener` interface.
`void`
Tracker.`addKeyListener(KeyListener listener)`
Adds the listener to the collection of listeners who will be notified when keys are pressed and released on the system keyboard, by sending it one of the messages defined in the `KeyListener` interface.
`void`
Control.`removeKeyListener(KeyListener listener)`
Removes the listener from the collection of listeners who will be notified when keys are pressed and released on the system keyboard.
`void`
Tracker.`removeKeyListener(KeyListener listener)`
Removes the listener from the collection of listeners who will be notified when keys are pressed and released on the system keyboard.