java.awt.event
Interface FocusListener
java.lang.Object
|
+--java.util.EventListener
|
+--java.awt.event.FocusListener
All Implemented Interfaces:
EventListener
This interface is for classes that wish to be notified of changes of
keyboard focus for a component. To watch a subset of these events, use a
FocusAdapter.
Since:Author:- Aaron M. Renn <arenn@urbanophile.com>
See Also:
focusGained
public void focusGained(java.awt.event.FocusEvent event)
This method is called when a component gains the keyboard focus.
Parameters:
focusLost
public void focusLost(java.awt.event.FocusEvent event)
This method is invoked when a component loses the keyboard focus.
Parameters: