Class UIProviderEvent

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    UIClassSelectionEvent, UICreateEvent

    public class UIProviderEvent
    extends java.util.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VaadinRequest getRequest()
      Gets the request associated with this event.
      VaadinService getService()
      Gets the Vaadin service from which the event originates.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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