java.awt.event
Interface WindowFocusListener
java.lang.Object
|
+--java.util.EventListener
|
+--java.awt.event.WindowFocusListener
All Implemented Interfaces:
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:- Eric Blake <ebb9@email.byu.edu>
See Also:
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: