Packages
 In this topic

*Methods

 

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

 


Class UIKeyAdapter

public abstract class UIKeyAdapter implements IUIKeyListener
{
  // Methods
  public void keyPressed(UIKeyEvent e);
  public void keyReleased(UIKeyEvent e);
  public void keyTyped(UIKeyEvent e);
}

This class is the listener adapter class for receiving keyboard events.

Methods

keyPressed

public void keyPressed(UIKeyEvent e);

Invoked when a key is pressed.

Return Value:

No return value.

ParameterDescription
e The KEY_PRESSED key event.

keyReleased

public void keyReleased(UIKeyEvent e);

Invoked when a key is released.

Return Value:

No return value.

ParameterDescription
e The KEY_RELEASED key event.

keyTyped

public void keyTyped(UIKeyEvent e);

Invoked when a key is typed. This event occurs when a key press is followed by a key release.

Return Value:

No return value.

ParameterDescription
e The KEY_TYPED key event.

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