Class SheetStateListener.Adapter

    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • previewSheetClose

        public Vote previewSheetClose​(Sheet sheet,
                                      boolean result)
        Deprecated.
        Description copied from interface: SheetStateListener
        Called to preview a sheet close event.
        Specified by:
        previewSheetClose in interface SheetStateListener
        Parameters:
        sheet - The source of the event.
        result - The proposed result of the close.
        Returns:
        What this listener wants to decide about this proposed close.
      • sheetCloseVetoed

        public void sheetCloseVetoed​(Sheet sheet,
                                     Vote reason)
        Deprecated.
        Description copied from interface: SheetStateListener
        Called when a sheet close event has been vetoed.
        Specified by:
        sheetCloseVetoed in interface SheetStateListener
        Parameters:
        sheet - The close event source.
        reason - The accumulated vote that resulted in the veto.