Package adams.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
approvePageClosing(MultiPagePane source, int index)
Method gets called when having to approve a close operation of multiple pages.
-
-
-
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 operationindex
- the page that is to be closed
-
-