Package 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 toUIInitListener
when aUI
has been initialized.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description UIInitEvent(UI ui, VaadinService service)
Constructs a prototypical Event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VaadinService
getSource()
UI
getUI()
Get the initialized UI for this initialization event.-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
UIInitEvent
public UIInitEvent(UI ui, VaadinService service)
Constructs a prototypical Event.- Parameters:
service
- the service from which the event originatesui
- the initialized UI
-
-
Method Detail
-
getSource
public VaadinService getSource()
- Overrides:
getSource
in classEventObject
-
getUI
public UI getUI()
Get the initialized UI for this initialization event.- Returns:
- initialized UI
-
-