Package 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:
Serializable
@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:
- Serialized Form
-
-
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:
- Constant Field Values
-
-
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
-
-