FocusAdapter

Name

FocusAdapter

[Graphic: Figure from the text]

Description

The FocusAdapter class implements the methods of FocusListener with empty functions. It may be easier for you to extend FocusAdapter, overriding only those methods you are interested in, than to implement FocusListener and provide the empty functions yourself.

Class Definition

public abstract class java.awt.event.FocusAdapter extends java.lang.Object implements java.awt.event.FocusListener {
 // Instance Methods public void focusGained (FocusEvent e);
public void focusLost (FocusEvent e);
}

Instance Methods

focusGained

public void focusGained (FocusEvent e)

focusLost

public void focusLost (FocusEvent e)

See Also

FocusEvent, FocusListener