Uses of Interface
org.eclipse.swt.events.KeyListener
Packages that use KeyListener
-
Uses of KeyListener in org.eclipse.swt.events
Classes in org.eclipse.swt.events that implement KeyListenerModifier and TypeClassDescriptionclass
This adapter class provides default implementations for the methods described by theKeyListener
interface.Methods in org.eclipse.swt.events that return KeyListenerModifier and TypeMethodDescriptionstatic KeyListener
KeyListener.keyPressedAdapter
(Consumer<KeyEvent> c) Static helper method to create aKeyListener
for theKeyListener.keyPressed(KeyEvent e)
) method with a lambda expression.static KeyListener
KeyListener.keyReleasedAdapter
(Consumer<KeyEvent> c) Static helper method to create aKeyListener
for theKeyListener.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 KeyListenerModifier and TypeMethodDescriptionvoid
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 theKeyListener
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 theKeyListener
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.