We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.
Class CompositionUpdateEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<Component>
-
- com.vaadin.flow.component.internal.CompositionEvent
-
- com.vaadin.flow.component.CompositionUpdateEvent
-
All Implemented Interfaces:
@DomEvent(value="compositionupdate") public class CompositionUpdateEvent extends CompositionEvent
The event when a composition is updated.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor and Description CompositionUpdateEvent(Component source)
Creates a new server-side composition event with no additional information.
CompositionUpdateEvent(Component source, boolean fromClient, String data, String locale)
Creates a new composition event.
-
Method Summary
-
Methods inherited from class com.vaadin.flow.component.internal.CompositionEvent
getData, getLocale
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
CompositionUpdateEvent
public CompositionUpdateEvent(Component source, boolean fromClient, @EventData(value="event.data") String data, @EventData(value="event.locale") String locale)
Creates a new composition event.
Parameters:
source
- the component that fired the eventfromClient
-true
if the event was originally fired on the client,false
if the event originates from server-side logicdata
- the string being composedlocale
- language code for the composition event, if available; otherwise, the empty string
-
CompositionUpdateEvent
public CompositionUpdateEvent(Component source)
Creates a new server-side composition event with no additional information.
Parameters:
source
- the component that fired the event
-
-