Objects that implement the FocusListener interface can receive FocusEvent objects. Listeners must first register themselves with objects that produce events. When events occur, they are then automatically propagated to all registered listeners.
public abstract interface java.awt.event.FocusListener extends java.util.EventListener { // Instance Methods public abstract void focusGained (FocusEvent e); public abstract void focusLost (FocusEvent e); }
The component event that occurred.
Notifies the FocusListener that a component gained the input focus.
The component event that occurred.
Notifies the FocusListener that a component lost the input focus.
AWTEventMulticaster, EventListener, FocusAdapter, FocusEvent
This HTML Help has been published using the chm2web software. |