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 Details

    • user

      protected final USER user
  • Constructor Details

    • UserChangedEvent

      public UserChangedEvent(JmixUserMenu<USER> source, @Nullable USER user, boolean fromClient)
      Creates a new user changed event.
      Parameters:
      source - the source component
      fromClient - true if the event originated from the client side, false otherwise
  • Method Details

    • getUser

      @Nullable public USER getUser()
      Returns the user associated with the event.
      Returns:
      the user associated with the event, or null if no user is associated