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>
Thesubmit
event which is fired byMessageInput
component.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description SubmitEvent(MessageInput source, boolean fromClient, String value)
Creates the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
Gets the submitted value.-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
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 Detail
-
getValue
public String getValue()
Gets the submitted value.- Returns:
- the submitted value
-
-