public interface ComponentKeyEventListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
keyDown(java.lang.Object sender,
ComponentKeyEvent e)
Raised when a key is pressed while the component has input focus.
|
void |
keyPressed(java.lang.Object sender,
ComponentKeyEvent e)
Raised when a key is pressed while the component has input focus.
|
void |
keyUp(java.lang.Object sender,
ComponentKeyEvent e)
Raised when a key is released while the component has input focus.
|
void keyPressed(java.lang.Object sender, ComponentKeyEvent e)
sender
- The component that raises the event.e
- An object providing information about the event.void keyDown(java.lang.Object sender, ComponentKeyEvent e)
sender
- The component that raises the event.e
- An object providing information about the event.void keyUp(java.lang.Object sender, ComponentKeyEvent e)
sender
- The component that raises the event.e
- An object providing information about the event.