We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.
Class PollEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<UI>
-
- com.vaadin.flow.component.PollEvent
-
All Implemented Interfaces:
@DomEvent("ui-poll") public class PollEvent extends ComponentEvent<UI>
An event that is fired whenever a client polls the server for asynchronous UI updates.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
-
Field Summary
Fields Modifier and Type Field Description static String
DOM_EVENT_NAME
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Field Detail
-
DOM_EVENT_NAME
public static final String DOM_EVENT_NAME
See Also:
-
-
Constructor Detail
-
PollEvent
public PollEvent​(UI ui, boolean fromClient)
Creates a new event using the given source and indicator whether the event originated from the client side or the server side.
Parameters:
ui
- the source UIfromClient
-true
if the event originated from the client side,false
otherwise
-
-