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:
AbstractNumberField
,Anchor
,BigDecimalField
,Button
,Checkbox
,ComboBox
,CrudGrid
,CustomField
,DatePicker
,DateTimePicker
,DrawerToggle
,EmailField
,GeneratedVaadinButton
,GeneratedVaadinCheckbox
,GeneratedVaadinComboBox
,GeneratedVaadinDatePicker
,GeneratedVaadinEmailField
,GeneratedVaadinNumberField
,GeneratedVaadinPasswordField
,GeneratedVaadinRadioButton
,GeneratedVaadinSelect
,GeneratedVaadinTextArea
,GeneratedVaadinTextField
,GeneratedVaadinTimePicker
,Grid
,GridPro
,HtmlObject
,Input
,IntegerField
,IronList
,NativeButton
,NumberField
,PasswordField
,RouterLink
,Select
,Spreadsheet
,TextArea
,TextField
,TimePicker
,TreeGrid
,VirtualList
public interface FocusNotifier<T extends Component> extends Serializable
Mixin interface to handle focus events on components.
Since:
1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FocusNotifier.FocusEvent<C extends Component>
Represents the DOM event "focus".
-
Method Summary
All Methods Modifier and Type Method 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:
-
-