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 TypeInterfaceDescriptioninterface
ComponentEventListener<T extends ComponentEvent<?>>
Generic listener for component events.Subclasses of ComponentEvent in com.vaadin.flow.componentModifier and TypeClassDescriptionstatic class
AbstractField.ComponentValueChangeEvent<C extends Component,
V> Value change event fired by components.class
Event fired after aComponent
is attached to the UI.static class
BlurNotifier.BlurEvent<C extends Component>
Represents the DOM event "blur".class
ClickEvent<C extends Component>
Event fired when a component is clicked.class
The event when a composition is ended.class
The event when a composition is started.class
The event when a composition is updated.class
Event fired before aComponent
is detached from the UI.static class
FocusNotifier.FocusEvent<C extends Component>
Represents the DOM event "focus".class
Event fired when the component has received any type of input (e.g.class
The event when a key is pressed.class
The event when a key is pressed.class
The event when a key is released.class
An event that is fired whenever a client polls the server for asynchronous UI updates.static class
static class
static class
Event 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 void
Component.fireEvent
(ComponentEvent<?> componentEvent) Dispatches the event to all listeners registered for the event type.void
ComponentEventBus.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 boolean
Component.hasListener
(Class<? extends ComponentEvent> eventType) Checks if there is at least one listener registered for the given event type for this component.boolean
ComponentEventBus.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.accordion
Subclasses of ComponentEvent in com.vaadin.flow.component.accordionModifier and TypeClassDescriptionstatic class
An event fired when an Accordion is opened or closed. -
Uses of ComponentEvent in com.vaadin.flow.component.charts.events
Subclasses of ComponentEvent in com.vaadin.flow.component.charts.eventsModifier and TypeClassDescriptionclass
The ChartAddSeriesEvent class stores data about new series added to an existing chart.class
Fired after a chart is printed using the print menuclass
Fired before a chart is printed using the print menuclass
The ChartClickEvent class stores information on click events anywhere on the area of the chart.class
ChartDrillupEvent triggered after all the series has been drilled up if chart has multiple drilldown seriesclass
ChartDrillupEvent triggered when the 'Back to previous series' button is clickedclass
Fired after a chart is loadedclass
Fired after a chart is redrawnclass
The ChartSelectionEvent class stores information on selection events on the chart's area.class
The DrilldownEvent class stores information on click events in drilldown pointsclass
The PointClickEvent class stores data for click events on the points of the chart.class
Fired while dragging a point.class
Fired when starting to drag a point.class
Fired when the point is dropped.class
The PointLegendItemClickEvent class stores information on click events on the charts's legend items that correspond to a chart point.class
Fired when the mouse exits the neighborhood of a pointclass
Fired when the mouse pointer moves within the neighborhood of a pointclass
The PointRemoveEvent class stores data for remove events on the points of the chartclass
The PointSelectEvent class stores data for select events on the points of the chart.class
The PointUnselectEvent class stores data for unselect events on the points of the chart.class
The PointUpdateEvent class stores data for update events on the points of the chartclass
Fired after a chart series is animatedclass
SeriesCheckboxClickEvent triggered when a checkbox in a legend is clickedclass
The SeriesClickEvent class stores data for click events on the series of the chart.class
Fired when a series is hiddenclass
The SeriesLegendItemClickEvent class stores information on click events on the charts's legend items that correspond to a chart series.class
Fired when the mouse exits the neighborhood of a seriesclass
Fired when the mouse moves within the neighborhood of a seriesclass
Fired when a series is shownclass
The XAxesExtremesSetEvent class stores data for set extremes events on the x axes of the chart.class
The YAxesExtremesSetEvent class stores data for set extremes events on the y axes of the chart. -
Uses of ComponentEvent in com.vaadin.flow.component.combobox
Subclasses of ComponentEvent in com.vaadin.flow.component.comboboxModifier and TypeClassDescriptionstatic class
ComboBoxBase.CustomValueSetEvent<TComponent extends ComboBoxBase<TComponent,
?, ?>> Event that is dispatched from a combo box component, if the component allows setting custom values, and the user has entered a non-empty value that does not match any of the existing items -
Uses of ComponentEvent in com.vaadin.flow.component.confirmdialog
Subclasses of ComponentEvent in com.vaadin.flow.component.confirmdialogModifier and TypeClassDescriptionstatic class
`cancel` is sent when the user clicks Cancel button or presses Escape key.static class
`confirm` is sent when the user clicks Confirm buttonstatic class
`reject` is sent when the user clicks Reject button -
Uses of ComponentEvent in com.vaadin.flow.component.crud
Subclasses of ComponentEvent in com.vaadin.flow.component.crudModifier and TypeClassDescriptionstatic class
Event fired when the user cancels the creation of a new item or modifications to an existing item.static class
Event fired when the user tries to delete an existing item.static class
Event fired when the user starts to edit an existing item.static class
Event fired when the user starts to create a new item.static class
Event fired when the user tries to save a new item or modifications to an existing item.class
Event fired to a crud grid when the internationalization object is changed. -
Uses of ComponentEvent in com.vaadin.flow.component.dashboard
Subclasses of ComponentEvent in com.vaadin.flow.component.dashboardModifier and TypeClassDescriptionclass
Fired when an item was moved.class
Fired when an item enters or exits move mode.class
Fired when an item was removed.class
Fired when a widget was resized.class
Fired when an item enters or exits resize mode.class
Fired when an item was selected. -
Uses of ComponentEvent in com.vaadin.flow.component.datepicker
Subclasses of ComponentEvent in com.vaadin.flow.component.datepickerModifier and TypeClassDescriptionstatic class
invalid-changed
event is sent when the invalid state changes.static class
opened-changed
event is sent when the overlay opened state changes. -
Uses of ComponentEvent in com.vaadin.flow.component.details
Subclasses of ComponentEvent in com.vaadin.flow.component.details -
Uses of ComponentEvent in com.vaadin.flow.component.dialog
Subclasses of ComponentEvent in com.vaadin.flow.component.dialogModifier and TypeClassDescriptionstatic class
`vaadin-dialog-close-action` is sent when the user clicks outside the overlay or presses the escape key.static class
`dragged` event is sent when the user finishes dragging the overlay.static class
`resize` event is sent when the user finishes resizing the overlay.static class
opened-changed
event is sent when the overlay opened state changes. -
Uses of ComponentEvent in com.vaadin.flow.component.dnd
Subclasses of ComponentEvent in com.vaadin.flow.component.dndModifier and TypeClassDescriptionclass
DragEndEvent<T extends Component>
HTML5 drag end event, fired when the user stops dragging a drag source either by dropping on top of a valid drop target or by canceling to drop.class
DragStartEvent<T extends Component>
HTML5 drag start event, fired when the user starts dragging a drag source.class
Server side drop event. -
Uses of ComponentEvent in com.vaadin.flow.component.grid
Subclasses of ComponentEvent in com.vaadin.flow.component.gridModifier and TypeClassDescriptionclass
Event fired when a cell in the Grid is focused.class
Event fired when the user toggles the selection state of an item on the client-side.class
Event fired when the columns in the Grid are reordered.class
Event fired when a Grid column is resized by the user.class
Event fired when a Grid item is clicked.class
Event fired when a Grid item is double clicked. -
Uses of ComponentEvent in com.vaadin.flow.component.grid.dnd
Subclasses of ComponentEvent in com.vaadin.flow.component.grid.dnd -
Uses of ComponentEvent in com.vaadin.flow.component.gridpro
Subclasses of ComponentEvent in com.vaadin.flow.component.gridproModifier and TypeClassDescriptionstatic class
Event fired when the user starts to edit an existing item.static class
Event fired when the user has edited an existing item. -
Uses of ComponentEvent in com.vaadin.flow.component.html
Subclasses of ComponentEvent in com.vaadin.flow.component.htmlModifier and TypeClassDescriptionstatic class
Represents the DOM event "toggle". -
Uses of ComponentEvent in com.vaadin.flow.component.internal
Subclasses of ComponentEvent in com.vaadin.flow.component.internalModifier and TypeClassDescriptionclass
Internal helper forAttachEvent
andDetachEvent
.class
Abstract class for composition events.class
Abstract 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.login
Subclasses of ComponentEvent in com.vaadin.flow.component.loginModifier and TypeClassDescriptionstatic class
`forgot-password` is fired when the user clicks Forgot password buttonstatic class
`login` is fired when the user either clicks Submit button or presses an Enter key. -
Uses of ComponentEvent in com.vaadin.flow.component.map.events
Subclasses of ComponentEvent in com.vaadin.flow.component.map.eventsModifier and TypeClassDescriptionclass
Representing OpenLayers' @code{click} eventclass
Provides data for click events on geographic featuresclass
Provides data for when a feature is dropped after a drag operationclass
Fired when viewport movement has ended. -
Uses of ComponentEvent in com.vaadin.flow.component.messages
Subclasses of ComponentEvent in com.vaadin.flow.component.messagesModifier and TypeClassDescriptionstatic class
Thesubmit
event which is fired byMessageInput
component. -
Uses of ComponentEvent in com.vaadin.flow.component.notification
Subclasses of ComponentEvent in com.vaadin.flow.component.notificationModifier and TypeClassDescriptionstatic class
opened-changed
event is sent when the notification opened state changes. -
Uses of ComponentEvent in com.vaadin.flow.component.popover
Subclasses of ComponentEvent in com.vaadin.flow.component.popoverModifier and TypeClassDescriptionstatic class
opened-changed
event is sent when the overlay opened state changes. -
Uses of ComponentEvent in com.vaadin.flow.component.select
Subclasses of ComponentEvent in com.vaadin.flow.component.selectModifier and TypeClassDescriptionstatic class
invalid-changed
event is sent when the invalid state changes.static class
opened-changed
event is sent when the overlay opened state changes. -
Uses of ComponentEvent in com.vaadin.flow.component.splitlayout
Subclasses of ComponentEvent in com.vaadin.flow.component.splitlayout -
Uses of ComponentEvent in com.vaadin.flow.component.tabs
Subclasses of ComponentEvent in com.vaadin.flow.component.tabsModifier and TypeClassDescriptionstatic class
An event to mark that the selected tab has changed.static class
An event to mark that the selected tab has changed. -
Uses of ComponentEvent in com.vaadin.flow.component.timepicker
Subclasses of ComponentEvent in com.vaadin.flow.component.timepickerModifier and TypeClassDescriptionstatic class
invalid-changed
event is sent when the invalid state changes. -
Uses of ComponentEvent in com.vaadin.flow.component.treegrid
Subclasses of ComponentEvent in com.vaadin.flow.component.treegridModifier and TypeClassDescriptionclass
CollapseEvent<T,
C extends Component> class
ExpandEvent<T,
C extends Component> -
Uses of ComponentEvent in com.vaadin.flow.component.upload
Subclasses of ComponentEvent in com.vaadin.flow.component.uploadModifier and TypeClassDescriptionclass
AllFinishedEvent is sent when the upload has processed all the files in its upload queue, regardless of whether all the receptions were successful or not.class
FailedEvent event is sent when the upload is received, but the reception is interrupted for some reason.class
Sent when the file selected for upload doesn't meet the constraints specified onUpload
class
Sent when a file selected for upload is removed.class
FinishedEvent is sent when the upload receives a file, regardless of whether the reception was successful or failed.class
FailedEvent that indicates that an input stream could not be obtained.class
FailedEvent that indicates that an output stream could not be obtained.class
ProgressUpdateEvent is sent to track progress of upload.class
StartedEvent event is sent when the upload is started to received.class
SucceededEvent event is sent when the upload is received successfully. -
Uses of ComponentEvent in com.vaadin.flow.component.webcomponent
Subclasses of ComponentEvent in com.vaadin.flow.component.webcomponentModifier and TypeClassDescriptionstatic class
Event used for sending the activation event for an exported web component from the client to the server. -
Uses of ComponentEvent in com.vaadin.flow.data.event
Subclasses of ComponentEvent in com.vaadin.flow.data.event -
Uses of ComponentEvent in com.vaadin.flow.data.provider
Subclasses of ComponentEvent in com.vaadin.flow.data.providerModifier and TypeClassDescriptionclass
IdentifierProviderChangeEvent<T,
C extends Component> Event notifying the component that its identifier provider has been changed through a data view.class
ItemCountChangeEvent<T extends Component>
Event describing the item count change for a component. -
Uses of ComponentEvent in com.vaadin.flow.data.selection
Subclasses of ComponentEvent in com.vaadin.flow.data.selectionModifier and TypeClassDescriptionclass
MultiSelectionEvent<C extends Component,
T> Fired when the selection changes in a listing component that supports multiple item selection.class
SingleSelectionEvent<C extends Component,
T> Fired when the selection changes in a listing component.