@DomEvent(value="submit") public static class MessageInput.SubmitEvent extends ComponentEvent<MessageInput>
submit
event which is fired by MessageInput
component.source
Constructor and Description |
---|
SubmitEvent(MessageInput source,
boolean fromClient,
String value)
Creates the event.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Gets the submitted value.
|
getSource, isFromClient, unregisterListener
toString
public SubmitEvent(MessageInput source, boolean fromClient, @EventData(value="event.detail.value") String value)
source
- the source componentfromClient
- true if the event comes from the clientvalue
- the value of the inputpublic String getValue()
Copyright © 2021. All rights reserved.