com.vaadin.event.
Interface FieldEvents.FocusNotifier
-
All Superinterfaces:
All Known Implementing Classes:
AbstractDateField
,AbstractFocusable
,AbstractLocalDateField
,AbstractLocalDateTimeField
,AbstractTextField
,Accordion
,Button
,CheckBox
,CheckBoxGroup
,ColorPickerPopup
,ComboBox
,DateField
,DateTimeField
,InlineDateField
,InlineDateTimeField
,NativeButton
,NativeSelect
,PasswordField
,RadioButtonGroup
,TabSheet
,TextArea
,TextField
,Window
Enclosing interface:
public static interface FieldEvents.FocusNotifier extends Serializable
The interface for adding and removing
FocusEvent
listeners. By implementing this interface a class explicitly announces that it will generate aFocusEvent
when it receives keyboard focus.Since:
6.2
See Also:
-
-
Method Summary
All Methods Modifier and Type Method Description Registration
addFocusListener​(FieldEvents.FocusListener listener)
Adds a
FocusListener
to the Component which gets fired when aField
receives keyboard focus.
-
-
-
Method Detail
-
addFocusListener
Registration addFocusListener​(FieldEvents.FocusListener listener)
Adds a
FocusListener
to the Component which gets fired when aField
receives keyboard focus.Parameters:
listener
- the focus listener to add, not nullReturns:
a registration object for removing the listener
Since:
8.0
See Also:
-
-