FocusListener interface.
Classes that wish to deal with FocusEvents can
extend this class and override only the methods which they are
interested in.
FocusListener, FocusEvent, Sample code and further information
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | focusGained(FocusEvent
an event containing information about the focus change e)Implements org. |
| public void | focusLost(FocusEvent
an event containing information about the focus change e)Implements org. |
| FocusAdapter | back to summary |
|---|---|
| public FocusAdapter() | |
| focusGained | back to summary |
|---|---|
| public void focusGained(FocusEvent e) Implements org. Sent when a control gets focus. The default behavior is to do nothing.
| |
| focusLost | back to summary |
|---|---|
| public void focusLost(FocusEvent e) Implements org. Sent when a control loses focus. The default behavior is to do nothing.
| |