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

Class FocusAdapter

java.lang.Object
|
+--java.awt.event.FocusAdapter

All Implemented Interfaces:

FocusListener


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:Author:See Also:

Constructor Summary

FocusAdapter()

Do nothing default constructor for subclasses.

Method Summary

voidfocusGained(java.awt.event.FocusEvent event)

Implements this method from the interface with an empty body.
voidfocusLost(java.awt.event.FocusEvent event)

Implements this method from the interface with an empty body.

Constructor Details

FocusAdapter

public FocusAdapter()

Do nothing default constructor for subclasses.


Method Details

focusGained

public void focusGained(java.awt.event.FocusEvent event)

Implements this method from the interface with an empty body.

Parameters:


focusLost

public void focusLost(java.awt.event.FocusEvent event)

Implements this method from the interface with an empty body.

Parameters: