Uses of Class
com.vaadin.flow.component.ComponentEvent
Packages that use ComponentEvent
Package
Description
-
Uses of ComponentEvent in com.vaadin.flow.component
Classes in com.vaadin.flow.component with type parameters of type ComponentEventModifier and TypeInterfaceDescriptioninterfaceComponentEventListener<T extends ComponentEvent<?>>Generic listener for component events.Subclasses of ComponentEvent in com.vaadin.flow.componentModifier and TypeClassDescriptionstatic classAbstractField.ComponentValueChangeEvent<C extends Component,V> Value change event fired by components.classEvent fired after aComponentis attached to the UI.static classBlurNotifier.BlurEvent<C extends Component>Represents the DOM event "blur".classClickEvent<C extends Component>Event fired when a component is clicked.classThe event when a composition is ended.classThe event when a composition is started.classThe event when a composition is updated.classEvent fired before aComponentis detached from the UI.static classFocusNotifier.FocusEvent<C extends Component>Represents the DOM event "focus".classEvent fired when the component has received any type of input (e.g. click, key press).classThe event when a key is pressed.classThe event when a key is pressed.classThe event when a key is released.classAn event that is fired whenever a client polls the server for asynchronous UI updates.static classstatic classstatic classEvent fired by the client to request a refresh of the user interface, by re-navigating to the current route.Methods in com.vaadin.flow.component with type parameters of type ComponentEventModifier and TypeMethodDescriptionprotected <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.static <T extends ComponentEvent<?>>
Constructor<T>ComponentEventBusUtil.getEventConstructor(Class<T> eventType) Gets the constructor to use for firing a component event, of the given type, based on a DOM event.static <T extends ComponentEvent<?>>
booleanComponentUtil.hasEventListener(Component component, Class<? extends T> eventType) Check if the component has at least one registered listener of the given event type.Methods in com.vaadin.flow.component with parameters of type ComponentEventModifier and TypeMethodDescriptionprotected voidComponent.fireEvent(ComponentEvent<?> componentEvent) Dispatches the event to all listeners registered for the event type.voidComponentEventBus.fireEvent(ComponentEvent event) Dispatches the event to all listeners registered for the event type.static <T extends Component>
voidComponentUtil.fireEvent(T component, ComponentEvent<? extends T> componentEvent) Dispatches the event to all listeners registered for the event type.Method parameters in com.vaadin.flow.component with type arguments of type ComponentEventModifier and TypeMethodDescriptionstatic LinkedHashMap<String,Class<?>> ComponentEventBusUtil.getEventDataExpressions(Class<? extends ComponentEvent<?>> eventType) Gets a map of event data expression (forDomListenerRegistration.addEventData(String)) to Java type, with the same order as the parameters for the event constructor (as returned byComponentEventBusUtil.getEventConstructor(Class)).protected Collection<?>Component.getListeners(Class<? extends ComponentEvent> eventType) Returns all listeners that match or extend the given event type.Collection<?>ComponentEventBus.getListeners(Class<? extends ComponentEvent> eventType) Returns all listeners that match or extend the given event type.static Collection<?>ComponentUtil.getListeners(Component component, Class<? extends ComponentEvent> eventType) Returns all listeners that match or extend the given event type.protected booleanComponent.hasListener(Class<? extends ComponentEvent> eventType) Checks if there is at least one listener registered for the given event type for this component.booleanComponentEventBus.hasListener(Class<? extends ComponentEvent> eventType) Checks if there is at least one listener registered for the given event type. -
Uses of ComponentEvent in com.vaadin.flow.component.internal
Subclasses of ComponentEvent in com.vaadin.flow.component.internalModifier and TypeClassDescriptionclassInternal helper forAttachEventandDetachEvent.classAbstract class for composition events.classAbstract class for keyboard events.Methods in com.vaadin.flow.component.internal with type parameters of type ComponentEventModifier and TypeMethodDescription<T extends ComponentEvent<?>>
Optional<Constructor<T>>EventDataCache.getEventConstructor(Class<T> eventType) Gets the cached DOM event constructor for the given event type.<T extends ComponentEvent<?>>
Constructor<T>EventDataCache.setEventConstructor(Class<T> eventType, Constructor<T> constructor) Stores the given DOM event constructor for the given event type in the cache.Method parameters in com.vaadin.flow.component.internal with type arguments of type ComponentEventModifier and TypeMethodDescriptionOptional<LinkedHashMap<String,Class<?>>> EventDataCache.getDataExpressions(Class<? extends ComponentEvent<?>> eventType) Gets the cached data expressions for the given event type.LinkedHashMap<String,Class<?>> EventDataCache.setDataExpressions(Class<? extends ComponentEvent<?>> eventType, LinkedHashMap<String, Class<?>> expressions) Stores the given data expressions for the given event type in the cache. -
Uses of ComponentEvent in com.vaadin.flow.component.webcomponent
Subclasses of ComponentEvent in com.vaadin.flow.component.webcomponentModifier and TypeClassDescriptionstatic classEvent used for sending the activation event for an exported web component from the client to the server. -
Uses of ComponentEvent in com.vaadin.flow.internal.streams
Subclasses of ComponentEvent in com.vaadin.flow.internal.streamsModifier and TypeClassDescriptionclassEvent notifying the upload component that the upload has been completed.classEvent notifying the upload component that the upload has been started.