Class DialogStateListener.Adapter

    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • previewDialogClose

        public Vote previewDialogClose​(Dialog dialog,
                                       boolean result)
        Deprecated.
        Description copied from interface: DialogStateListener
        Called to preview a dialog close event.
        Specified by:
        previewDialogClose in interface DialogStateListener
        Parameters:
        dialog - The dialog that is requesting to close.
        result - The result flag (true means "OK", while false roughly means "Cancel").
        Returns:
        The consensus vote as to whether or not to allow the close to occur.
      • dialogCloseVetoed

        public void dialogCloseVetoed​(Dialog dialog,
                                      Vote reason)
        Deprecated.
        Description copied from interface: DialogStateListener
        Called when a dialog close event has been vetoed.
        Specified by:
        dialogCloseVetoed in interface DialogStateListener
        Parameters:
        dialog - The dialog that is not going to close because of this veto.
        reason - The vote result that indicates the veto.