Uses of Interface
org.eclipse.swt.events.KeyListener
-
Packages that use KeyListener Package Description org.eclipse.swt.events org.eclipse.swt.widgets -
-
Uses of KeyListener in org.eclipse.swt.events
Classes in org.eclipse.swt.events that implement KeyListener Modifier and Type Class Description classKeyAdapterThis adapter class provides default implementations for the methods described by theKeyListenerinterface.Methods in org.eclipse.swt.events that return KeyListener Modifier and Type Method Description static KeyListenerKeyListener. keyPressedAdapter(java.util.function.Consumer<KeyEvent> c)Static helper method to create aKeyListenerfor thekeyPressed(KeyEvent e)) method with a lambda expression.static KeyListenerKeyListener. keyReleasedAdapter(java.util.function.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 KeyListener Modifier and Type Method Description voidControl. 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.voidTracker. 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.voidTracker. 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.
-