com.vaadin.event.
Interface FieldEvents.BlurNotifier
-
All Superinterfaces:
All Known Implementing Classes:
AbstractFocusable, AbstractTextField, Accordion, Button, ColorPickerPopup, ComboBox, DateField, Grid, InlineDateField, NativeButton, NativeSelect, OptionGroup, PasswordField, PopupDateField, Select, TabSheet, TextArea, TextField, Window
Enclosing interface:
public static interface FieldEvents.BlurNotifier extends Serializable
The interface for adding and removing
BlurEvent
listeners. By implementing this interface a class explicitly announces that it will generate aBlurEvent
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
andremoveListener
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.Since:
6.2
See Also:
-
-
Method Summary
All Methods Modifier and Type Method and Description void
addBlurListener(FieldEvents.BlurListener listener)
Adds a
BlurListener
to the Component which gets fired when aField
loses keyboard focus.void
addListener(FieldEvents.BlurListener listener)
Deprecated.
As of 7.0, replaced by#addBlurListener(BlurListener)
void
removeBlurListener(FieldEvents.BlurListener listener)
Removes a
BlurListener
from the Component.void
removeListener(FieldEvents.BlurListener listener)
Deprecated.
As of 7.0, replaced by#removeBlurListener(BlurListener)
-
-
-
Method Detail
-
addBlurListener
void addBlurListener(FieldEvents.BlurListener listener)
Adds a
BlurListener
to the Component which gets fired when aField
loses keyboard focus.Parameters:
listener
-Since:
6.2
See Also:
-
addListener
@Deprecated void addListener(FieldEvents.BlurListener listener)
Deprecated. As of 7.0, replaced by
#addBlurListener(BlurListener)
-
removeBlurListener
void removeBlurListener(FieldEvents.BlurListener listener)
Removes a
BlurListener
from the Component.Parameters:
listener
-Since:
6.2
See Also:
-
removeListener
@Deprecated void removeListener(FieldEvents.BlurListener listener)
Deprecated. As of 7.0, replaced by
#removeBlurListener(BlurListener)
-
-