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.
FocusListener
,
FocusEvent
Constructor and Description |
---|
FocusAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
focusGained(FocusEvent event)
Sent when a control gets focus.
|
void |
focusLost(FocusEvent event)
Sent when a control loses focus.
|
public void focusGained(FocusEvent event)
focusGained
in interface FocusListener
event
- an event containing information about the focus changepublic void focusLost(FocusEvent event)
focusLost
in interface FocusListener
event
- an event containing information about the focus change
Copyright (c) EclipseSource and others 2002, 2017.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0