Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt.event

Interface WindowFocusListener

java.lang.Object
|
+--java.util.EventListener
   |
   +--java.awt.event.WindowFocusListener

All Implemented Interfaces:

EventListener


public interface WindowFocusListener

implements EventListener

This interface is for classes that wish to monitor events for window focus changes. To watch a subset of these events, use a WindowAdapter.

Since:Author:See Also:

Method Summary

voidwindowGainedFocus(java.awt.event.WindowEvent event)

This method is called when a window gains focus.
voidwindowLostFocus(java.awt.event.WindowEvent event)

This method is called when a window loses focus.

Method Details

windowGainedFocus

public void windowGainedFocus(java.awt.event.WindowEvent event)

This method is called when a window gains focus.

Parameters:


windowLostFocus

public void windowLostFocus(java.awt.event.WindowEvent event)

This method is called when a window loses focus.

Parameters: