Class JmixUserMenu.UserChangedEvent<USER>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<JmixUserMenu<USER>>
io.jmix.flowui.kit.component.usermenu.JmixUserMenu.UserChangedEvent<USER>
- Type Parameters:
USER- the type of the user associated with the menu
- All Implemented Interfaces:
Serializable
- Enclosing class:
- JmixUserMenu<USER>
public static class JmixUserMenu.UserChangedEvent<USER>
extends com.vaadin.flow.component.ComponentEvent<JmixUserMenu<USER>>
Represents an event that is triggered when the user associated with the
JmixUserMenu component changes.- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionUserChangedEvent(JmixUserMenu<USER> source, USER user, boolean fromClient) Creates a new user changed event. -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Field Details
-
user
-
-
Constructor Details
-
Method Details
-
getUser
Returns the user associated with the event.- Returns:
- the user associated with the event, or
nullif no user is associated
-