Class AiMessageInput.StopEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<AiMessageInput>
io.jmix.aichat.component.messageinput.AiMessageInput.StopEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
AiMessageInput
@DomEvent("stop")
public static class AiMessageInput.StopEvent
extends com.vaadin.flow.component.ComponentEvent<AiMessageInput>
The
stop event, fired when the user clicks the button while the
input is in the generating state (see AiMessageInput.setGenerating(boolean)).
The application is expected to cancel the in-flight generation.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, getUI, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
StopEvent
Creates the event.- Parameters:
source- the source componentfromClient- true if the event comes from the client
-