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:
  • Constructor Details

    • SubmitEvent

      public SubmitEvent(MessageInput source, boolean fromClient, @EventData("event.detail.value") String value)
      Creates the event.
      Parameters:
      source - the source component
      fromClient - true if the event comes from the client
      value - the value of the input
  • Method Details

    • getValue

      public String getValue()
      Gets the submitted value.
      Returns:
      the submitted value