|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.events.FocusAdapter
public abstract class FocusAdapter
This adapter class provides default implementations for the
methods described by the 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
,
Sample code and further informationConstructor Summary | |
---|---|
FocusAdapter()
|
Method Summary | |
---|---|
void |
focusGained(FocusEvent e)
Sent when a control gets focus. |
void |
focusLost(FocusEvent e)
Sent when a control loses focus. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FocusAdapter()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |