java.awt.event

Class FocusAdapter

public abstract class FocusAdapter extends Object implements FocusListener

This class implements FocusListener and implements all methods with empty bodies. This allows a listener interested in implementing only a subset of the FocusListener interface to extend this class and override only the desired methods.

Since: 1.1

See Also: FocusEvent FocusListener

UNKNOWN: updated to 1.4

Constructor Summary
FocusAdapter()
Do nothing default constructor for subclasses.
Method Summary
voidfocusGained(FocusEvent event)
Implements this method from the interface with an empty body.
voidfocusLost(FocusEvent event)
Implements this method from the interface with an empty body.

Constructor Detail

FocusAdapter

public FocusAdapter()
Do nothing default constructor for subclasses.

Method Detail

focusGained

public void focusGained(FocusEvent event)
Implements this method from the interface with an empty body.

Parameters: event the event, ignored in this implementation

focusLost

public void focusLost(FocusEvent event)
Implements this method from the interface with an empty body.

Parameters: event the event, ignored in this implementation