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:
Serializable
- Enclosing class:
- MessageInput
@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
ConstructorDescriptionSubmitEvent
(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
-