com.holonplatform.vaadin.components

## Interface Dialog.QuestionCallback

- All Superinterfaces:
    Dialog.CloseListener
  Enclosing interface:
    Dialog
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public static interface Dialog.QuestionCallback
      extends Dialog.CloseListener

  `Dialog.CloseListener` extension which acts as callback for a question dialog to react to the user's response.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `dialogClosed(Dialog dialog, Object actionId)` Invoked when the `Dialog` is closed
    `void` | `questionResponse(boolean answeredYes)` Invoked when the question dialog is closed as a result of a user action.

- - ### Method Detail

    - #### dialogClosed

          default void dialogClosed(Dialog dialog,
                                    Object actionId)

      Description copied from interface: `Dialog.CloseListener`
      Invoked when the `Dialog` is closed
      Specified by:
        `dialogClosed` in interface `Dialog.CloseListener`
      Parameters:
        `dialog` - the dialog which was closed
        `actionId` - Optional id of the action which caused the dialog closure

    - #### questionResponse

          void questionResponse(boolean answeredYes)

      Invoked when the question dialog is closed as a result of a user action.
      Parameters:
        `answeredYes` - `true` if the user selected the yes action, `false` otherwise

Copyright © 2017 The Holon Platform. All rights reserved.