Package com.vaadin.server
Class UIProviderEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.server.UIProviderEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UIClassSelectionEvent,UICreateEvent
public class UIProviderEvent extends EventObject
Base class for the events that are sent to various methods in UIProvider.- Since:
- 7.0.0
- Author:
- Vaadin Ltd
- See Also:
UIProvider, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description UIProviderEvent(VaadinRequest request)Creates a new UI provider event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VaadinRequestgetRequest()Gets the request associated with this event.VaadinServicegetService()Gets the Vaadin service from which the event originates.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
UIProviderEvent
public UIProviderEvent(VaadinRequest request)
Creates a new UI provider event.- Parameters:
request- the request for which the event is UI provider is invoked
-
-
Method Detail
-
getService
public VaadinService getService()
Gets the Vaadin service from which the event originates.- Returns:
- the Vaadin service
-
getRequest
public VaadinRequest getRequest()
Gets the request associated with this event.- Returns:
- the Vaadin request
-
-