public class ComponentKeyEventAdapter extends java.lang.Object implements ComponentKeyEventListener
Constructor and Description |
---|
ComponentKeyEventAdapter() |
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.
|
public void keyPressed(java.lang.Object sender, ComponentKeyEvent e)
keyPressed
in interface ComponentKeyEventListener
sender
- The component that raises the event.e
- An object providing information about the event.public void keyDown(java.lang.Object sender, ComponentKeyEvent e)
keyDown
in interface ComponentKeyEventListener
sender
- The component that raises the event.e
- An object providing information about the event.public void keyUp(java.lang.Object sender, ComponentKeyEvent e)
keyUp
in interface ComponentKeyEventListener
sender
- The component that raises the event.e
- An object providing information about the event.