com.vaadin.flow.component.

Class 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:

  • Field Details

  • Constructor Details

    • 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 UI

      fromClient - true if the event originated from the client side, false otherwise