com.vaadin.ui.

Interface UI.DelayedCallback

  • All Superinterfaces:

    Serializable

    Enclosing class:

    UI

    public static interface UI.DelayedCallback
    extends Serializable

    An interface for the callback in UI.runAfterRoundTrip(DelayedCallback).

    Usage examples:

    ui.runAfterRoundTrip(() -> textField.focus())

    ui.runAfterRoundTrip(() -> action when successful, () -> action when cancelled)

    Since:

    8.18

    • Method Summary

      All Methods
      Modifier and Type Method Description
      void perform()  
    • Method Detail

      • perform

        void perform()