Package nz.ac.waikato.cms.gui.core
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 Summary
Modifier and TypeMethodDescriptionbooleanapprovePageClosing(MultiPagePane source, int index) Method gets called when having to approve a close operation of multiple pages.
-
Method Details
-
approvePageClosing
Method gets called when having to approve a close operation of multiple pages.- Parameters:
source- the origin of the closing operationindex- the page that is to be closed
-