Class UIFuture

java.lang.Object
org.vaadin.firitin.components.button.UIFuture

public class UIFuture extends Object
This helper class is used to execute long-running actions and provide an easy way to run updates once the action is finished.

The helper takes care of enabling polling if push is not enabled and synchronizes the UI updates with the UI thread. If the manual push mode is used, the server push is triggered automatically after UI updates are done.

NOTE! This class is still in early development and likely to get some changes still in the future. Suggestions/contributions are more than welcome!