Package com.vaadin.flow.component
Interface FocusNotifier<T extends Component>
- Type Parameters:
T- the type of the component returned at theComponentEvent.getSource()
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Focusable<T>
- All Known Implementing Classes:
AbstractNumberField,Anchor,BigDecimalField,Button,Checkbox,CollaborationMessageInput,ComboBox,ComboBoxBase,CrudGrid,CustomField,DatePicker,DateTimePicker,DrawerToggle,EmailField,Grid,GridPro,HtmlObject,Input,IntegerField,MessageInput,MultiSelectComboBox,NativeButton,NumberField,PasswordField,RangeInput,RouterLink,Scroller,Select,TextArea,TextField,TextFieldBase,TimePicker,TreeGrid,VirtualList
Mixin interface to handle focus events on components.
- Since:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFocusNotifier.FocusEvent<C extends Component>Represents the DOM event "focus". -
Method Summary
-
Method Details
-
addFocusListener
Add a listener to focus DOM events.- Parameters:
listener- the focus listener- Returns:
- a registration that can be used to unregister the listener
- See Also:
-