Package com.vaadin.flow.component
Class CompositionStartEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Component>
com.vaadin.flow.component.internal.CompositionEvent
com.vaadin.flow.component.CompositionStartEvent
- All Implemented Interfaces:
Serializable
The event when a composition is started.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCompositionStartEvent(Component source) Creates a new server-side composition event with no additional information.CompositionStartEvent(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, getLocaleMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
CompositionStartEvent
public CompositionStartEvent(Component source, boolean fromClient, @EventData("event.data") String data, @EventData("event.locale") String locale) Creates a new composition event.- Parameters:
source- the component that fired the eventfromClient-trueif the event was originally fired on the client,falseif the event originates from server-side logicdata- the string being composedlocale- language code for the composition event, if available; otherwise, the empty string
-
CompositionStartEvent
Creates a new server-side composition event with no additional information.- Parameters:
source- the component that fired the event
-