Uses of Interface
org.eclipse.swt.events.KeyListener
Packages that use KeyListener
-
Uses of KeyListener in org.eclipse.swt.events
Methods in org.eclipse.swt.events that return KeyListenerModifier and TypeMethodDescriptionstatic KeyListenerKeyListener.keyPressedAdapter(Consumer<KeyEvent> c) Static helper method to create aKeyListenerfor thekeyPressed(KeyEvent e)) method with a lambda expression.static KeyListenerKeyListener.keyReleasedAdapter(Consumer<KeyEvent> c) Static helper method to create aKeyListenerfor thekeyReleased(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 TypeMethodDescriptionvoidControl.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 theKeyListenerinterface.voidControl.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.