Interface SuggestionPopupStateListener

    • Method Detail

      • previewSuggestionPopupClose

        default Vote previewSuggestionPopupClose​(SuggestionPopup suggestionPopup,
                                                 boolean result)
        Called to preview a suggestion popup close event.
        Parameters:
        suggestionPopup - The source of this event.
        result - What the result would be.
        Returns:
        What this listener thinks about closing the popup with this result.
      • suggestionPopupCloseVetoed

        default void suggestionPopupCloseVetoed​(SuggestionPopup suggestionPopup,
                                                Vote reason)
        Called when a suggestion popup close event has been vetoed.
        Parameters:
        suggestionPopup - The source of this event.
        reason - The accumulated vote that forced the veto.