Package com.vaadin.featurepack.event
Interface FieldEvents.BlurNotifier
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
FAbstractTextField
- All Known Implementing Classes:
FCheckBox,FComboBox,FDateField,FGrid,FPasswordField,FTabSheet,FTextArea,FTextField
- Enclosing class:
FieldEvents
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.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddBlurListener(FieldEvents.BlurListener listener) Adds aBlurListenerto the Component which gets fired when aFieldloses keyboard focus.default voidremoveBlurListener(FieldEvents.BlurListener listener) Removes aBlurListenerfrom the Component.
-
Method Details
-
addBlurListener
Adds aBlurListenerto the Component which gets fired when aFieldloses keyboard focus.- Parameters:
listener- BlurListener- See Also:
-
removeBlurListener
Removes aBlurListenerfrom the Component.- Parameters:
listener- BlurListener- See Also:
-