Interface IUIKeyListener
public interface IUIKeyListener extends IUIBaseEventListener
{
// Methods
public void keyPressed(UIKeyEvent e);
public void keyReleased(UIKeyEvent e);
public void keyTyped(UIKeyEvent e);
}
This listener interface receives keyboard events.
EventListener
|
+--IUIBaseEventListener
|
+--IUIKeyListener
public void keyPressed(UIKeyEvent e);
Invoked when a key has been pressed.
Return Value:
No return value.
Parameter | Description |
e
| The KEY_PRESSED event that was posted.
|
public void keyReleased(UIKeyEvent e);
Invoked when a key has been released.
Return Value:
No return value.
Parameter | Description |
e
| The KEY_RELEASED event that was posted.
|
public void keyTyped(UIKeyEvent e);
Invoked when a key has been typed. This event occurs when a key press is followed by a key release.
Return Value:
No return value.
Parameter | Description |
e
| The KEY_TYPED event that was posted.
|