|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FocusListener
This interface is for classes that wish to be notified of changes of keyboard focus for a component. To watch a subset of these events, use a FocusAdapter.
FocusAdapter
,
FocusEvent
Method Summary | |
---|---|
void |
focusGained(FocusEvent event)
This method is called when a component gains the keyboard focus. |
void |
focusLost(FocusEvent event)
This method is invoked when a component loses the keyboard focus. |
Method Detail |
---|
void focusGained(FocusEvent event)
event
- the FocusEvent
indicating that focus was gainedvoid focusLost(FocusEvent event)
event
- the FocusEvent
indicating that focus was lost
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |