Interface MultiPagePane.PageCloseApprover

  • Enclosing class:
    MultiPagePane

    public static interface MultiPagePane.PageCloseApprover
    Interface for classes that can hook into the closing of pages and stop it.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • approvePageClosing

        boolean approvePageClosing​(MultiPagePane source,
                                   int index)
        Method gets called when having to approve a close operation of multiple pages.
        Parameters:
        source - the origin of the closing operation
        index - the page that is to be closed