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.messages.
Class MessageInput.SubmitEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<MessageInput>
com.vaadin.flow.component.messages.MessageInput.SubmitEvent
All Implemented Interfaces:
Enclosing class:
@DomEvent("submit")
public static class MessageInput.SubmitEvent
extends ComponentEvent<MessageInput>
The submit
event which is fired by MessageInput
component.
See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionSubmitEvent
(MessageInput source, boolean fromClient, String value) Creates the event.
-
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SubmitEvent
public SubmitEvent(MessageInput source, boolean fromClient, @EventData("event.detail.value") String value) Creates the event.
Parameters:
source
- the source componentfromClient
- true if the event comes from the clientvalue
- the value of the input
-
-
Method Details
-
getValue
Gets the submitted value.
Returns:
the submitted value
-