com.vaadin.flow.component.
Interface FocusNotifier<T extends Component>
-
Type Parameters:
T
- the type of the component returned at theComponentEvent.getSource()
All Superinterfaces:
All Known Subinterfaces:
Focusable<T>
All Known Implementing Classes:
Button, Checkbox, ComboBox, CrudGrid, DatePicker, GeneratedVaadinButton, GeneratedVaadinCheckbox, GeneratedVaadinComboBox, GeneratedVaadinDatePicker, GeneratedVaadinPasswordField, GeneratedVaadinRadioButton, GeneratedVaadinTextArea, GeneratedVaadinTextField, Grid, Input, IronList, NativeButton, PasswordField, TextArea, TextField, TreeGrid
public interface FocusNotifier<T extends Component> extends Serializable
Mixin interface to handle focus events on components.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static class
FocusNotifier.FocusEvent<C extends Component>
Class that represents the DOM event "focus".
-
Method Summary
All Methods Modifier and Type Method and Description default Registration
addFocusListener(ComponentEventListener<FocusNotifier.FocusEvent<T>> listener)
Add a listener to focus DOM events.
-
-
-
Method Detail
-
addFocusListener
default Registration addFocusListener(ComponentEventListener<FocusNotifier.FocusEvent<T>> listener)
Add a listener to focus DOM events.
Parameters:
listener
- the focus listenerReturns:
a registration that can be used to unregister the listener
See Also:
-
-