Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.ui.event   Previous This
Package
Next

 


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

Methods

keyPressed

public void keyPressed(UIKeyEvent e);

Invoked when a key has been pressed.

Return Value:

No return value.

ParameterDescription
e The KEY_PRESSED event that was posted.

keyReleased

public void keyReleased(UIKeyEvent e);

Invoked when a key has been released.

Return Value:

No return value.

ParameterDescription
e The KEY_RELEASED event that was posted.

keyTyped

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.

ParameterDescription
e The KEY_TYPED event that was posted.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.