Class ChatAssistant.ModeChangedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<ChatAssistant<?>>
com.flowingcode.vaadin.addons.chatassistant.ChatAssistant.ModeChangedEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ChatAssistant<T extends Message>
Event fired when the chat assistant switches between mobile and desktop mode.
- Since:
- 5.1.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedModeChangedEvent(ChatAssistant<?> source, boolean fromClient, ChatAssistantMode mode) -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ModeChangedEvent
-
-
Method Details
-
getMode
Returns the mode the component switched to.
-