Interface AbstractApplication.ExitListener

    • Method Detail

      • canExit

        boolean canExit​(EventObject event)
        The method is called before the Application exits.
        Parameters:
        event - the EventObject object. It will be the the value passed to exit().
        Returns:
        true if application can proceed with shutdown process; false if there are pending decisions that the user must make before the app exits.
      • willExit

        void willExit​(EventObject event)
        The method is called after the exit has been confirmed.
        Parameters:
        event - the EventObject object. It will be the the value passed to exit().