Uses of Class
org.eclipse.swt.events.KeyEvent
-
Packages that use KeyEvent Package Description org.eclipse.swt.events org.eclipse.swt.widgets -
-
Uses of KeyEvent in org.eclipse.swt.events
Subclasses of KeyEvent in org.eclipse.swt.events Modifier and Type Class Description class
TraverseEvent
Instances of this class are sent as a result of widget traversal actions.class
VerifyEvent
Instances of this class are sent as a result of widgets handling keyboard eventsMethods in org.eclipse.swt.events with parameters of type KeyEvent Modifier and Type Method Description void
KeyAdapter. keyPressed(KeyEvent e)
Sent when a key is pressed on the system keyboard.void
KeyListener. keyPressed(KeyEvent e)
Sent when a key is pressed on the system keyboard.void
KeyAdapter. keyReleased(KeyEvent e)
Sent when a key is released on the system keyboard.void
KeyListener. keyReleased(KeyEvent e)
Sent when a key is released on the system keyboard.Method parameters in org.eclipse.swt.events with type arguments of type KeyEvent Modifier and Type Method Description static KeyListener
KeyListener. keyPressedAdapter(java.util.function.Consumer<KeyEvent> c)
Static helper method to create aKeyListener
for theKeyListener.keyPressed(KeyEvent e)
) method with a lambda expression.static KeyListener
KeyListener. keyReleasedAdapter(java.util.function.Consumer<KeyEvent> c)
Static helper method to create aKeyListener
for theKeyListener.keyReleased(KeyEvent e)
) method with a lambda expression. -
Uses of KeyEvent in org.eclipse.swt.widgets
Methods in org.eclipse.swt.widgets with parameters of type KeyEvent Modifier and Type Method Description boolean
Control. traverse(int traversal, KeyEvent event)
Performs a platform traversal action corresponding to aKeyDown
event.
-