Uses of Interface
com.vaadin.flow.component.ComponentEventListener
Packages that use ComponentEventListener
-
Uses of ComponentEventListener in com.vaadin.flow.component
Classes in com.vaadin.flow.component that implement ComponentEventListenerModifier and TypeClassDescriptionclassKeyEventListener<E extends KeyboardEvent>A conditional event listener forKeyboardEvents.Methods in com.vaadin.flow.component with parameters of type ComponentEventListenerModifier and TypeMethodDescriptiondefault RegistrationAttachNotifier.addAttachListener(ComponentEventListener<AttachEvent> listener) Adds a attach listener to this component.default RegistrationBlurNotifier.addBlurListener(ComponentEventListener<BlurNotifier.BlurEvent<T>> listener) Add a listener to blur DOM events.default RegistrationClickNotifier.addClickListener(ComponentEventListener<ClickEvent<T>> listener) Adds a click listener to this component.default RegistrationCompositionNotifier.addCompositionEndListener(ComponentEventListener<CompositionEndEvent> listener) Adds acompositionendlistener to this component.default RegistrationCompositionNotifier.addCompositionStartListener(ComponentEventListener<CompositionStartEvent> listener) Adds acompositionstartlistener to this component.default RegistrationCompositionNotifier.addCompositionUpdateListener(ComponentEventListener<CompositionUpdateEvent> listener) Adds acompositionupdatelistener to this component.default RegistrationDetachNotifier.addDetachListener(ComponentEventListener<DetachEvent> listener) Adds a detach listener to this component.default RegistrationClickNotifier.addDoubleClickListener(ComponentEventListener<ClickEvent<T>> listener) Adds a double click listener to this component.default RegistrationFocusNotifier.addFocusListener(ComponentEventListener<FocusNotifier.FocusEvent<T>> listener) Add a listener to focus DOM events.default RegistrationInputNotifier.addInputListener(ComponentEventListener<InputEvent> listener) Adds an input listener to this component.default RegistrationKeyNotifier.addKeyDownListener(ComponentEventListener<KeyDownEvent> listener) Adds akeydownlistener to this component.default RegistrationKeyNotifier.addKeyDownListener(Key key, ComponentEventListener<KeyDownEvent> listener, KeyModifier... modifiers) Adds akeydownlistener to this component, which will trigger only if the keys involved in the event match thekeyandmodifiersparameters.default RegistrationKeyNotifier.addKeyPressListener(ComponentEventListener<KeyPressEvent> listener) Adds akeypresslistener to this component.default RegistrationKeyNotifier.addKeyPressListener(Key key, ComponentEventListener<KeyPressEvent> listener, KeyModifier... modifiers) Adds akeypresslistener to this component, which will trigger only if the keys involved in the event match thekeyandmodifiersparameters.default RegistrationKeyNotifier.addKeyUpListener(ComponentEventListener<KeyUpEvent> listener) Adds akeyuplistener to this component.default RegistrationKeyNotifier.addKeyUpListener(Key key, ComponentEventListener<KeyUpEvent> listener, KeyModifier... modifiers) Adds akeyuplistener to this component, which will trigger only if the keys involved in the event match thekeyandmodifiersparameters.protected <T extends ComponentEvent<?>>
RegistrationComponent.addListener(Class<T> eventType, ComponentEventListener<T> listener) Adds a listener for an event of the given type.<T extends ComponentEvent<?>>
RegistrationComponentEventBus.addListener(Class<T> eventType, ComponentEventListener<T> listener) Adds a listener for the given event type.<T extends ComponentEvent<?>>
RegistrationComponentEventBus.addListener(Class<T> eventType, ComponentEventListener<T> listener, Consumer<DomListenerRegistration> domListenerConsumer) Adds a listener for the given event type, and customizes the corresponding DOM event listener with the given consumer.static <T extends ComponentEvent<?>>
RegistrationComponentUtil.addListener(Component component, Class<T> eventType, ComponentEventListener<T> listener) Adds a listener for an event of the given type to thecomponent.static <T extends ComponentEvent<?>>
RegistrationComponentUtil.addListener(Component component, Class<T> eventType, ComponentEventListener<T> listener, Consumer<DomListenerRegistration> domListenerConsumer) Adds a listener for an event of the given type to thecomponent, and customizes the corresponding DOM event listener with the given consumer.default RegistrationPollNotifier.addPollListener(ComponentEventListener<PollEvent> listener) Add a poll listener.default RegistrationClickNotifier.addSingleClickListener(ComponentEventListener<ClickEvent<T>> listener) Adds a single click listener to this component.Constructors in com.vaadin.flow.component with parameters of type ComponentEventListenerModifierConstructorDescriptionKeyEventListener(ComponentEventListener<E> listener, Key key, KeyModifier... modifiers) Create a listener which will delegate tolisteneronly ifkeyis the target key.