public abstract class FocusAdapter extends 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.
FocusListener
,
FocusEvent
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 changeGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.