com.vaadin.flow.server.

Class UIInitEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.server.UIInitEvent

All Implemented Interfaces:

Serializable

public class UIInitEvent extends EventObject

Event fired to UIInitListener when a UI has been initialized.

Since:

1.0

See Also:

  • Constructor Details

    • UIInitEvent

      public UIInitEvent(UI ui, VaadinService service)

      Constructs a prototypical Event.

      Parameters:

      service - the service from which the event originates

      ui - the initialized UI

  • Method Details

    • getSource

      public VaadinService getSource()

      Overrides:

      getSource in class EventObject

    • getUI

      public UI getUI()

      Get the initialized UI for this initialization event.

      Returns:

      initialized UI