C - Event source.public class ComponentClickEvent<C extends com.vaadin.flow.component.Component & Clickable>
extends com.vaadin.flow.component.ComponentEvent<C>
ClickEvent, but that one is fired automatically by the framework. This event must be explicitly fired by the source component.source| Constructor and Description |
|---|
ComponentClickEvent(C source,
com.vaadin.flow.component.ClickEvent<C> originalEvent)
Creates a new event using the given source and indicator whether the
event originated from the client side or the server side.
|
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.component.ClickEvent<C> |
getDetails()
Returns the underlying
ClickEvent. |
getSource, isFromClient, unregisterListenertoStringpublic ComponentClickEvent(C source, com.vaadin.flow.component.ClickEvent<C> originalEvent)
source - the source componentoriginalEvent - Original click event with even more details. Can be null.public com.vaadin.flow.component.ClickEvent<C> getDetails()
ClickEvent.ClickEvent. May be null if this event is not associated with any underlying event.Copyright © 2023 Miki. All rights reserved.