Class UIEvents.PollEvent

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing interface:
    UIEvents

    public static class UIEvents.PollEvent
    extends Component.Event
    An event that is fired whenever a client polls the server for asynchronous UI updates.
    Since:
    7.2
    Author:
    Vaadin Ltd
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      PollEvent​(UI ui)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      UI getUI()
      Get the UI instance that received the poll request.
      • 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

      • PollEvent

        public PollEvent​(UI ui)
    • Method Detail

      • getUI

        public UI getUI()
        Get the UI instance that received the poll request.
        Returns:
        the UI that received the poll request. Never null.