Packages
 In this topic

*Methods

 

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

 


Interface IUIFocusListener

public interface IUIFocusListener extends IUIBaseEventListener
{
  // Methods
  public void focusGained(UIFocusEvent e);
  public void focusLost(UIFocusEvent e);
}

This listener interface defines methods that determine when an IUIComponent receives or loses keyboard focus.

EventListener
  |
  +--IUIBaseEventListener
    |
    +--IUIFocusListener

Methods

focusGained

public void focusGained(UIFocusEvent e);

Invoked when an IUIComponent gains the keyboard focus.

Return Value:

No return value.

ParameterDescription
e The FOCUS_GAINED event that was posted.

focusLost

public void focusLost(UIFocusEvent e);

Invoked when an IUIComponent loses the keyboard focus.

Return Value:

No return value.

ParameterDescription
e The FOCUS_LOST event that was posted.

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