|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface FieldEvents.BlurNotifier
The interface for adding and removing BlurEvent
listeners.
By implementing this interface a class explicitly announces that it will
generate a BlurEvent
when it loses keyboard focus.
Note: The general Java convention is not to explicitly declare that a
class generates events, but to directly define the
addListener
and removeListener
methods. That
way the caller of these methods has no real way of finding out if the
class really will send the events, or if it just defines the methods to
be able to implement an interface.
FieldEvents.BlurListener
,
FieldEvents.BlurEvent
Method Summary | |
---|---|
void |
addListener(FieldEvents.BlurListener listener)
Adds a BlurListener to the Component which gets fired
when a Field loses keyboard focus. |
void |
removeListener(FieldEvents.BlurListener listener)
Removes a BlurListener from the Component. |
Method Detail |
---|
void addListener(FieldEvents.BlurListener listener)
BlurListener
to the Component which gets fired
when a Field
loses keyboard focus.
listener
- FieldEvents.BlurListener
void removeListener(FieldEvents.BlurListener listener)
BlurListener
from the Component.
listener
- FieldEvents.BlurListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |