|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.event.FocusAdapter
public abstract class FocusAdapter
This class implements FocusListener and implements all
methods with empty bodies. This allows a listener interested in
implementing only a subset of the FocusListener interface to
extend this class and override only the desired methods.
FocusEvent,
FocusListener| Constructor Summary | |
|---|---|
FocusAdapter()
Do nothing default constructor for subclasses. |
|
| Method Summary | |
|---|---|
void |
focusGained(FocusEvent event)
Implements this method from the interface with an empty body. |
void |
focusLost(FocusEvent event)
Implements this method from the interface with an empty body. |
| 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 event)
focusGained in interface FocusListenerevent - the event, ignored in this implementationpublic void focusLost(FocusEvent event)
focusLost in interface FocusListenerevent - the event, ignored in this implementation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||