public abstract class FocusAdapter extends java.lang.Object implements FocusListener
FocusListener
interface.
Classes that wish to deal with FocusEvent
s can
extend this class and override only the methods which they are
interested in.
Constructor and Description |
---|
FocusAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
focusGained(FocusEvent e)
Sent when a control gets focus.
|
void |
focusLost(FocusEvent e)
Sent when a control loses focus.
|
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
e
- an event containing information about the focus changepublic void focusLost(FocusEvent e)
focusLost
in interface FocusListener
e
- an event containing information about the focus change